- Help Center
- Campus
- Candidate FAQs
-
Assessments: Recruiters
- Getting started
- Account settings
- Admin management
- Creating tests automatically
- Creating tests manually
- Test settings
- Sections and question pooling
- Libraries
- Multiple Choice Questions (MCQs)
- Programming
- Full stack
- SQL
- Data science
- Machine Learning (ML)
- DevOps
- Python project questions
- Selenium
- Java Project
- C# project questions
- Subjective
- Approximate
- Diagram
- File upload
- Invites
- Reports
- Billing
- HackerEarth Reports: Admins, Tests, and Teams
-
FaceCode
-
Assessments: ATS integrations
-
Assessments: Product updates
-
Assessments: Best practices
-
SSO
-
Upskilling
-
Assessments: Candidates
-
Problem setting for HackerEarth
-
Campus
-
Hiring challenges
-
Frequently Asked Questions (FAQs)
What do the test cases check my code for?
When your code is run against test cases, it is checked for the following:
Time that the code takes to run
The code should run within a stipulated time. If it does not, you will see a Time Limit Exceeded (TLE) error.
Memory consumed by the code
The code should run within the given memory size. If it does not, you will see a Memory Limit
Exceeded (MLE) error.
Errors that occur while the code is running
Some test cases are tricky and will only check your code for Runtime Errors (RE). These include syntax errors and compilation errors.
Check whether your code results in a correct answer
If the answer is not correct, you will see a Wrong Answer (WA) error. This means that your program is not printing out the correct answer. To fix this, ensure that your program:
- Matches the output format that is required
- Does not print unnecessary information