i not getting how to implement the code so please give me implementation of this problem
Big gcd hint problem
let’s say the first number a is in the range 10^7 and the second number b is very large (in the range 10^250) So, we can see that first number ‘a’ can be handled by long long int data type but second number ‘b’ can not be handled by any int data type. Here we read second number as a string and we will try to make it less than and equal to ‘a’ by taking it’s modulo with ‘a’.
I highly suggest you to try run this code yourself on paper by taking some example.
In case of any doubt feel free to ask 
Mark your doubt as RESOLVED if you got the answer
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.