PDF Login Register Search

Hunt the code


The idea behind this event is to figure out the "MYSTERY". In other words, the participants are given an executable program and are asked to perform reverse coding, that is, to develop the source code. The event will test your basic logic skills along with pattern analysis and recognition as you play with the code and try to decipher it.

“Two and Two makes four“ This will prove in pipeline coding. The link between one result and another must be understood to achieve success.

Prizes worth INR 20000


Date: 3rd March 2018

Time: 2PM to 3:30PM

Venue: LH01, LH02


Date: 4th March 2018

Time: 10AM to 2PM

Venue: CA-Lab(CSG Dept)



●     There will be three rounds. The first round will be offline as a pen and paper mode. It will contain C and C++ , data structures, and algorithms multiple choice questions. The number of questions will be 40 and a time of 1 hour will be given.

●     Those who qualify the first round can attempt the second round. In this round, participants will be provided with an executable file and they will have to perform reverse coding. They will have to test for different inputs and outputs. Finally the source code is to be generated. The round will have five such questions.

●     The third round will be online. It will contain Pipeline Coding. There will be five questions.




In the Preliminary Round, the best (20-30) top scoring teams will be selected for the second round.

In the second Round, the Top 10 teams will be selected for the final round.

In the Final Round, the top 3 teams will be selected as winners based on their scores and the efficiency and optimisation of the code developed.


Find even or odd number without using any % operator and any conditional statement like if else


int main()


   int no;

   printf("Enter a no: ");

   scanf("%d", &no);

   (no & 1 && printf("odd"))|| printf("even");

   return 0;



1. What should be the size of the team?

A team can have a maximum of 2 members.

2. Do I need to be an experienced programmer?

No. Most questions will be solvable by having clear understanding with basic concepts of programming. However, having some experience is recommended.

3. What languages are allowed for the final round?

C or C++.

4. What language will the written round (Preliminary Round) have?

Most questions will be of Debugging and input-output type, without any programming. But if programming questions are present, they will be in C/C++.

5. Do we need to bring our own computer systems for the event?

No. The Preliminary Round will be a written round. For the Final Round you will be provided with computer systems.

6. Can we use Third party libraries for the programming questions ?

Third party libraries are not expected and their usage will not fetch any points. Do not use them, unless explicitly specified during the event or in the question.

7. Can we use Disassembler tools for the Final round ?

Disassembler tools will not be provided for the final round. Participants will have to rely on their analytic skills to reverse-engineer the source code of the given executable file.



  • Each team can have a maximum of two members.
  • Third party libraries will not be accepted and will not fetch any points.
  • Only C and C++ languages are allowed.
  • Disassembler tools will not be provided for the second and third round. Participants will have to rely on their analytical skills to reverse-engineer the source code from the executable file .
  • Results of the rounds are not subject to discussion and the judges’ decision will be final.


Devkaran Chouhan 9977787399 or  8319796737

Or email us at huntthecode@pragyan.org

You must be logged in to fill this form. Click here to login.