5 人解决,13 人已尝试。
6 份提交通过,共有 54 份提交。
8.4 EMB 奖励。
单点时限: 3.0 sec
内存限制: 256 MB
Little Johnny, a boy 11 years old, is asked by his friend about a riddle in a popular role playing game ‘Neverending Fantasy XIV’. The riddle is to check whether the greatest common divisor of given two integers
Input consists of multiple test cases. Input consists of multiple test cases. Each test case contains two positive integer
For each test case, you should output “Yes” if there is a hidden prime number. Otherwise, output “No”.
4 8 3 15 0 0
No Yes
5 人解决,13 人已尝试。
6 份提交通过,共有 54 份提交。
8.4 EMB 奖励。