Borderou de evaluare (job #2115268)

Utilizator patcasrarespatcas rares danut patcasrares Data 26 ianuarie 2018 16:20:00
Problema Iepuras Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d",&l,&c,&d); ^ user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&a[i][j]); ^ user.cpp:25:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:29:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&p,&q); ^ user.cpp:29:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuras.in","r",stdin); ^ user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&l,&c,&d); ^ user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:29:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&p,&q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbIncorect0
20ms464kbIncorect0
30ms468kbIncorect0
40ms472kbIncorect0
50ms464kbIncorect0
60ms468kbIncorect0
70ms472kbIncorect0
80ms468kbIncorect0
90ms468kbIncorect0
100ms464kbIncorect0
110ms464kbIncorect0
120ms464kbIncorect0
130ms464kbIncorect0
140ms468kbIncorect0
150ms464kbIncorect0
160ms464kbIncorect0
170ms468kbIncorect0
180ms456kbIncorect0
190ms472kbIncorect0
200ms468kbIncorect0
Punctaj total0

Ceva nu functioneaza?