Problem ballmachine
User Ok
Submission Time 2026-08-14 23:57:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ballmachine.cpp: In function ‘std::vector<int> find_structure(int)’:
ballmachine.cpp:30:13: error: ‘N’ was not declared in this scope
30 | last[i] = N - 1;
| ^
ballmachine.cpp:31:18: error: expected ‘;’ before ‘}’ token
31 | done[i] = false
| ^
| ;
32 | }
| ~