Problem 3nplus1
User yikai
Submission Time 2026-02-13 16:07:12
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:2: error: ‘cin’ was not declared in this scope
5 | cin >> number;
| ^~~
3nplus1.cpp:14:2: error: ‘cout’ was not declared in this scope
14 | cout << newnumber;
| ^~~~
3nplus1.cpp:15:3: error: expected ‘}’ at end of input
15 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^