Technical problem in submitting the code

I have tested my code with all the possibilities but i am not able to submit the code. When i click the submit code it shows executing your code and then the button turns back the red color while the output screen remains blank.
Here is the link to my code.

there is no technical problem u have done some mistakes
check this


i have mark all the error with comments and rectify it

I copied and pasted your code to my question, while I was testing the code with custom input it showed the correct result but again I am unable to submit. The same thing happens as I have mentioned in the doubt before.

i have submitted it in the online contest and its working fine for me
try 2 3 times
if after that not submitted then reply
i will report to the team