Pagini recente » Borderou de evaluare (job #1859032) | Borderou de evaluare (job #2462155) | Borderou de evaluare (job #2620927) | Cod sursa (job #2002807) | Borderou de evaluare (job #1151021)
Borderou de evaluare (job #1151021)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (mat[i - 1][j] != '1') Crt += RoomSize[mat[i - 1][j]];
^
user.cpp:57: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:58: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:59: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 | 232kb | OK | 10 |
| 2 | 0ms | 232kb | OK | 10 |
| 3 | 4ms | 760kb | OK | 10 |
| 4 | 4ms | 704kb | OK | 10 |
| 5 | 4ms | 584kb | OK | 10 |
| 6 | 4ms | 272kb | OK | 10 |
| 7 | 4ms | 556kb | OK | 10 |
| 8 | 0ms | 260kb | Incorect | 0 |
| 9 | 4ms | 288kb | OK | 10 |
| 10 | 4ms | 828kb | OK | 10 |
| Punctaj total | 90 |