Problem prime
User AtomicAtomXD
Submission Time 2026-01-31 12:14:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> n;
| ^~~
prime.cpp:6:13: error: ‘cout’ was not declared in this scope
6 | cout << "Not Prime";
| ^~~~
prime.cpp:12:9: error: ‘cout’ was not declared in this scope
12 | cout << "Not Prime";
| ^~~~
prime.cpp:15:5: error: ‘cout’ was not declared in this scope
15 | cout << "Prime";
| ^~~~