Pagini recente » Borderou de evaluare (job #803358) | Borderou de evaluare (job #2176921) | Borderou de evaluare (job #1757508) | Borderou de evaluare (job #3241289) | Borderou de evaluare (job #1215269)
Borderou de evaluare (job #1215269)
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 | 336kb | OK | 10 | 0 |
2 | 0ms | 1124kb | OK | 10 |
3 | 0ms | 1108kb | OK | 10 |
4 | 12ms | 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 | 20ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
Penalizare 60 (pentru 121.1 minute) | -60 |
Punctaj total | 0 |