Pagini recente » Borderou de evaluare (job #2347068) | Cod sursa (job #2737246) | Borderou de evaluare (job #2485061) | Borderou de evaluare (job #1178859) | Borderou de evaluare (job #1215271)
Borderou de evaluare (job #1215271)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:24: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:37:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:49: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:24: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:35: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:36: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:37: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 | 344kb | OK | 10 | 0 |
| 2 | 0ms | 1128kb | OK | 10 |
| 3 | 0ms | 1116kb | OK | 10 |
| 4 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| Penalizare 60 (pentru 121.8 minute) + 3 (pentru o submisie) | -63 |
| Punctaj total | 0 |