Problem obstacles
User Henries
Submission Time 2025-03-16 20:31:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

obstacles.cpp: In function ‘bool check(ll)’:
obstacles.cpp:19:4: error: expected primary-expression before ‘.’ token
19 | .
| ^
obstacles.cpp:20:5: error: expected unqualified-id before ‘for’
20 | for (int i = 1; i <= n; i++){
| ^~~
obstacles.cpp:20:21: error: ‘i’ was not declared in this scope
20 | for (int i = 1; i <= n; i++){
| ^