Mistake in GCD

Can anybody tell me where I have made mistake?

Solution

Question

Even I cannot figure out why your code is not working . Surprisingly when I change your data types to int , the whole code works which shouldn’t work!!!
AC solution :link text

1 Like

Total Crap Question!!