Runtime Error in RECNDNOS

It’s easy to trigger a runtime error in your code; consider the test input:

1
2
1 2

I’ve no idea how you’re getting a java.util.NoSuchElementException, though, unless you’re trying to “Run” without Providing “Custom Input”.

1 Like