SPOJ Shopping

I want more test cases for this problem

//