Borderou de evaluare (job #1732337)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 21 iulie 2016 14:52:04
Problema Sum Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:19:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&st,&dr); ^ user.cpp:19:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:19:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:27:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&v[j]); ^ user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("summax.in","r",stdin); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&st,&dr); ^ user.cpp:27:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms520kbOK5
2104ms3848kbOK5
3224ms6364kbOK5
4344ms9500kbOK5
50ms524kbIncorect0
68ms548kbIncorect0
720ms616kbIncorect0
820ms712kbIncorect0
9368ms1972kbIncorect0
10624ms2836kbIncorect0
11992ms3856kbIncorect0
12648ms4432kbIncorect0
13656ms4488kbIncorect0
141292ms4556kbIncorect0
15864ms5048kbIncorect0
161152ms5692kbIncorect0
17Depăşit6376kbTime limit exceeded.0
18Depăşit7868kbTime limit exceeded.0
19Depăşit8668kbTime limit exceeded.0
20Depăşit9508kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?