Problem : https://www.codechef.com/problems/GDOG

**Hi,**

I don’t have clarity in the above mentioned problem statement. I also gone through some correct submissions but I didn’t found the way problem was handled. So anyone willing to help can give clarity for my below approach.

**My approach**

n-((n/k)*k) or (n%k) (why this expression gives Wrong Answer)

**Thanks**