Problem 3nplus1
User Mischa
Submission Time 2023-11-08 14:27:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:9: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
6 | char s=" "
| ^~~
| |
| const char*
3nplus1.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘cin’
7 | cin >> n;
| ^~~