Problem buffet
User Red123
Submission Time 2026-07-03 13:21:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buffet.cpp: In function ‘int main()’:
buffet.cpp:9:15: error: expected ‘;’ before ‘for’
9 | int brr[n]; 8
| ^
| ;
10 | for(int i = 0; i < n; i++){
| ~~~
buffet.cpp:10:17: error: ‘i’ was not declared in this scope
10 | for(int i = 0; i < n; i++){
| ^