Problem prime
User jwsk0
Submission Time 2025-10-25 16:26:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:9:9: error: ‘b’ was not declared in this scope
9 | while (b != 0){
| ^
prime.cpp:10:3: error: ‘temp’ was not declared in this scope; did you mean ‘mktemp’?
10 | temp = b;
| ^~~~
| mktemp
prime.cpp:11:7: error: ‘a’ was not declared in this scope
11 | b=b%a;
| ^
prime.cpp:14:6: error: ‘a’ was not declared in this scope
14 | if (a==1){
| ^