Borderou de evaluare (job #1461541)

Utilizator cojocarugabiReality cojocarugabi Data 15 iulie 2015 22:40:42
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:17:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:17:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1]; ^ user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:18:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y1] = 1 - s[c][x1][y1]; ^ user.cpp:19:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:19:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x2+1][y1] = 1 - s[c][x2+1][y1]; ^ user.cpp:20:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:20:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[c][x1][y2+1] = 1 - s[c][x1][y2+1]; ^ user.cpp:7: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:8: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:10: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:15: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:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:34: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
1164ms3712kbOK5
2124ms3708kbOK5
368ms3704kbOK5
472ms3708kbOK5
564ms3708kbOK5
676ms3712kbOK5
780ms3708kbOK5
876ms3704kbOK5
9144ms3708kbOK5
10132ms3712kbOK5
11184ms3708kbOK5
12256ms3708kbOK5
13196ms3712kbOK5
14232ms3708kbOK5
15464ms3708kbOK5
16448ms3712kbOK5
17420ms3708kbOK5
18464ms3708kbOK5
19Depăşit3692kbTime limit exceeded.0
20Depăşit3696kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?