Borderou de evaluare (job #1851801)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 20 ianuarie 2017 09:15:51
Problema Log Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld%ld",&n,&t1,&t2,&t3); ^ user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:18:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&a[i],&b[i]); ^ user.cpp:18:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("log.in","r",stdin); ^ user.cpp:15:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld%ld",&n,&t1,&t2,&t3); ^ user.cpp:18:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&a[i],&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK5
20ms448kbOK5
30ms444kbOK5
40ms452kbOK5
50ms448kbOK5
60ms448kbOK5
70ms448kbOK5
80ms452kbOK5
90ms448kbOK5
100ms448kbOK5
110ms456kbOK5
120ms452kbOK5
130ms456kbOK5
140ms456kbOK5
15312ms556kbIncorect0
16164ms560kbIncorect0
17172ms560kbIncorect0
18116ms556kbIncorect0
19124ms560kbIncorect0
2052ms556kbIncorect0
Punctaj total70

Ceva nu functioneaza?