Cody

Problem 42704. prime to each other

Created by George-Felix Leu in Community

Given two integers n1, n2 greater than 1, find out if they have common divisors or are prime to each other. Return "true" if they have common divisors and "false" if they are prime to each other.

Solution Stats

63.64% Correct | 36.36% Incorrect
Last solution submitted on Feb 24, 2019

Problem Comments

Solution Comments