Problem gohcart2
User justin271828
Submission Time 2024-12-11 10:44:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gohcart2.cpp: In function ‘int main()’:
gohcart2.cpp:36:48: error: ‘up’ was not declared in this scope
36 | for (int i = 0; i < N; i++) {if (s[i] == '1') up(i+1, i+1);}
| ^~
gohcart2.cpp:40:15: error: ‘up’ was not declared in this scope
40 | if (a == 1) up(x, y);
| ^~
gohcart2.cpp:41:16: error: ‘q’ was not declared in this scope
41 | else cout << q(x, y) << "\n";}
| ^