Code Golf is a competitive programming event where participants aim to solve programming problems using the shortest possible source code. The challenge is to write concise, elegant, and efficient code to accomplish a given task. The team with the shortest code length wins the tournament.
Event Details:
Round 1:
- Python is the only programming language allowed.
- Each team will be allotted a fixed number of credit points before the round starts.
- Participants are not allowed to access the internet during Round 1. However, essential Python documentation will be provided to all participants.
- Some constraints (for e.g., which functions you cannot use) will be communicated on-spot and per problem statement basis.
- Code length is measured in terms of the number of characters, including whitespace and newline characters, but excluding tab spaces.
- Each problem in Round 1 will have a time limit of 10 mins (3 Problems in total). Participants must prioritise brevity and efficiency to complete the challenges within the given timeframe.
- Length of the code will be deducted from the team’s credit bank & Top teams move on to Round 2 with all teams getting a bonus of credits (amount of credits will be decided during the event)
- Intermission - Credit Trading: Teams that have credits left above a certain specified limit can trade credits left after Round 1 for extra time in Round 2. The decision to trade credits must be made collectively by the team.
Round 2:
- Participants are not allowed to access the internet while writing code in Round 2 as well. The twist phase may involve internet access for a specific purpose, but this will be clearly communicated.
- A surprise twist will be introduced during Round 2, challenging participants to adapt. Details of the twist will be revealed during the event.
- Code length is measured in the same manner as Round 1. Participants should aim for concise and efficient code, considering the twist introduced and also the time constraint.
- Code length will be deducted from the remaining credits from Round 1 and the team with the highest net credit left will win.
Rules and Regulations:
- A team must consist of 2 participants.
- All the participants must be from the same college.
- Participants must present a physical college ID card and PID to participate in the event.
- The decisions of the judges and organisers will be final
Judging Criteria:
- Code length is measured in terms of the number of characters, including whitespace and newline characters, but excluding tab spaces.
- Length of the code will be deducted from the team’s credit bank
- Times and space complexity of code or the time they took to solve the problem may also be considered in case of tie.