Pagini recente » Borderou de evaluare (job #3147403) | Borderou de evaluare (job #1215222) | Borderou de evaluare (job #3275057) | Borderou de evaluare (job #3285792) | Borderou de evaluare (job #1215293)
Borderou de evaluare (job #1215293)
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 | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 4ms | 288kb | OK | 10 |
5 | 20ms | 308kb | OK | 10 |
6 | 20ms | 308kb | OK | 10 |
7 | 76ms | 332kb | OK | 10 |
8 | 176ms | 364kb | OK | 10 |
9 | 316ms | 396kb | OK | 10 |
10 | Depăşit | 372kb | Time limit exceeded. | 0 |
Penalizare 66 (pentru 132.8 minute) + 12 (pentru 4 submisii) | -78 |
Punctaj total | 0 |