Oppo India announced coding competition for students, Top 3 winner will be rewarded INR 2 Lakhs.

OPPO India has announced OPPO Inspiration Cup, a coding hackathon for students. The hackathon provides a platform for engineering students across India to showcase their coding skills.

OPPO’s one of the biggest coding event is here!

Welcome to the opening edition of our Code Rally – the OPPO Inspiration Cup 2022 – a programming challenge where you can test your skills in coding and compete with fellow coders in a fun and stimulating contest!

The OPPO inspiration cup is here with a more competitive, more engaging format and with exciting prizes to be won! where you can have fun while you negotiate multiple rounds of coding questions

The top 100 winners of the Round 1 will be awarded a certificate and will progress to the next round.

The top 20 winners of Round 2 will be awarded with exciting OPPO goodies and will progress to the final offline round.

Top 3 winner will be rewarded INR 2 Lakhs, INR 1 Lakhs and INR 50 thousand respectively.

Event Objective:

To connect to the larger student community & encourage them to participate in coding challenges to enhance their skills. Identify the top talents and make them a part of OPPO’s tech journey.

Eligibility Criteria:

  • Educational Qualification: Pre-final and Final year from B.tech and M.tech/MS (1st and 2nd Year)
  • Skills: Programming (Programming level: Intermediate to Advance)

Challenge Format: 3 Rounds of coding challenge

  • Round 1: 2 Programming Questions
  • Round 2: 2 Programming Questions
  • Round 3: 3 Programming Questions

Enthusiastic individuals interested to solve cutting-edge problems in latest technologies.

Internship or full-time opportunity can be considered on a case-to-case basis.


Apply link >> apply now


  1. Ensure that you are attempting the test using the correct email ID.
  2. You must click Submit after you answer each question.
  3. If you need assistance during the test, click the question mark (?) in the lower-right corner of the page to raise a ticket.
  4. Once the test has started, the timer cannot be paused. You have to complete the test in one attempt.
  5. Do not close the browser window or tab of the test interface before you submit your final answers.
  6. It is recommended that you attempt the test in an incognito or private window so that any extensions installed do not interfere with the test environment.
  7. We recommend that you close all other windows and tabs to ensure that there are no distractions.

Programming Challenge

1. Where will the challenge take place?

This challenge is an online challenge.

2. Will I receive a reminder notification before the challenge begins?

You will receive a reminder e-mail 3 hours before the challenge begins only if you have registered for the challenge.

3. How do I participate in this challenge?

To participate in this challenge, do the following:

a. Register for the challenge

b. Visit the challenge page on start date/time

c. Click Participate in Challenge

4. Can we take up the challenges from mobile platforms?

No. We don’t support mobile platform for taking up the challenges. We only suggest our users to participate in the challenges from laptop/desktop.

5. What type of questions will I have to solve in this challenge?

The questions in this challenge are of the following types:

  • Programming problems
    • Write code in the online code editor that is provided with each problem and submit it.
    • You can make multiple submissions. The platform automatically considers the best submission.
  • Multiple choice questions (MCQ)
    • Questions with multiple choices will be provided.
    • You should select the correct answer from the list of choices.
  • Subjective problems
    • Instructions for each problem differ
    • Enter the solution in the text area that is provided and submit it

6. Are the programming questions restricted to specific languages?

The languages that you can write code in will be mentioned in the challenge details, if applicable.

7. What will happen in case of there is an issue with my computer or Internet connection?

If there is an issue with your computer or your Internet connection, you will not lose your previously submitted answers. They will be saved on HackerEarth’s servers. You can log in again and continue coding from where you stopped.

However, the timer will continue running, which is why it is advised that you ensure that your computer/Internet connection is working properly before you begin the challenge.

8. My code works in my local IDE, however, it throws compilation errors when I run it on the platform interface. Why does this happen?

Every problem has the following two buttons:

a. Compile & Run

  • When you click Compile & Run, the is tested against the sample input and output.
  • This ensures that you are able to test your code against predefined sample test cases before you submit your code.

b. Submit

When you click Submit, the code is checked extensively against internal test cases. The following parameters are considered while checking the code:

  • Time limit: The code should run within the stipulated time otherwise it will throw a Time Limit Exceeded (TLE) error.
  • Memory limit: The code should run within the give memory size otherwise it will throw a Memory Limit Exceeded (MLE) error.
  • Errors during runtime: Specific test cases check for Runtime Errors (RE) only.
  • Correct answer: If your answer is incorrect, then you will see the message Wrong Answer (WA) on the screen. This means that your program is not printing he correct answer. Ensure that your program conforms with the output format that is required.

9. Is it possible to change my submission after I have submitted a task?

Yes, you can edit and submit the solution to a question (that you can view and edit) any number of times before the challenge-completion time window closes.

Note: Some tests have timed sections. After the time limit is reached, you will not be able to revisit questions in that section.

10. How does the online judge determine whether a solution is correct?

An online judge is a code checker and not a human being. The code checker or “judge” tests your code automatically. Therefore, you must write your code accordingly.

For each problem, based on the specifications mentioned in the problem statement, there will be one or more input files and corresponding (correct) output files. The program that you create is run on each of the input files and the corresponding output must match the (correct) output files in order.

Your program will be marked incorrect in the following cases:

  • Output files (generated by running your code) do not match the pre-generated output files
  • Output files (generated by running your code) matches all the pre-generated output files, however, it is not in the order in which the pre-generated output files are arranged

11. How does the time limit work?

Your program must read, process, and output the result for all input files within the specified time limit.

The input file will be of the format that is specified in the problem. This means that if each input file contains multiple test cases, then your code must pass all the test cases within the specified time limit.

12. How does the total execution time work?

Your code is tested multiple times against different input files. The displayed execution time is the total time spent executing each input file. Hence, Total execution time <= (Time Limit * Number of input files)

Your program is terminated in the following scenarios:

    • If the time that is required to execute each input file exceeds the time limit execution that is set for any input file.
    • If the total time that is required to execute all the input files exceeds the total time limit allowed.

    13. How does the total memory consumed work?

    The total memory consumed by a program is the sum of the memory that is consumed by the program in stack, data, heap, and BSS. To understand more about the address space of a program and the memory consumed.

14. My program doesn’t compile. Why?

  • C/C++
    • Ensure that you are using a compiler that complies with the standards.
    • For example, do not use Turbo C++. Code that compiles in Turbo C++ will often not compile on the online judge.
    • Also, remove ‘conio.h includes’ in your code.
  • Java
    • We support multiple classes and inner static classes.
    • Your code may throw errors if the inner classes are not static.
    • Please note that we will remove this constraint very soon. We will update you when this happens.
  • Other languages
    • The compilation errors that you see on the screen are self-explanatory.

15. Does TLE error mean that my code is correct but slow?

No, Time Limit Exceeded or TLE means that your solution has exceeded the amount of time that is allowed for problem execution or for a specific test case. Your solution never finished running in time and it was stopped in between. There is no definite way to know whether the code was correct.

16. What does Wrong Answer (WA) mean?

WA means that your program ran successfully but gave an incorrect answer. This could mean either of the following:

  • Your program contains a bug
  • You have not interpreted the problem text correctly

Apart from the sample input, your code will also be evaluated against multiple input and output cases. Therefore, even if your code passes the sample input correctly, it may not have passed one of the other input and output cases because of the answer is incorrect.

17. Why is my submission queued?

Your submission is queued because of simultaneous submissions by multiple users. You will receive the result of your submission in real-time as soon as it is processed.

18. Will I receive the results of the challenge? If yes, when?

You can view your ranking on the leaderboard for all challenges in which participation is not confidential. This leaderboard is updated in real-time.

19. Where can I view the solutions for the problems of this challenge?

Once the challenge is finished and the problem has been moved to a practice section, you can view the solutions (editorials) in the Practice section.

20. Why am I seeing a runtime error on the screen?

A runtime error means that the program was compiled successfully but it crashed or exited with an error. The most common error messages include the following:

S. No. Error Description Reason
1 SIGSEGV Segmentation fault error Caused by an out-of-scope array index causing a buffer overflow, an incorrectly initialized pointer, etc.

Signal is generated when a program tries to read or write outside the memory that is allocated for it, or to write memory that can only be read.

For example, you are accessing a[-1] in a language which does not support negative indices for an array.

2 SIGXFSZ Output limit exceeded error Your program has printed too much data to output.
3 SIGFPE Floating point error This usually occurs when you’re trying to divide a number by 0, or trying to take the square root of a negative number.
4 SIGABRT Raised by the program This happens when the judge aborts your program in the middle of execution.

This can also be raised due to insufficient memory.

5 NZEC Non-zero exit code error This message means that the program exited to the shell by returning a value that is different from 0.

For languages such as C/C++, this probably means you forgot to add “return 0” at the end of the program.

It could happen if your program threw an exception which was not caught. Trying to allocate too much memory in a vector.

For interpreted languages like Python, NZEC will usually mean that your program either crashed or raised an uncaught exception.

Some of the reasons being in such cases would be: the runtime errors mentioned above. Or, for instance usage of an external library which is causing some error, or not being used by the judge.

6 MLE Memory limit exceeded error This error means that your program tried to allocate memory beyond the memory limit indicated.

This can occur if you declare a very large array, or if a data structure in your program becomes too large.

7 OTHER Generated when you use too much memory Check for arrays that are too large, or other elements that could grow to a size too large to fit in memory.

Sometimes it can also be generated for reasons similar to the SIGSEGV error.


Avoiding runtime errors

  • Ensure that you are not using variables that haven’t been initialized. These may be set to 0 on your computer, but aren’t guaranteed to be on the judge.
  • Check every single occurrence of accessing an array element and see if it could possibly be out of bounds.
  • Ensure that you are not declaring too much memory. 64 MB is guaranteed, but having an array of size [100000][100000] will never work.
  • Ensure that you are not declaring too much stack memory. Any large arrays should be declared globally, outside of any functions – putting an array of 100000 ints inside a function probably will not work.
NOTE- This Content & Contest Credit Goes to Hackerearth & OPPO TEAM!

Disclaimer: This information is covered based on the latest research and development available. However, it may not fully reflect all current aspects of the subject matter.

Leave A Reply

Please enter your comment!
Please enter your name here

Popular Stories



Join Infomance on Telegram for everyday extra and something beyond.

Subscribe Free & Stay Informed!!

Recommended Stories