Problem nemo
User kenkunkin
Submission Time 2025-10-21 11:49:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nemo.cpp: In function ‘void Bai()’:
nemo.cpp:4:26: error: ‘n’ was not declared in this scope
4 | for (int i = 0; i <= n; i++) p[i] = 0;
| ^
nemo.cpp:4:34: error: ‘p’ was not declared in this scope
4 | for (int i = 0; i <= n; i++) p[i] = 0;
| ^
nemo.cpp:7:35: error: ‘close’ was not declared in this scope
7 | auto [line, u_temp, v_temp] = close[0];
| ^~~~~
nemo.cpp:10:16: error: ‘tc’ was not declared in this scope
10 | for (; i < tc; i++) // SỬA: i < tc thay vì i <= tc
| ^~
nemo.cpp:12:30: error: ‘q’ was not declared in this scope
12 | auto [t, x, y, id] = q[i];
| ^
nemo.cpp:16:20: error: ‘open’ was not declared in this scope
16 | while (j < open.size())
| ^~~~
nemo.cpp:20: