We invite you to participate in CodeChef’s Starters 173, this Wednesday, 12th February, rated for users with rating < 2700.
- Time: 8:00 PM — 10:30 PM IST
- Ranking: ICPC Style
Joining us on the problem-setting panel are:
Setters: IceKnight1093, yuvrajKharayat, Proelectro444, sai-17, RighterTheOriginal, Newtech66, Ayush
Testers: physics0523, djm03178, TyroWhizz, bananasaur, targeter2004, Proelectro444, weirdflexbutok, shorya1835, Soumil69, ghoul932, envariant, harshith_04, Prady, Newtech66, abhijain565aj, Tirth11, ShreyHehe, MehtaSaheb, Voiceofthecoder
Contest Admin, Statement Verifier, Text Editorialists: IceKnight1093
Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.
Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here. Hope to see you participating.
Good Luck!
CodeFest is a premier competitive programming event brought to you by IICPC, powered by Hudson River Trading (HRT), co-sponsored by Citadel Securities and Jump Trading with Jane Street, The D.E. Shaw Group and Landeed as Associate sponsors and QuantInsti being the Knowledge Partner.
Codefest is a 3 stage Individual Contest:
- Stage 1 (Prelims) : To be held on Codechef on 12th February 8pm IST
- Stage 2 (Offline Regionals) : 2 Multisite Regionals to be held across 8 IITs.
- Stage 3 (Grand Finale) : To be held in Research Par[user:NAchia]k IIT Madras on 5th April while 6th April 2025 is booked for recruitment round for the firms interested in students through an interview process.
Qualification
There are 400 slots in the Regionals and 50 for the Finals.
- (Prelims to Regionals Qualification) : In the CodeChef Contest, all divisions will have a common Problem set. Top 400 over the aggregate ranklist will move on to the Offline Regionals.
- (Regionals to Finale Qualification) : Top 25 participants from each of the 2 regionals will move on to the Grand Finale.
Prizes
- Certificates for the Top 2,000 rankers in Prelims.
- For Indian Participants: Prize Pool of ~ ₹10,00,000 and work opportunities at our sponsors — Elite International HFT firms (High school, UG, Dual Degree students are all eligible).
- For International Participants: Prize Pool of ₹25,000 to the Top 5 participants in the Prelims leaderboard.
Register now at iicpc.com (plesse clear cache if old website is popping up; new website contains information for Codefest 2025)
More information can be found here — [Invitation] IICPC CodeFest 2025
Congratulations to the Winners
Thanks for participating; results of Prelims can be found on https://iicpc.com/prelimsresults
As a setter, I hope you like the contest.
Waiting
As a tester, shrek wishes you good luck.
hoping to see a good set of problems
Excited for contest
This contest will only take me 5 minutes to complete
Excited ✨✨
Prize pool is only for students? Not for working ones?
Only students are eligible for any Prizes or Certificates
Will I get a certificate if I rank in the top 2,000? I am not from India.
Yes
Should I have to register from IICPC or only codechef is ok ?
You have to register on iicpc.com to be eligible.
Can we fill regional centers choice after Prelims?
You'll be given the choice to edit your regional centre preferences after the Prelims if you are in top 400.
okk
Slots of 400 is for 8 iits total or one iit 400 slots
Top 400 in prelims, will be assigned to 8 IITs — ~ 50 per regional centre
₹10,00,000
Wtf is this number?
Money is flowing.It's 12000 dollars, that's a good amount of money.
Is registration at https://iicpc.com only meant for students? I see a mandatory Graduation Year field which only provides options from 2025 to 2029 and another School option for under-university schooling students.
I will be able to participate directly on CodeChef Starters 173, but I didn't see any eligibility criteria mentioned for registration. I see a comment that only students are eligible for prizes. Please confirm on who should go for registration as well.
Everyone are welcome to participate, for students it's CodeChef starters + Codefest prelims; for others it's a usual starters round.
As a first-time tester, I hope you enjoy the problem set :)
As a setter (love that I can say this!), I hope you enjoy the problems :D
How are you going to make a combined rank list when div4 are supposed to do 3-4 extra problems than div1
"all divisions will have a common Problem set" similar to CF Div1+2
so will the standings for all the divisions will be same during the contest or we will have to wait for official standings after the contest to know if we qualified or not
Ranklist will be separate per each division, you can get a combined one only after the contest ends.
As a organisor, I hope you have fun :)
arpan sir orz
Highlight the part of ranking system that this time it is icpc which is unusual, otherwise people will say again I didn't see that
Reminder: Contest starts in ~45 minutes — https://www.codechef.com/START173
are registrations closed?
Yes
Contest starts in ~30min.
It was a good idea to add the first problem as Time Penalty to make sure everyone knows there is a penalty for incorrect submissions. Appreciate the effort from authors.
IceKnight1093 orz
where to see the leaderboard of all divisions ?
I got WA on test 12 in problem INTROVERTS
my idea was to achieve the main goal
I think the problem is that I didn't handle the case where I have to achieve the secondary goal, am I right ?, or there is something wrong with my approach to achieve the main goal ?
2nd goal only needs to be considered for the first slot. The rest of them are fixed.
Can you explain a bit more on this 2nd goal?
You only need to consider the 2nd goal for the 1st person. It results in the condition that 1 must lie on the end of the array. After that, the maximum closest distance for the entering person will always be fixed (There may be multiple such positions where the person may sit).
Solved. I was taking minimum distance instead of maximum distance. I forgot to use
greater<>
in my set. Anyone did it without max set + min/max Segment tree can share any simpler approach? My ApproachI assume you understand how to pick the first seat. It should be either seat 1 or seat N. Let's say 1st person take seat 1, then the 2nd person has no choice to pick seat N to achieve goal 1. The 3rd person has to take seat in the middle to achieve goal 1. If odd number of seats left, 3rd person has no choice but taking the middle one, If even, there are 2 choices but both of them satisfying goal 2 so he can take either of them. It's not hard to see it will be the same process for the rest of people and once goal 1 is achieved goal 2 is also achieved.
No Idea why my 2^n recursive solution for Cool checker Passes .. I just generated all the subsequences and stopped when i found a average not in B array .. But I thought It would give TLE when we have a big array with all same elements but surprisingly it passed .. I earlier was trying to do it with only distinct elements but it was giving WA (hence tried with all elements later)..
No matter what array you take in 1 of the possible subsequence, there will be always be a single element existing and for that in the complement there has to be the same element that is every element in the array must have a duplicate so just find any element that is repeating more than once. DONE.
actually i was not concerned about the solution of the problem , rather i was thinking how my code works .. If u simply give me an array of 1e5 size with all same elements and array b containing that element My code should surely give a TLE .. But it works somehow .. Are the testcases that weak ?my accepted submission
i think u are talking about the cool subsequences problem .. I was talking about cool checker problem
My Bad. Up-solving this now.
Necropost.
Hey man I finally solved this. I can answer your question now but you probably already have figured it out with the editorial. Just wanted to close this verbal contract.
If the length of the array is actually large and all elements are equal, your code should TLE and test-cases are weak. You can check this for this input. It took around 12 seconds average over 10 calls and MLE so have to increase the stack size.
1 26 1 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345 12345
In the following contest also they had weak test cases which lead me to pass a question with very weak intuition and guesswork here.
But I don't think the testcases were weak , because the next day when I submitted same solution it was giving TLE .. Also the testcase to make it fail is pretty simple and obvious so I think there must be something wrong with compiler or judging from cc end .
I still believe its weak test cases. Maybe some optimization like pre-tests or something during live contests or lazy test cases added post contest after examining buggy solutions. This is actually testable as to why it happened but I have to wait till the next round. I'll update you on Wednesday.
how would u test it ? like what will u do in contest ..
Hi, this it to inform that the Codechef compiler was judging INCORRECTLY during starters 173.
https://discuss.codechef.com/t/codechef-compiler-blunder-starters-173/122723?u=okbla
Kindly look into it as it ruins the contest experience. harshith_04
It's because your code's run time is very close to the TL of the problem. Nothing can be done here.
Do we need to have the same email id linked with the codechef account as the one used for registration?
It is not required; the email is just a point of contact. We'll be verifying cc accounts of the top 400 after removing cheaters.
Please use this form to report any suspicious codes you come across in the IICPC Codefest. If you believe a submission involves plagiarism, multiple accounts, AI-generated content, or any other form of unfair advantage, kindly fill out the details. Your reports will help us ensure fair competition.
https://forms.gle/yRSBRwWgErpteoXJA
Thank you for your cooperation!
Literally > 95% of the submissions of MNMXPRPAR is GPT generated. ATP shouldn't have considered non-DIV1 participants for the regionals.
The problem with this is a significant chunk of coders who can make it to the top 400 are not active / do not have CodeChef handles, so they had to create one and thus participate in Div4.
If it can still be considered maybe you can put a CF rating bound too.
When can we expect the final leaderboard?
Provisional results were released in the IICPC 2025 — WhatsApp Community yesterday, and we are gonna release the final result tonight by e.o.d
Thanks for participating; results of Prelims can be found on https://iicpc.com/prelimsresults