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

Compile Error

potatosalad.cpp: In function ‘int32_t main()’:
potatosalad.cpp:5:6: error: storage size of ‘n’ isn’t known
5 | int n[], d;
| ^
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++){
| ^
| ;