Problem lineup2
User asbx
Submission Time 2023-11-08 14:29:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup2.cpp: In function ‘int main()’:
lineup2.cpp:15:15: error: expected ‘;’ before ‘for’
15 | cin>>MUFFIN
| ^
| ;
16 | for(int j=0; j<MUFFIN; j++){
| ~~~
lineup2.cpp:16:17: error: ‘j’ was not declared in this scope
16 | for(int j=0; j<MUFFIN; j++){
| ^
lineup2.cpp:22:12: error: expected ‘;’ before ‘}’ token
22 | m[n]=true
| ^
| ;
23 | }
| ~
lineup2.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
lineup2.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^