Problem snake
User Kiameimon
Submission Time 2024-12-13 22:34:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snake.cpp: In function ‘int main()’:
snake.cpp:20:14: error: ‘fin’ was not declared in this scope; did you mean ‘sin’?
20 | int n, val; fin >> n >> val;
| ^~~
| sin
snake.cpp:48:4: error: ‘fout’ was not declared in this scope
48 | fout << arr[p].first << " " << arr[p].second << "\n";
| ^~~~