Pagini recente » Borderou de evaluare (job #3201597) | Borderou de evaluare (job #786955) | Borderou de evaluare (job #3133002) | Borderou de evaluare (job #2553756) | Borderou de evaluare (job #3144657)
Borderou de evaluare (job #3144657)
Raport evaluator
Compilare:
main.cpp: In function 'void BFSFill(Point, short int (*)[62])':
main.cpp:52:117: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | if(m[cur.r + dir.r][cur.c + dir.c] != WALL && cost[cur.r + dir.r][cur.c + dir.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:52:124: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | if(m[cur.r + dir.r][cur.c + dir.c] != WALL && cost[cur.r + dir.r][cur.c + dir.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:53:79: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | cost[cur.r + dir.r][cur.c + dir.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:53:86: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | cost[cur.r + dir.r][cur.c + dir.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:54:47: warning: narrowing conversion of '(((int)cur.Point::r) + ((int)dir.Point::r))' from 'int' to 'char' [-Wnarrowing]
54 | q.push({cur.r + dir.r, cur.c + dir.c});
| ~~~~~~^~~~~~~
main.cpp:54:62: warning: narrowing conversion of '(((int)cur.Point::c) + ((int)dir.Point::c))' from 'int' to 'char' [-Wnarrowing]
54 | q.push({cur.r + dir.r, cur.c + dir.c});
| ~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:112:50: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
112 | BFSFill({r, c}, fuel[pos[m[r][c] - OFFSET]][pos[m[r][c] - OFFSET]]);
| ^
main.cpp:112:53: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
112 | BFSFill({r, c}, fuel[pos[m[r][c] - OFFSET]][pos[m[r][c] - OFFSET]]);
| ^
main.cpp:125:58: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
125 | BFSFill({r, c}, fuel[i][j]);
| ^
main.cpp:125:61: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
125 | BFSFill({r, c}, fuel[i][j]);
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 0ms | 303kb | OK | 5 |
5 | 0ms | 303kb | OK | 5 |
6 | 5ms | 303kb | OK | 5 |
7 | 9ms | 303kb | OK | 5 |
8 | 7ms | 303kb | OK | 5 |
9 | 0ms | 303kb | OK | 5 |
10 | 19ms | 557kb | OK | 5 |
11 | 1ms | 557kb | OK | 5 |
12 | 14ms | 303kb | OK | 5 |
13 | 2ms | 303kb | OK | 5 |
14 | 4ms | 557kb | OK | 5 |
15 | 2ms | 303kb | OK | 5 |
16 | 59ms | 569kb | Incorect | 0 |
17 | 74ms | 557kb | Incorect | 0 |
18 | 74ms | 557kb | Incorect | 0 |
19 | 74ms | 557kb | Incorect | 0 |
20 | 64ms | 557kb | Incorect | 0 |
Punctaj total | 75 |