When submitting a problem or a project stage, your solution is being checked automatically with the test input.
- Input is a piece of information received by a program. So when you ask a hypothetical user for input, you want them to give your program data, e.g. integers, strings, etc.
- Output is a piece of information provided and presented by a program. It is done by using commands like System.out.print (in Java) or print (in Python).
To get your solution marked as correct, the output from your code should match the output in our tests.
At JetBrains Academy, we try to emulate real programming experience, where you might not always know what kind of input people using your code submitted.
But we do understand how frustrating this can be, so we added an opportunity to see the test input (please note, this feature is enabled for a limited number of problems).
When you're stuck on some particular test you can download the input data. To do that, use the Download the failed test button below the Code Editor window.
This option is free once a day. You need to pay 15 gems to use it again (for the same or different problem).