Borderou de evaluare (job #1461537)

Utilizator cojocarugabiReality cojocarugabi Data 15 iulie 2015 22:36:08
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:16:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:17:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:17:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:18:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:19:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:19:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in","r",stdin); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out","w",stdout); ^ user.cpp:9:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&q); ^ user.cpp:14:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %c\n",&x1,&y1,&x2,&y2,&c); ^ user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1164ms3704kbOK5
2124ms3704kbOK5
368ms3700kbOK5
468ms3704kbOK5
556ms3704kbOK5
672ms3708kbOK5
768ms3704kbOK5
868ms3708kbOK5
9140ms3708kbOK5
10132ms3704kbOK5
11180ms3708kbOK5
12252ms3708kbOK5
13192ms3708kbOK5
14220ms3700kbOK5
15452ms3700kbOK5
16436ms3704kbOK5
17408ms3708kbOK5
18456ms3704kbOK5
19Depăşit3700kbTime limit exceeded.0
20Depăşit3692kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?