Problem | firstabc |
---|---|
User | christal |
Submission Time | 2023-12-06 09:28:26 |
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:8:19: error: expected primary-expression before ‘{’ token
8 | for (3<=N<=100);{
| ^
firstabc.cpp:8:19: error: expected ‘;’ before ‘{’ token
8 | for (3<=N<=100);{
| ^
| ;
firstabc.cpp:8:19: error: expected primary-expression before ‘{’ token
firstabc.cpp:8:19: error: expected ‘)’ before ‘{’ token
8 | for (3<=N<=100);{
| ~ ^
| )
firstabc.cpp:10:5: error: ‘length’ was not declared in this scope
10 | length (S);
| ^~~~~~