Pagini recente » Borderou de evaluare (job #2526588) | Borderou de evaluare (job #1481794) | Borderou de evaluare (job #2126695) | Cod sursa (job #1398103) | Borderou de evaluare (job #1215302)
Borderou de evaluare (job #1215302)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:40: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:56:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:68: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:40: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:54: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:55: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:56: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 | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 4ms | 272kb | OK | 10 |
| 5 | 20ms | 292kb | OK | 10 |
| 6 | 20ms | 296kb | OK | 10 |
| 7 | 88ms | 316kb | OK | 10 |
| 8 | 208ms | 348kb | OK | 10 |
| 9 | 368ms | 376kb | OK | 10 |
| 10 | Depăşit | 348kb | Time limit exceeded. | 0 |
| Penalizare 69 (pentru 139.5 minute) + 15 (pentru 5 submisii) | -84 |
| Punctaj total | 0 |