Problem potatosalad
User dl2704
Submission Time 2024-01-26 14:47:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int32_t main()’:
potatosalad.cpp:5:8: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n[n], d;
| ^
| yn
potatosalad.cpp:9:12: error: expected ‘;’ before ‘==’ token
9 | for (int i == 0, i < d, i++){
| ^~~
| ;
potatosalad.cpp:9:13: error: expected primary-expression before ‘==’ token
9 | for (int i == 0, i < d, i++){
| ^~
potatosalad.cpp:9:29: error: expected ‘;’ before ‘)’ token
9 | for (int i == 0, i < d, i++){
| ^
| ;