Borderou de evaluare (job #2229577)

Utilizator giotoPopescu Ioan gioto Data 7 august 2018 14:48:52
Problema Tetris2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(q & B[i][q + 1] != B[i][j]) ~~~~~~~~~~~~^~~~~~~~~~ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tetris2.in", "r", stdin); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tetris2.out", "w", stdout); ^ user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms3472kbOK10
20ms3476kbOK10
3Depăşit5804kbTime limit exceeded.0
4Depăşit6008kbTime limit exceeded.0
5Depăşit6012kbTime limit exceeded.0
6Depăşit6004kbTime limit exceeded.0
7Depăşit6004kbTime limit exceeded.0
8Depăşit5872kbTime limit exceeded.0
9Depăşit5868kbTime limit exceeded.0
100ms3404kbOK10
Punctaj total30

Ceva nu functioneaza?