Problem GSS
User Logout
Submission Time 2023-11-09 11:42:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

GSS.cpp: In function ‘int main()’:
GSS.cpp:16:36: error: expected ‘;’ before ‘i’
16 | for (int i = 0; i < number_of_bars i += 4){
| ^~
| ;
GSS.cpp:18:34: error: expected ‘;’ before ‘}’ token
18 | cost = cost + all_costs[a + i]
| ^
| ;
19 | }
| ~