Borderou de evaluare (job #1353827)

Utilizator GG_FacilUNIBUC GG Facil GG_Facil Data 21 februarie 2015 14:46:53
Problema Por Costel si Livada Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void rez()’: user.cpp:22:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] prev = i - 1 & 1; ^ user.cpp: In function ‘int main()’: user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("livada2.in", "r", stdin); ^ user.cpp:55:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("livada2.out", "w", stdout); ^ user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ user.cpp:61:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &n, &m); ^ user.cpp:68:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12376ms2424kbOK100
Punctaj total100

Ceva nu functioneaza?