Problem snake
User wongyikai
Submission Time 2024-12-14 15:40:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snake.cpp: In function ‘int main()’:
snake.cpp:34:18: error: ‘p’ was not declared in this scope
34 | else cout << d[p-1] << "\n";
| ^