Borderou de evaluare (job #2279722)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 9 noiembrie 2018 21:52:32
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&n,&m); ^ main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:12:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&a[i][j]); ^ main.cpp:13:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&k); ^ main.cpp:20:50: 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,&p); ^ main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=] main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long int*' [-Wformat=] main.cpp:96:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d\n%d ",s,r); ^ main.cpp:96:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] main.cpp:98:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ",v[i]); ^ main.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); ^ main.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); ^ main.cpp:9:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ main.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ main.cpp:13:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ main.cpp:20:51: 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,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbTry again !0
22ms131kbTry again !0
32ms131kbTry again !0
42ms131kbTry again !0
52ms131kbTry again !0
63ms131kbTry again !0
74ms262kbTry again !0
84ms262kbTry again !0
95ms262kbTry again !0
105ms262kbTry again !0
Punctaj total0

Ceva nu functioneaza?