Friday, 11 April 2014

Cards, bags and coins

http://www.codechef.com/APRIL14/problems/ANUCBC/

I have invested almost 2 days in the above problem...but all in vain...I am still getting wrong answer. I believe my algorithm is right and I am not able to catch the error. It is frustrating and I'll stop now. After the contest, I'll make sure the reason for this.