Problem badpotato
User Astronite
Submission Time 2025-08-25 16:41:18
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:26:3: error: ‘cout’ does not name a type
26 | cout<< notfurry;
| ^~~~
badpotato.cpp:27:1: error: expected declaration before ‘}’ token
27 | }
| ^