Pagini recente » Borderou de evaluare (job #2072510) | Borderou de evaluare (job #514103) | Borderou de evaluare (job #1916170) | Borderou de evaluare (job #1475551) | Borderou de evaluare (job #1271276)
Borderou de evaluare (job #1271276)
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 | 268kb | Incorect! | 0 |
✓ | 2 | 0ms | 272kb | Incorect! | 0 |
✓ | 3 | 0ms | 276kb | Incorect! | 0 |
✓ | 4 | 0ms | 272kb | Incorect! | 0 |
✓ | 5 | 0ms | 276kb | Incorect! | 0 |
✓ | 6 | 0ms | 280kb | Incorect! | 0 |
✓ | 7 | 4ms | 284kb | Incorect! | 0 |
✓ | 8 | 20ms | 292kb | Incorect! | 0 |
✓ | 9 | 16ms | 292kb | Incorect! | 0 |
✓ | 10 | 16ms | 296kb | Incorect! | 0 |
Punctaj total | 0 |