Test
To test your solution, press on the 'Compile & Test' button in the arena.
Your solution will be tested with 10 testcases, and the results will be displayed in table below the code editor.
For each test you will get one of the following statuses:
Correct | Your solution returend correct result for the test |
Wrong | Your solution returend wrong result for the test |
Timeout | Your solition is taking more than 5 seconds to execute |
Error* | Your solution is not compiling, or generates Runtime Exception |
* If you get Java Exception as a result of some test and your solution is not written in Java, it means that your solution generated Runtime Exception (i.e division with zero, overflow).
When this happens, please check your code for errors.