why am i getting wrong answer to this solution?

problem code:- https://www.codechef.com/SNCKPA16/problems/GIVCANDY
my solution:- http://ideone.com/TVU7ZU
i am using here diophantine equation concept

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories