Pagini recente » Borderou de evaluare (job #3126698) | Borderou de evaluare (job #1889817) | Borderou de evaluare (job #3244506) | Cod sursa (job #316637) | Borderou de evaluare (job #1850930)
Borderou de evaluare (job #1850930)
Raport evaluator
Compilare:
user.cpp: In function ‘int findMinimumPath(char (*)[1005], int, int, qPosition, qPosition, char)’:
user.cpp:98:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
visited[start.lin][start.col][start.direction] = 0;
^
user.cpp:110:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(visited[pos.lin + offsx[j]][pos.col + offsy[j]][directions[j]] == -1 || visited[pos.lin + offsx[j]][pos.col + offsy[j]][directions[j]] > offset + pos.time + 1) &&
^
user.cpp:110:140: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(visited[pos.lin + offsx[j]][pos.col + offsy[j]][directions[j]] == -1 || visited[pos.lin + offsx[j]][pos.col + offsy[j]][directions[j]] > offset + pos.time + 1) &&
^
user.cpp:128:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
visited[pos.lin + offsx[j]][pos.col + offsy[j]][directions[j]] = offset + pos.time + 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 20ms | 16236kb | OK | 5 | 10 |
| 2 | 20ms | 16236kb | OK | 5 |
| 3 | 20ms | 16232kb | OK | 5 | 10 |
| 4 | 20ms | 16232kb | OK | 5 |
| 5 | 24ms | 16348kb | OK | 5 | 10 |
| 6 | 28ms | 16356kb | OK | 5 |
| 7 | 24ms | 16352kb | OK | 5 | 10 |
| 8 | 24ms | 16360kb | OK | 5 |
| 9 | 28ms | 16360kb | OK | 5 | 10 |
| 10 | 28ms | 16352kb | OK | 5 |
| 11 | 204ms | 16804kb | OK | 5 | 10 |
| 12 | 200ms | 16828kb | OK | 5 |
| 13 | 204ms | 16808kb | OK | 5 | 0 |
| 14 | Depăşit | 17092kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 17184kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 17096kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 17088kb | Time limit exceeded. | 0 | 0 |
| 18 | Depăşit | 17084kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 17104kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 17096kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |