Program not being accepted(generating the largest number)

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

Please paste the code at ide.codingblocks.com and share the link.

You forgot the newline after each testcase. :sob: