PLease help. whenever I do any code it gives error during input but when i do it with same custom input i works fine

Exception in thread “main” java.util.NoSuchElementException
at java.util.Scanner.throwFor(
at java.util.Scanner.nextInt(
at java.util.Scanner.nextInt(
at Codechef.main(

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

1 Like

Does that mean i cant test my code with custom imput and it will run fine when i will submit it?

I tried sir It still gave error please help cant submit any code