In this question i think my approach is wrong please correct me!


my answer is seems to correct sometimes but it failed all test cases

  1. print answer for each test case in a new line.

  2. for test case like

     1 
     90 5 
    

    you are getting wrong answer debug for this

https://ide.codingblocks.com/s/366535 is running fine in my ide but CODING BLOCKS judge is saying Error: Could not find or load main class Main

while(c>0){

‘>’ instead of ‘>=’