Problem firelord
User DXY
Submission Time 2026-09-13 17:03:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firelord.cpp: In function ‘void gen(int)’:
firelord.cpp:2:16: error: ‘N’ was not declared in this scope
2 | if (idx == N + 1){
| ^
firelord.cpp:3:23: error: ‘vect’ was not declared in this scope
3 | for (auto it: vect){//do something
| ^~~~
firelord.cpp:6:9: error: ‘vect’ was not declared in this scope
6 | vect.push_back(0);
| ^~~~