Pagini recente » Borderou de evaluare (job #191408) | Borderou de evaluare (job #1933895) | Borderou de evaluare (job #3036089) | Borderou de evaluare (job #1907329) | Borderou de evaluare (job #1140527)
Borderou de evaluare (job #1140527)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (mat[i - 1][j] != '1') Crt += RoomSize[mat[i - 1][j]];
^
user.cpp:53:92: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (mat[i][j - 1] != '1' && mat[i][j - 1] != mat[i - 1][j]) Crt += RoomSize[mat[i][j - 1]];
^
user.cpp:54:126: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (mat[i + 1][j] != '1' && mat[i + 1][j] != mat[i][j - 1] && mat[i + 1][j] != mat[i - 1][j]) Crt += RoomSize[mat[i + 1][j]];
^
user.cpp:55:160: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (mat[i][j + 1] != '1' && mat[i][j + 1] != mat[i + 1][j] && mat[i][j + 1] != mat[i][j - 1] && mat[i][j + 1] != mat[i - 1][j]) Crt += RoomSize[mat[i][j + 1]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 240kb | OK | 10 |
3 | 4ms | 760kb | OK | 10 |
4 | 4ms | 712kb | OK | 10 |
5 | 4ms | 588kb | OK | 10 |
6 | 4ms | 276kb | OK | 10 |
7 | 4ms | 560kb | OK | 10 |
8 | 0ms | 240kb | Incorect | 0 |
9 | 4ms | 292kb | OK | 10 |
10 | 4ms | 836kb | OK | 10 |
Punctaj total | 90 |