Problem firstabc
User christal
Submission Time 2023-12-06 09:31:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp:5:22: error: missing terminating " character
5 | string S = "A", B, C";
| ^~
firstabc.cpp: In function ‘int main()’:
firstabc.cpp:6:3: error: expected initializer before ‘int’
6 | int N;
| ^~~
firstabc.cpp:7:15: error: ‘N’ was not declared in this scope
7 | cin >> S >> N;
| ^
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 scop