Same Error in every template even after submitting code

The below error is coming in each and every question I have mentioned to you early also. The templates for stack, linkList are wrong This is testing so much patience now to submit a single code and getting a reply after a day with no proper solution becomes useless.

This is the code link: https://ide.codingblocks.com/s/605185.
It is executing well in IDE but not here. Can you help me as soon as possible with a proper fix in these challenges they have already tested a lot of patience submitting code here is nightmare?

Exception in thread β€œmain” java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:862)
at java.util.Scanner.next(Scanner.java:1485)
at java.util.Scanner.nextInt(Scanner.java:2117)
at java.util.Scanner.nextInt(Scanner.java:2076)
at Main.Calculate(Main.java:16)
at Main.main(Main.java:11)