Borderou de evaluare (job #1732521)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 21 iulie 2016 19:50:32
Problema Sum Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void df(long int)’: user.cpp:19:13: warning: variable ‘dr’ set but not used [-Wunused-but-set-variable] long st,dr; ^ user.cpp: In function ‘int main()’: user.cpp:43:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:44: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:44:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:44:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:52: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:42: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:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ user.cpp:44: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:52: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
10ms516kbOK5
2104ms3844kbOK5
3240ms6368kbOK5
4336ms9500kbOK5
50ms520kbOK5
68ms544kbOK5
716ms612kbOK5
812ms704kbIncorect0
9164ms1968kbIncorect0
10244ms2828kbIncorect0
11340ms3848kbIncorect0
12124ms4424kbIncorect0
13128ms4484kbIncorect0
14400ms4552kbIncorect0
15144ms5036kbIncorect0
16180ms5692kbIncorect0
17564ms6372kbIncorect0
18292ms7864kbIncorect0
19816ms8668kbIncorect0
20852ms9504kbIncorect0
Punctaj total35

Ceva nu functioneaza?