Pagini recente » Borderou de evaluare (job #502063) | Borderou de evaluare (job #230159) | Borderou de evaluare (job #1979599) | Borderou de evaluare (job #2720311) | Borderou de evaluare (job #1207506)
Borderou de evaluare (job #1207506)
Raport evaluator
Compilare:
user.cpp: In function ‘void Fill(short int, short int)’:
user.cpp:66:25: 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:66:43: 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:66:68: 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:66:79: 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:68:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q.push(make_pair(x + dx[i], y + dy[i]));
^
user.cpp:68:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q.push(make_pair(x + dx[i], y + dy[i]));
^
user.cpp:69:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Valid[x + dx[i]][y + dy[i]] = 1;
^
user.cpp:69:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Valid[x + dx[i]][y + dy[i]] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:77: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:78: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:81: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:84: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 | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 4ms | 300kb | OK | 10 |
7 | 4ms | 288kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |