Borderou de evaluare (job #1599956)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 14 februarie 2016 15:58:48
Problema Livada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d ", &a[i][0]); ^ user.cpp:24:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d ", &a[i][j]); ^ user.cpp:9:26: warning: variable ‘ok2’ set but not used [-Wunused-but-set-variable] int m, i, nr=0, ok1, ok2, maxi,max; ^ 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("livada.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("livada.out","w",stdout); ^ user.cpp:12:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %ld %ld", &m, &n, &p); ^ user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i][0]); ^ user.cpp:24:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i][j]); ^ user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms336kbPrima linie corecta!4
20ms340kbPrima linie corecta!4
332ms1172kbRaspuns gresit!0
468ms1252kbRaspuns gresit!0
5132ms1464kbRaspuns gresit!0
6236ms1224kbRaspuns gresit!0
7224ms1236kbRaspuns gresit!0
8232ms472kbRaspuns gresit!0
9248ms1656kbRaspuns gresit!0
10232ms944kbPrima linie corecta!4
Punctaj total12

Ceva nu functioneaza?