Problem nprime2
User chickengoat
Submission Time 2025-12-08 14:51:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘int main()’:
nprime2.cpp:5:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | if(n==1) {
| ^
| yn
nprime2.cpp:9:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | if(n==2) {
| ^
| yn
nprime2.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
nprime2.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^