My century : SPCANDY
With this problem finally I completed 100 problems on codechef. This problem was a bit easy where modulus and division operation was required. The range was given greater than integer so long long would be sufficient. Also when when the divisor turned out to be zero then Divide By Zero error can be faced. So a separate case for 0 was made.












