| Problem | prisoners |
|---|---|
| User | nmluan |
| Submission Time | 2026-04-27 11:41:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swapper.cpp: In function ‘void swapper(long long int, long long int*)’:
swapper.cpp:14:2: error: ‘it’ was not declared in this scope; did you mean ‘int’?
14 | it = 0;
| ^~
| int
swapper.cpp:16:18: error: expected ‘;’ before ‘while’
16 | c.push_back({})
| ^
| ;
17 | while (a[it]){
| ~~~~~
swapper.cpp:25:32: error: expected ‘;’ before ‘a’
25 | c.back().push_back(boxes[k])
| ^
| ;
26 | a[k] = true;
| ~
swapper.cpp:32:4: error: ‘swapKeys’ was not declared in this scope
32 | swapKeys(c[i][0],c[i][1]);
| ^~~~~~~~
prisoner.cpp: In function ‘void prisoner(long long int, long long int)’:
prisoner.cpp:8:10: error: ‘openBox’ was not declared in this scope
8 | int k = openBox(id), c = 1;
|