Problem veryeasyproblem
User YTj
Submission Time 2025-02-16 02:49:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasyproblem.cpp: In function ‘int main()’:
veryeasyproblem.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin >> n;
| ^~~
veryeasyproblem.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
veryeasyproblem.cpp:5:2: error: ‘cout’ was not declared in this scope
5 | cout << n;
| ^~~~
veryeasyproblem.cpp:5:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?