Problem snake
User WJR
Submission Time 2025-06-18 16:38:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snake.cpp: In function ‘int main()’:
snake.cpp:24:13: error: ‘new_head’ was not declared in this scope
24 | new_head.first += directions[c].first;
| ^~~~~~~~