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”.
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”.