The code that I have written gives right results when compiled and tested but is not passing even a single test case when I submit it
Program not being accepted(generating the largest number)
You forgot the newline after each testcase. 
The code that I have written gives right results when compiled and tested but is not passing even a single test case when I submit it
You forgot the newline after each testcase. 