Pagini recente » Borderou de evaluare (job #1222328) | Borderou de evaluare (job #3164672) | Borderou de evaluare (job #2602571) | Borderou de evaluare (job #1757065) | Borderou de evaluare (job #1215289)
Borderou de evaluare (job #1215289)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:29:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:42:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:54:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",drez);
^
user.cpp: In function ‘void citire()’:
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pizza.in","r",stdin);
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pizza.out","w",stdout);
^
user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 4ms | 288kb | OK | 10 |
5 | 20ms | 296kb | OK | 10 |
6 | 20ms | 300kb | OK | 10 |
7 | 76ms | 332kb | OK | 10 |
8 | 156ms | 352kb | Incorect | 0 |
9 | 248ms | 364kb | Incorect | 0 |
10 | 392ms | 372kb | Incorect | 0 |
Penalizare 65 (pentru 131.3 minute) + 9 (pentru 3 submisii) | -74 |
Punctaj total | 0 |