Pagini recente » Cod sursa (job #2201898) | Cod sursa (job #2225655) | Cod sursa (job #1164596) | Cod sursa (job #2201895) | Borderou de evaluare (job #3128743)
Borderou de evaluare (job #3128743)
Raport evaluator
Compilare:
main.cpp: In function 'void BFSFill(short int (*)[252], int)':
main.cpp:78:44: warning: narrowing conversion of 'r' from 'int' to 'unsigned char' [-Wnarrowing]
78 | q.enqueue({r, c});
| ^
main.cpp:78:47: warning: narrowing conversion of 'c' from 'int' to 'unsigned char' [-Wnarrowing]
78 | q.enqueue({r, c});
| ^
main.cpp:86:51: warning: narrowing conversion of '(((int)curr.Point::r) + ((int)dr[dir]))' from 'int' to 'unsigned char' [-Wnarrowing]
86 | q.enqueue({curr.r + dr[dir], curr.c + dc[dir]});
| ~~~~~~~^~~~~~~~~
main.cpp:86:69: warning: narrowing conversion of '(((int)curr.Point::c) + ((int)dc[dir]))' from 'int' to 'unsigned char' [-Wnarrowing]
86 | q.enqueue({curr.r + dr[dir], curr.c + dc[dir]});
| ~~~~~~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 2ms | 557kb | OK | 10 |
| 6 | 3ms | 557kb | OK | 10 |
| 7 | 3ms | 819kb | OK | 10 |
| 8 | 3ms | 557kb | OK | 10 |
| 9 | 3ms | 819kb | OK | 10 |
| 10 | 3ms | 557kb | OK | 10 |
| Punctaj total | 100 |