Borderou de evaluare (job #1461545)

Utilizator cojocarugabiReality cojocarugabi Data 15 iulie 2015 22:42:27
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:18:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:19:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:19:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:20:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:20:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:21:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:21:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:8: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:9: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:11: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:16: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:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:36: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
148msDepăşitMemory limit exceeded.0
248msDepăşitMemory limit exceeded.0
352ms3752kbOK5
456ms3764kbOK5
548ms3776kbOK5
660ms3804kbOK5
756ms3804kbOK5
860ms3788kbOK5
9144msDepăşitMemory limit exceeded.0
10128msDepăşitMemory limit exceeded.0
1144msDepăşitMemory limit exceeded.0
1288msDepăşitMemory limit exceeded.0
13188msDepăşitMemory limit exceeded.0
1488msDepăşitMemory limit exceeded.0
15136msDepăşitMemory limit exceeded.0
1692msDepăşitMemory limit exceeded.0
1784msDepăşitMemory limit exceeded.0
18136msDepăşitMemory limit exceeded.0
19132msDepăşitMemory limit exceeded.0
20132msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?