Pagini recente »
Borderou de evaluare (job #328582)
|
Borderou de evaluare (job #435642)
|
Borderou de evaluare (job #323704)
|
Borderou de evaluare (job #686372)
|
Borderou de evaluare (job #728313)
Borderou de evaluare (job #728313)
Raport evaluator
Compilare:
main.cpp: In function 'void BFSFill(Point, int (*)[61])':
main.cpp:46:117: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | 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:46:124: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | 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:47:79: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | cost[cur.r + dir.r][cur.c + dir.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:47:86: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | cost[cur.r + dir.r][cur.c + dir.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:48:47: warning: narrowing conversion of '(((int)cur.Point::r) + ((int)dir.Point::r))' from 'int' to 'char' [-Wnarrowing]
48 | q.push({cur.r + dir.r, cur.c + dir.c});
| ~~~~~~^~~~~~~
main.cpp:48:62: warning: narrowing conversion of '(((int)cur.Point::c) + ((int)dir.Point::c))' from 'int' to 'char' [-Wnarrowing]
48 | q.push({cur.r + dir.r, cur.c + dir.c});
| ~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:102:50: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
102 | BFSFill({r, c}, fuel[pos[m[r][c] - OFFSET]][pos[m[r][c] - OFFSET]]);
| ^
main.cpp:102:53: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
102 | BFSFill({r, c}, fuel[pos[m[r][c] - OFFSET]][pos[m[r][c] - OFFSET]]);
| ^
main.cpp:116:66: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
116 | BFSFill({r, c}, fuel[i][j]);
| ^
main.cpp:116:69: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
116 | BFSFill({r, c}, fuel[i][j]);
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
|
6
|
19 ms
|
249 kb
|
OK
|
5
|
|
7
|
39 ms
|
249 kb
|
OK
|
5
|
|
8
|
29 ms
|
249 kb
|
OK
|
5
|
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
|
10
|
109 ms
|
512 kb
|
OK
|
5
|
|
11
|
1 ms
|
507 kb
|
OK
|
5
|
|
12
|
89 ms
|
512 kb
|
OK
|
5
|
|
13
|
9 ms
|
245 kb
|
OK
|
5
|
|
14
|
19 ms
|
507 kb
|
OK
|
5
|
|
15
|
9 ms
|
249 kb
|
OK
|
5
|
|
16
|
379 ms
|
1032 kb
|
Incorect
|
0
|
|
17
|
389 ms
|
1032 kb
|
Incorect
|
0
|
|
18
|
399 ms
|
1032 kb
|
Incorect
|
0
|
|
19
|
459 ms
|
1028 kb
|
Incorect
|
0
|
|
20
|
459 ms
|
1028 kb
|
Incorect
|
0
|
|
Punctaj total
|
75
|