Working fine on IDE but not passing the testcases

https://online.codingblocks.com/app/player/246132/content/235744/4796/code-challenge

hi @sbhardwaj1be21_2a991b329433c059,
write this cout<<maxval; not with space