C. Modified GCD time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Well, here is another math class task. In mathematics, GCD is the greatest common divisor, and it's an easy task to calculat…