Problem gcd
User 2Princes1Lance
Submission Time 2023-11-23 15:59:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | else if (a%prime == 0 && b%prime == 0){
| ^~~~