Problem 3nplus1
User joshua2152
Submission Time 2023-04-14 16:27:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:9: error: ‘cin’ was not declared in this scope
5 | int n; cin >> n;
| ^~~
3nplus1.cpp:6:2: error: ‘cout’ was not declared in this scope
6 | cout >> n
| ^~~~
3nplus1.cpp:17:2: error: expected ‘}’ at end of input
17 | }
| ^
3nplus1.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^