Form Biggest Number showing wrong answer

The link to my code.

When i am running the code on my PC it’s working properly but not while submission. Probably it’s sum exception or a particular test case which i haven’t taken into consideration. Please help me out here.