Pagini recente » Borderou de evaluare (job #2984388) | Borderou de evaluare (job #894189) | Borderou de evaluare (job #2664675) | Borderou de evaluare (job #807186) | Borderou de evaluare (job #1225020)
Borderou de evaluare (job #1225020)
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 | 260kb | OK | 10 | 0 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 4ms | 276kb | OK | 10 |
5 | 20ms | 280kb | OK | 10 |
6 | 20ms | 284kb | OK | 10 |
7 | 80ms | 300kb | OK | 10 |
8 | 188ms | 328kb | OK | 10 |
9 | 332ms | 340kb | OK | 10 |
10 | Depăşit | 316kb | Time limit exceeded. | 0 |
Punctaj total | 0 |