Problem badpotato
User Astronite
Submission Time 2025-08-25 16:41:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

badpotato.cpp:1:11: error: ‘n’ was not declared in this scope
1 | int arr[n];
| ^
badpotato.cpp:2:3: error: expected unqualified-id before ‘for’
2 | for (int i = 0; i < n; i++)
| ^~~
badpotato.cpp:2:19: error: ‘i’ does not name a type
2 | for (int i = 0; i < n; i++)
| ^
badpotato.cpp:2:26: error: ‘i’ does not name a type
2 | for (int i = 0; i < n; i++)
| ^
badpotato.cpp:25:3: error: ‘cout’ does not name a type
25 | cout<< notfurry;
| ^~~~
badpotato.cpp:26:1: error: expected declaration before ‘}’ token
26 | }
| ^