Problem prime
User GenericUsername
Submission Time 2023-02-12 09:39:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:9:18: error: ‘num’ was not declared in this scope; did you mean ‘num1’?
9 | if(num1 == 1 || num == 0){
| ^~~
| num1