Problem in compiler


#1

I’m facing this problem second time , custom input gives the right answer but when i test it , it gives the wrong answer , plz fix it