Number Theory- Big GCD

Since i code in java, i used BigInteger to solve this problem and it got accepted. Is there any other way to solve it without using BigInteger.

https://hack.codingblocks.com/contests/c/123/702

Hi,

No other way, In c++ you have to consider numbers in array form.

1 Like