cave.cpp: In function 'void bl(ll)':
cave.cpp:19:16: error: 'n' was not declared in this scope
19 | ll l = 0, r =n-1;
| ^
cave.cpp:20:28: error: 's' was not declared in this scope
20 | ll last = tryCombination(s);
| ^
cave.cpp:26:9: error: 'update' was not declared in this scope
26 | update(l,l);
| ^~~~~~
cave.cpp:28:7: error: 'ass' was not declared in this scope; did you mean 'abs'?
28 | ass[l] = 1;
| ^~~
| abs
cave.cpp:29:7: error: 'pos' was not declared in this scope; did you mean 'pow'?
29 | pos[l] = i;
| ^~~
| pow
cave.cpp:33:5: error: 'update' was not declared in this scope
33 | update(l,mid);
| ^~~~~~
cave.cpp:46:5: error: 'update' was not declared in this scope
46 | update(l,l);
| ^~~~~~
cave.cpp:48:5: error: 'ass' was not declared in this scope; did you mean 'abs'?
48 | ass[l] = 1;
| ^~~
| abs
cave.cpp:49:5: error: 'pos' was not declared in this scope; did you mean 'pow'?
49 | pos[l] = i;
| ^~~
| pow
cave.cpp: In function 'void exploreCave(int)':
cave.cpp:53:3: error: 'n' was not declared in this scope
53 | n= N;
| ^
cave.cpp:54:3: error: 'pos' was not declared in this scope; did you mean 'pow'?
54 | pos.resize(n);
| ^~~
| pow
cave.cpp:55:3: error: 'ass' was not declared in this scope; did you mean 'abs'?
55 | ass.resize(n);
| ^~~
| abs
cave.cpp:56:10: error: 's' was not declared in this scope
56 | memset(s, 0, sizeof(s));
| ^
cave.cpp:61:15: error: 'posi' was not declared in this scope
61 | loop(i,0,n) posi[i] = pos[i];
| ^~~~
cave.cpp:62:13: error: 'posi' was not declared in this scope
62 | answer(s, posi);
| ^~~~