Problem | firstabc |
---|---|
User | christal |
Submission Time | 2023-12-06 09:27:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
firstabc.cpp: In function ‘int main()’:
firstabc.cpp:5:18: error: expected unqualified-id before string constant
5 | string S = "A", "B", "C";
| ^~~
firstabc.cpp:8:17: error: expected ‘;’ before ‘)’ token
8 | for (3<=N<=100){
| ^
| ;
firstabc.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^
firstabc.cpp:11:5: error: expected ‘;’ before ‘}’ token
11 | }
| ^
| ;
12 | }
| ~
firstabc.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^
firstabc.cpp:11:5: error: expected ‘)’ before ‘}’ token
11 | }
| ^
| )
12 | }
| ~
firstabc.cpp:8:7: note: to match this ‘(’
8 | for (3<=N<=100){
| ^
firstabc.cpp:12:1: error: expected primary-expression before ‘}’ token
12