Borderou de evaluare (job #1851802)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 20 ianuarie 2017 09:17:26
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 ‘long long 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 ‘long long int*’ [-Wformat=] user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:15:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:18:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long 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 ‘long long 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
10ms420kbOK5
20ms424kbOK5
30ms428kbOK5
40ms424kbOK5
50ms432kbOK5
60ms428kbOK5
70ms436kbOK5
80ms432kbOK5
90ms428kbOK5
100ms432kbOK5
110ms428kbOK5
120ms436kbOK5
130ms440kbOK5
140ms432kbOK5
15Depăşit600kbTime limit exceeded.0
16Depăşit604kbTime limit exceeded.0
17Depăşit624kbTime limit exceeded.0
18Depăşit652kbTime limit exceeded.0
19Depăşit648kbTime limit exceeded.0
20168ms648kbIncorect0
Punctaj total70

Ceva nu functioneaza?