Pagini recente » Borderou de evaluare (job #375132) | Borderou de evaluare (job #2489489) | Borderou de evaluare (job #1169266) | Borderou de evaluare (job #2471311) | Borderou de evaluare (job #1271054)
Borderou de evaluare (job #1271054)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",s-1);
^
user.cpp:10:32: 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:11:34: 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:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);stiv[n]=val;st=n;sf=n;record=1;a[1]=0;
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 276kb | Corect! | 10 |
✓ | 2 | 0ms | 272kb | Corect! Numarul de operatii nu este minim! | 5 |
✓ | 3 | 0ms | 268kb | Incorect! | 0 |
✓ | 4 | 0ms | 268kb | Incorect! | 0 |
✓ | 5 | 0ms | 280kb | Incorect! | 0 |
✓ | 6 | 0ms | 284kb | Incorect! | 0 |
✓ | 7 | 4ms | 280kb | Incorect! | 0 |
✓ | 8 | 24ms | 292kb | Incorect! | 0 |
✓ | 9 | 20ms | 296kb | Incorect! | 0 |
✓ | 10 | 16ms | 292kb | Incorect! | 0 |
Punctaj total | 15 |