Pagini recente » Borderou de evaluare (job #2897270) | Borderou de evaluare (job #3337811) | Borderou de evaluare (job #1238895) | Borderou de evaluare (job #3349978) | Borderou de evaluare (job #3144668)
Borderou de evaluare (job #3144668)
Raport evaluator
Compilare:
main.cpp: In member function 'Point Point::operator+(const Point&)':
main.cpp:15:35: warning: narrowing conversion of '(((int)((Point*)this)->Point::r) + ((int)other.Point::r))' from 'int' to 'char' [-Wnarrowing]
15 | return {r + other.r, c + other.c};
| ~~^~~~~~~~~
main.cpp:15:48: warning: narrowing conversion of '(((int)((Point*)this)->Point::c) + ((int)other.Point::c))' from 'int' to 'char' [-Wnarrowing]
15 | return {r + other.r, c + other.c};
| ~~^~~~~~~~~
main.cpp: In function 'void BFSFill(Point, int (*)[61])':
main.cpp:51:34: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:51:41: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:51:64: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:51:71: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:51:85: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:51:92: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){
| ~~~~^
main.cpp:52:42: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:52:49: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:52:63: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp:52:70: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1;
| ~~~~^
main.cpp: In function 'int main()':
main.cpp:109:50: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
109 | BFSFill({r, c}, fuel[k][k]);
| ^
main.cpp:109:53: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
109 | BFSFill({r, c}, fuel[k][k]);
| ^
main.cpp:123:66: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing]
123 | BFSFill({r, c}, fuel[i][j]);
| ^
main.cpp:123:69: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing]
123 | 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 | 557kb | OK | 5 |
| 13 | 2ms | 303kb | OK | 5 |
| 14 | 4ms | 557kb | OK | 5 |
| 15 | 2ms | 303kb | OK | 5 |
| 16 | 74ms | 1081kb | OK | 5 |
| 17 | 89ms | 1081kb | OK | 5 |
| 18 | 89ms | 1081kb | OK | 5 |
| 19 | 94ms | 1081kb | OK | 5 |
| 20 | 89ms | 1081kb | OK | 5 |
| Punctaj total | 100 |