Borderou de evaluare (job #1353633)

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

Raport evaluator

Compilare: user.cpp: In function ‘void rez()’: user.cpp:19:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] prev = i - 1 & 1; ^ user.cpp: In function ‘int main()’: user.cpp:49: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:50: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:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ user.cpp:56: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:63: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
1Depăşit2420kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?