Problem snake
User j0ashhh
Submission Time 2026-02-07 18:05:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snake.cpp: In function ‘int main()’:
snake.cpp:28:5: error: ‘arr’ was not declared in this scope
28 | arr[0] = make_pair(a-1, b);
| ^~~
snake.cpp:35:5: error: ‘arr’ was not declared in this scope
35 | arr[0] = make_pair(a, b+1);
| ^~~
snake.cpp:42:5: error: ‘arr’ was not declared in this scope
42 | arr[0] = make_pair(a, b-1);
| ^~~