Borderou de evaluare (job #1898467)

Utilizator erickMarius Popovici erick Data 2 martie 2017 05:47:24
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:28: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%i",&a[1][i]); ^ user.cpp:24:12: warning: large integer implicitly truncated to unsigned type [-Woverflow] a[1][1]=INF; ^ user.cpp:28:32: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%i",&a[i][j]); ^ user.cpp: In function ‘int minimul(int, int)’: user.cpp:50:8: warning: large integer implicitly truncated to unsigned type [-Woverflow] aux=INF; ^ user.cpp: In function ‘int main()’: user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacusta.in","r",stdin); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacusta.out","w",stdout); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i%i",&m,&n); ^ user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&a[1][i]); ^ user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit440kbTime limit exceeded.00
248ms468kbIncorect0
30ms316kbIncorect0
40ms320kbIncorect00
50ms376kbIncorect0
64ms348kbIncorect0
70ms316kbIncorect00
84ms364kbIncorect0
98ms372kbIncorect0
10Depăşit468kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?