Problem prime
User lucaleeeeee
Submission Time 2026-03-18 09:51:16
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:5:9: error: ‘cout’ was not declared in this scope
5 | cout << "Not Prime";
| ^~~~
prime.cpp:10:13: error: ‘cout’ was not declared in this scope
10 | cout << "Not Prime";
| ^~~~
prime.cpp:14:5: error: ‘cout’ was not declared in this scope
14 | cout << "Prime";
| ^~~~