Borderou de evaluare (job #1604053)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 17 februarie 2016 22:04:44
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf ("%d", &a[i][j]); ^ user.cpp:13:39: 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:14:41: 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:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &N, &M); ^ user.cpp:19:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms596kbOK1030
28ms532kbOK10
30ms344kbOK10
40ms348kbOK1030
50ms408kbOK10
60ms372kbOK10
70ms336kbOK1040
80ms392kbOK10
90ms412kbOK10
1012ms564kbOK10
Punctaj total100

Ceva nu functioneaza?