abduction2.cpp: In function 'int solve(int, int, int)':
abduction2.cpp:54:12: warning: narrowing conversion of 'x' from 'int' to 'short unsigned int' [-Wnarrowing]
54 | pq.push({x, y, 0, dir, 0});
| ^
abduction2.cpp:54:15: warning: narrowing conversion of 'y' from 'int' to 'short unsigned int' [-Wnarrowing]
54 | pq.push({x, y, 0, dir, 0});
| ^
abduction2.cpp:54:21: warning: narrowing conversion of 'dir' from 'int' to 'char' [-Wnarrowing]
54 | pq.push({x, y, 0, dir, 0});
| ^~~
abduction2.cpp:85:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
85 | pq.push({urm.first, urm.second, a[urm.first], WEST, n.dist + n.x - urm.first});
| ~~~~^~~~~
abduction2.cpp:85:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
85 | pq.push({urm.first, urm.second, a[urm.first], WEST, n.dist + n.x - urm.first});
| ~~~~^~~~~~
abduction2.cpp:86:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
86 | pq.push({urm.first, urm.second, a[urm.first], EAST, n.dist + n.x - urm.first});
| ~~~~^~~~~
abduction2.cpp:86:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
86 | pq.push({urm.first, urm.second, a[urm.first], EAST, n.dist + n.x - urm.first});
| ~~~~^~~~~~
abduction2.cpp:101:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
101 | pq.push({urm.first, urm.second, a[urm.first], WEST, n.dist + urm.first - n.x});
| ~~~~^~~~~
abduction2.cpp:101:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
101 | pq.push({urm.first, urm.second, a[urm.first], WEST, n.dist + urm.first - n.x});
| ~~~~^~~~~~
abduction2.cpp:102:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
102 | pq.push({urm.first, urm.second, a[urm.first], EAST, n.dist + urm.first - n.x});
| ~~~~^~~~~
abduction2.cpp:102:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
102 | pq.push({urm.first, urm.second, a[urm.first], EAST, n.dist + urm.first - n.x});
| ~~~~^~~~~~
abduction2.cpp:117:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
117 | pq.push({urm.first, urm.second, b[urm.second], NORTH, n.dist + urm.second - n.y});
| ~~~~^~~~~
abduction2.cpp:117:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
117 | pq.push({urm.first, urm.second, b[urm.second], NORTH, n.dist + urm.second - n.y});
| ~~~~^~~~~~
abduction2.cpp:118:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
118 | pq.push({urm.first, urm.second, b[urm.second], SOUTH, n.dist + urm.second - n.y});
| ~~~~^~~~~
abduction2.cpp:118:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
118 | pq.push({urm.first, urm.second, b[urm.second], SOUTH, n.dist + urm.second - n.y});
| ~~~~^~~~~~
abduction2.cpp:133:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
133 | pq.push({urm.first, urm.second, b[urm.second], NORTH, n.dist + n.y - urm.second});
| ~~~~^~~~~
abduction2.cpp:133:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
133 | pq.push({urm.first, urm.second, b[urm.second], NORTH, n.dist + n.y - urm.second});
| ~~~~^~~~~~
abduction2.cpp:134:20: warning: narrowing conversion of 'urm.std::pair<int, int>::first' from 'int' to 'short unsigned int' [-Wnarrowing]
134 | pq.push({urm.first, urm.second, b[urm.second], SOUTH, n.dist + n.y - urm.second});
| ~~~~^~~~~
abduction2.cpp:134:31: warning: narrowing conversion of 'urm.std::pair<int, int>::second' from 'int' to 'short unsigned int' [-Wnarrowing]
134 | pq.push({urm.first, urm.second, b[urm.second], SOUTH, n.dist + n.y - urm.second});
| ~~~~^~~~~~