0_0_38761811_42.cpp: In function 'void solve()':
0_0_38761811_42.cpp:29:33: error: 'n' was not declared in this scope
29 | for (int i = 1;i <= max(n, q);i++)t[i] = 0, id[i] = 0, res[i] = 0;
| ^
0_0_38761811_42.cpp:29:36: error: 'q' was not declared in this scope
29 | for (int i = 1;i <= max(n, q);i++)t[i] = 0, id[i] = 0, res[i] = 0;
| ^
|