Problem 42704. prime to each other
64.58% Correct | 35.42% Incorrect
Last Solution submitted on Feb 22, 2023
Guillaume on 6 Jan 2016
It seems to me that the logic of the test suite is reversed. You're asking if the numbers are coprime and yet want 0 (false) when they are.
George-Felix Leu on 6 Jan 2016
@Guillaume: Your are right.
I re-wrote the text. The english got worse, but the clarity increased, I hope:))
Solution CommentsShow comments
Problem Recent Solvers55
Element by element multiplication of two vectors
More from this Author2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!