Got a sigemt error for the code whereas the code works on other compliler

Please either format your code or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

Also - what Problem are you trying to solve? :slight_smile:

Are you trying to “Run” without Providing “Custom Input”?