A. Counterexample
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Your friend has recently learned about coprime numbers. A pair of numbers
{a, b} is called coprime if the maximum number that divides both
a and b is equal to one.
Your friend often comes up with different statements. He has recently supposed that if the pair
(a, b) is coprime and the pair
(b, c) is coprime, then the pair
(a, c) is coprime.
You wan......
阅读全文