In this article, we break down programming problems for you to ensure that you are familiar with the following:
- Parts of a programming problem
- Supported browsers and programming languages
- Test cases
- Testing your code
- Types of errors
Parts of a programming problem
No. | Title | Description |
1 | Problem title | It is the heading of the problem that is followed by the problem statement. |
2 | Problem statement |
A short description of the problem for which a candidate should provide a solution or an answer. |
3 | Input format | The standard method in which you must write and submit code such that it is accepted by the program and evaluated. |
4 | Output format | The specific format in which the program must print the processed data as output. |
5 |
Constraints |
These are limitations that your submission must strictly adhere to. |
6 | Sample input and output | These are used to check the logic and validate your code instantly. |
7 | Explanation |
These are hints required to solve the problem statement. |
S. No. | Title | Description |
---|---|---|
1 | New Submission | Write your code in the provided editor. |
2 | All Submissions |
You can make multiple submissions for a problem. View all your submissions here. |
3 | Input format | The standard method in which you must write and submit code such that it is accepted by the program and evaluated. |
4 | Provide custom input |
It allows you to run your code against custom input. For more information about custom input, see Testing your code. |
5 | Compile & Test |
Click this to compile your code and run it against sample and internal test cases. For more information about the sample and internal test cases, see Test cases. |
6 | Submit |
Click this to submit your code. |
No. | Title | Description |
---|---|---|
1 | Result of this compilation |
The result of the execution of code is displayed here. It depends upon whether your code has passed the test cases. The various types of results displayed are as follows:
|
2 | Refer judge environment |
Click this to view HackerEarth's evaluation components such as supported browsers and languages, important questions, and so on. |
3 | Compilation details |
|
4 | Test-case specific details |
|
5 | Compilation log |
You can view your compilation result here. |
Comments
0 comments
Article is closed for comments.