Problem 3nplus1
User definetlynotbc
Submission Time 2023-04-23 09:53:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:9:22: error: stray ‘\342’ in program
9 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:9:23: error: stray ‘\211’ in program
9 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:9:24: error: stray ‘\244’ in program
9 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:20:2: error: invalid preprocessing directive #incude; did you mean #include?
20 | #incude<iostream>
| ^~~~~~
| include
3nplus1.cpp:1:1: error: expected unqualified-id before numeric constant
1 | 3nplus1
| ^~~~~~~
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:25:2: error: ‘cin’ was not declared in this scope
25 | cin>>n;
| ^~~
3nplus1.cpp:26:18: error: expected ‘;’ before ‘==’ token
26 | for(int i = 1, n == i; n++){
|