Pagini recente » Borderou de evaluare (job #2454235) | Borderou de evaluare (job #599036) | Borderou de evaluare (job #1445711) | Borderou de evaluare (job #312225) | Borderou de evaluare (job #1270302)
Borderou de evaluare (job #1270302)
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 | 308kb | Incorect! | 0 |
✓ | 2 | 0ms | 288kb | Incorect! | 0 |
✓ | 3 | 0ms | 304kb | Incorect! | 0 |
✓ | 4 | 0ms | 348kb | Incorect! | 0 |
✓ | 5 | 4ms | 1444kb | Incorect! | 0 |
✓ | 6 | 4ms | 1840kb | Incorect! | 0 |
✓ | 7 | 8ms | 2232kb | Incorect! | 0 |
✓ | 8 | 36ms | 4192kb | Incorect! | 0 |
✓ | 9 | 32ms | 4188kb | Incorect! | 0 |
✓ | 10 | 36ms | 4192kb | Incorect! | 0 |
Punctaj total | 0 |