Check if two numbers are co-prime (their HCF is 1).
MediumProblem Statement
Check if two numbers are co-prime (their HCF is 1).
Sample Input
8, 15
Sample Output
True
Limits
Time: 2s · Memory: 256 MB
Check if two numbers are co-prime (their HCF is 1).
8, 15
True
Time: 2s · Memory: 256 MB