Borderou de evaluare (job #1976288)

Utilizator andreiutu111Noroc Andrei Mihail andreiutu111 Data 3 mai 2017 01:13:59
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 4

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&M,&N); ^ user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:13:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&v[i][j]); ^ user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&K); ^ user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d%d",&L1,&C1,&L2,&C2,&V); ^ user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elicop.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elicop.out","w",stdout); ^ user.cpp:9:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&M,&N); ^ user.cpp:13:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^ user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&K); ^ user.cpp:18:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d",&L1,&C1,&L2,&C2,&V); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbTry again !0
20ms440kbTry again !0
30ms440kbTry again !0
40ms436kbTry again !0
50ms444kbTry again !0
60ms436kbTry again !0
70ms444kbTry again !0
80ms436kbTry again !0
90ms436kbTry again !0
100ms444kbValoare incorecta cerinta 2 !4
Punctaj total4

Ceva nu functioneaza?