Pagini recente » Borderou de evaluare (job #210250) | Borderou de evaluare (job #2692977) | Borderou de evaluare (job #1832671) | Borderou de evaluare (job #2176867) | Borderou de evaluare (job #1215282)
Borderou de evaluare (job #1215282)
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 | 276kb | OK | 10 | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 4ms | 288kb | OK | 10 |
5 | 20ms | 300kb | OK | 10 |
6 | 20ms | 304kb | OK | 10 |
7 | 76ms | 336kb | OK | 10 |
8 | 176ms | 364kb | OK | 10 |
9 | 316ms | 396kb | OK | 10 |
10 | Depăşit | 376kb | Time limit exceeded. | 0 |
Penalizare 63 (pentru 127.1 minute) + 6 (pentru 2 submisii) | -69 |
Punctaj total | 0 |