Problem boundlessboxes
User chickengoat
Submission Time 2026-05-16 09:35:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boundlessboxes.cpp: In function ‘int main()’:
boundlessboxes.cpp:9:2: error: expected initializer before ‘for’
9 | for(ll i=0;i<m;i++) {
| ^~~
boundlessboxes.cpp:9:13: error: ‘i’ was not declared in this scope
9 | for(ll i=0;i<m;i++) {
| ^
boundlessboxes.cpp:20:3: error: ‘dis’ was not declared in this scope; did you mean ‘vis’?
20 | dis[a][b]=0;
| ^~~
| vis
boundlessboxes.cpp:24:11: error: cannot convert ‘std::queue<std::pair<long long int, long long int> >::empty’ from type ‘bool (std::queue<std::pair<long long int, long long int> >::)() const’ to type ‘bool’
24 | while(!q.empty) {
| ^~~~~
boundlessboxes.cpp:24:11: error: in argument to unary !
boundlessboxes.cpp:24:18: error: expected ‘}’ at end of input
24 | while(!q.empty) {
| ^
boundlessboxes.cpp:24:18: error: expected ‘}’ at end of input
bound