Problem | wires |
---|---|
User | shoryu386 |
Submission Time | 2023-12-22 14:54:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:10:2: error: ‘queue’ was not declared in this scope
10 | queue<pair<int, int>> processing;
| ^~~~~
wires.cpp:10:8: error: ‘pair’ was not declared in this scope
10 | queue<pair<int, int>> processing;
| ^~~~
wires.cpp:10:13: error: expected primary-expression before ‘int’
10 | queue<pair<int, int>> processing;
| ^~~
wires.cpp:11:2: error: ‘processing’ was not declared in this scope
11 | processing.push({1, n});
| ^~~~~~~~~~
wires.cpp:17:12: error: ‘xr’ was not declared in this scope; did you mean ‘xl’?
17 | if (xl > xr) continue;
| ^~
| xl
wires.cpp:19:17: error: ‘xr’ was not declared in this scope; did you mean ‘x’?
19 | int x = (xl + xr)/2;
| ^~
| x
wires.cpp:25:9: error: ‘press