Problem candymountain_ex
User P55D2K
Submission Time 2023-05-30 09:11:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:10:19: error: expected ‘;’ before ‘<’ token
10 | for (int i = 0, i < n; i++) { cin >> c[i]; }
| ^~
| ;
candymountain_ex.cpp:10:20: error: expected primary-expression before ‘<’ token
10 | for (int i = 0, i < n; i++) { cin >> c[i]; }
| ^