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

Compile Error

firstabc.cpp: In function ‘int main()’:
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);
| ^~~~~~