Problem nprime2
User ZacharyTan2010
Submission Time 2024-04-03 16:38:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp:3:18: error: ‘cin’ in namespace ‘std’ does not name a type
3 | long long x;std::cin>>long long x;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from nprime2.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~