Problem lineup2
User asbx
Submission Time 2023-11-08 14:29:06
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: At global scope:
lineup2.cpp:22:2: error: expected unqualified-id before ‘for’
22 | for(int j=0; j<MUFFIN; j++){
| ^~~
lineup2.cpp:22:15: error: ‘j’ does not name a type
22 | for(int j=0; j<MUFFIN; j++){
| ^
lineup2.cpp:22:25: error: ‘j’ does not name a type
22 | for(int j=0; j<MUFFIN; j++){
| ^