Pagini recente » Borderou de evaluare (job #864551) | Borderou de evaluare (job #2946463) | Borderou de evaluare (job #1847543) | Borderou de evaluare (job #2193023) | Borderou de evaluare (job #1207505)
Borderou de evaluare (job #1207505)
Raport evaluator
Compilare:
user.cpp: In function ‘void Fill(short int, short int)’:
user.cpp:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]])
^
user.cpp:56:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]])
^
user.cpp:56:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]])
^
user.cpp:56:75: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]])
^
user.cpp:57:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Fill(x + dx[i], y + dy[i]);
^
user.cpp:57:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Fill(x + dx[i], y + dy[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.in", "r", stdin);
^
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.out", "w", stdout);
^
user.cpp:66:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd", &K, &N, &M);
^
user.cpp:69:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd", &X1[i], &Y1[i], &X2[i], &Y2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 10 |
2 | 0ms | 388kb | OK | 10 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | 512kb | OK | 10 |
6 | 4ms | 608kb | OK | 10 |
7 | 4ms | 464kb | OK | 10 |
8 | 0ms | 456kb | OK | 10 |
9 | 0ms | 616kb | OK | 10 |
10 | 0ms | 316kb | OK | 10 |
Punctaj total | 80 |