Borderou de evaluare (job #1976291)

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

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 ‘long int*’ [-Wformat=] scanf("%d%d",&M,&N); ^ user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long 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 ‘long int*’ [-Wformat=] scanf("%d",&K); ^ user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long 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 ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:58:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",K-nr); ^ user.cpp:59:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",nr); ^ user.cpp:61:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",r[k]); ^ 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
10ms276kbTry again !0
20ms288kbTry again !0
30ms288kbTry again !0
40ms284kbTry again !0
50ms288kbTry again !0
60ms292kbTry again !0
70ms308kbLike a boss !10
80ms308kbValoare incorecta cerinta 1 !6
90ms324kbTry again !0
100ms320kbLike a boss !10
Punctaj total26

Ceva nu functioneaza?