Borderou de evaluare (job #1461544)

Utilizator cojocarugabiReality cojocarugabi Data 15 iulie 2015 22:41:53
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
352ms3796kbOK5
460ms3832kbOK5
552ms3840kbOK5
664ms3900kbOK5
756ms3900kbOK5
860ms3872kbOK5
992msDepăşitMemory limit exceeded.0
1044msDepăşitMemory limit exceeded.0
1144msDepăşitMemory limit exceeded.0
1288msDepăşitMemory limit exceeded.0
1392msDepăşitMemory limit exceeded.0
1488msDepăşitMemory limit exceeded.0
1588msDepăşitMemory limit exceeded.0
1684msDepăşitMemory limit exceeded.0
1788msDepăşitMemory limit exceeded.0
18132msDepăşitMemory limit exceeded.0
19132msDepăşitMemory limit exceeded.0
20132msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?