Pagini recente » Borderou de evaluare (job #1865117) | Borderou de evaluare (job #310276) | Borderou de evaluare (job #2727477) | Borderou de evaluare (job #1445243) | Borderou de evaluare (job #1270426)
Borderou de evaluare (job #1270426)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(sp[pos]!=p[i])
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tdeque.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tdeque.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;++i) scanf("%d",&p[i]),sp[i]=i;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 300kb | Incorect! | 0 |
✓ | 2 | 0ms | 292kb | Incorect! | 0 |
✓ | 3 | 0ms | 308kb | Incorect! | 0 |
✓ | 4 | 0ms | 344kb | Incorect! | 0 |
✓ | 5 | 4ms | 1448kb | Incorect! | 0 |
✓ | 6 | 4ms | 1836kb | Incorect! | 0 |
✓ | 7 | 8ms | 2236kb | Incorect! | 0 |
✓ | 8 | 32ms | 4196kb | Incorect! | 0 |
✓ | 9 | 32ms | 4188kb | Incorect! | 0 |
✓ | 10 | 32ms | 4196kb | Incorect! | 0 |
Punctaj total | 0 |