Greetings, Codeforces Community!
We, the Programming and Algorithms Group, are excited to invite you to our upcoming event, Insomnia 2025! This event is proudly sponsored by Hilabs as our title sponsor, with support from our cherished alumni as co-sponsors.

Format
Insomnia 2025 is an ICPC style team contest where you would be given 10-15 problems in the span of 5 hours, for teams of at most 3 members.
- Date & Time: Saturday, March 1, 2025, at 20:00 IST
- Mode: Online
- Platform: Codeforces, Contest Link
- Registration Link
- Eligibility: Teams of 1-3 Members and Participants may use their own computer (No 1PC per team rule)
- Prizes: Total Prize Pool: 1L INR (84k INR for the top Indian Teams and 16K INR for the top 3 IITR teams)
Only teams comprising of Indian Undergraduate or Postgraduate students are eligible for prizes, but everyone is welcome to participate. It is compulsory to register on Unstop to be eligible for prizes.
Sponsors
None of this would have been possible without the support of sponsors.
- HiLabs: Our Title Sponsor, Health Innovation Labs is an leading AI-powered Health Tech company that delivers technology with the ROI — Return On Intelligence — that health plans need and better access to care. They specialize in converting dirty data into a valuable resource for improving member experiences and increasing efficiency, and they do it on day one, so health plans can magnify the power of data to improve member experiences and deliver results. You can visit them here.
- PAG Alumni: Thanks to our dear Alumni for contributing to the event as our co-sponsors.
Organizing Team
- The problems have been set by shorya1835, ho-oh, Divine_Spark, CodeLegendX, Ridham., friedel, pramod_17, Cypherre, Krishbansal333, and krishsingla06.
- Thanks to our dear testers: IceKnight1093, Arpa, cry, wuhudsm, Timosh, BreakingGood, Maxima, Ved, sanju77, parthtotalfun, doofushmirtz, Krabbypatty, binary_bae and CatFirstSearch.
- Thanks to Prady, aastik231205, Darsh_Jain, God3l, HackerGupta069, Onslaughtz, and Rem_ for their help in preparing the contest.
Good Luck!!!
UPD 1: The contest is up for registeration now!!! Please note that the usage of AI tools in any way is completely prohibited and will lead to disqualification.
Also, one or more problem can be interactive. So, refer to this blog for more details on how to submit interactive problems.
Please make sure to use fast input/output in your code at all times. For example in C++, The following line should be there:
ios_base::sync_with_stdio(false);cin.tie(NULL); cout.tie(NULL);
UPD 2:
Thanks to everyone for participating, we have removed a lot of AI and plag submissions during contest and will keep checking the submissions and verify the winners. Also, kudos to jtnydv25, for full solve and scaring the s__t out of us by solving M in 19 mins.
I apologize for the AI solutions in H, it was a last minute change and we didn't check it thoroughly, but we have gone through submissions and removed a lot of them which were clearly AI Solves.
Video Sol by Arpa. We will also post an official text editorial soon.
UPD 3:
We have posted an official text editorial here.
We have our midterm exams incoming, so, final result will take sometime as we are yet to run some checks.
UPD 4:
Sorry for the delay, we have finished verifying the winners and here are the final prize winners:
We will reach out to the winners soon to distribute the prizes and Also, Note that all decisions taken are final and binding.








Auto comment: topic has been updated by shorya1835 (previous revision, new revision, compare).
as a member of PAG I approve of this post. I would also like to say — cfbr
As a problem setter, these problems hold divine powers—let’s see who can conquer them first!
Since 24k INR is being distributed evenly between all the problems, is it safe to assume there will be 8/12/24 problems or are we pulling off a red herring here? :)
Or maybe it's reverse psychology :)
well why does amount per question have to be an integral multiple of 1k?
As a Problem Setter, I surely say that the problems are really interesting and fun to solve.
As a member of PAG, I am excited for the problems my peers have designed and tested. All the best everyonee, it'll be fun
theme reveal wen?
Huge prize for non-IITR teams. Respect++
Awesome hope able to solve any problem in one go.
Answering some common doubts i have been getting:
1) Team members can be from different colleges.
2) Non-Indian teams are allowed and welcomed to participate, but only Indian teams are eligible for prizes.
If a mix of Indian and Non-Indian participants are in a team, what are the consequences!
All members have to be Indian for prizes :(
Sorry I was not clear, all fellow team members are my college mates and maybe International.(is that allowed and I am in an Indian College)?
As long as all of them are in an indian college and one of the members is an indian citizen.
Bro's phone number got leaked worldwide
As a member of PAG, I ensure everybody that u will love the problem set prepared by us... :)
could you guys reduce the prize money so there's less competition :P
Sadly no :(
hehe :P
could you guys ban weirdflexbutok so there's less competition :P
banned for being too powerful
is Dominater069 allowed to dominate here??
so excited that i CANT SLEEP
well, the contest is named Insomnia for a reason ;)
The contest timings are chosen this way for a reason..
Excited for the contest
As a Problem Setter, I surely say that the problems are amazing! You are gonna enjoy the contest!
As a member of PAG, I can ensure you that the problems in this contest would put your brain in debug mode and optimize your thinking.
Feels like a copilot comment:/
As a problem setter, I can assure that you will find the problemset interesting and learn new ideas.
Excited for the contest
As a contestant I hope to solve a few problems.
Good Luck for the contest! :)
Best of luck to everyone..
As a problemsetter, I challenge you to full solve the problemset:)
As a PAG member, I can assure you that while you may not solve every problem, you'll definitely learn something.
Can i win multiple first solve prizes ??
yes you can but if your team is in overall top 3 or iitr top 3, then you wont be considered for first solve prizes
Looking forward towards this amazing initiative by PAG. Excited!!
Best of luck! Hope you enjoy the contest ;)
I also tested the contest. Hope you enjoy and get ready for the Asia West Continent Championship.
Hi, how do I register individually?
Make a team of only one person in your profile.
I did that. But in the code forces contest link where it says to register, it says to only register as a team member.
Did you choose that team when trying to register?
In the drop-down list that came alongside, there was no option. I could not select any team, let alone mine.
Create a team in codeforces first, dont add anybody else in your team just register your solo team for the event.
I did that. Made a team of myself, and registered it.
Not On unstop, i went to your profile and still see no teams, you haven't created one.
Then where do I create my team?
Cf Profile -> click on teams tab -> click on create new team
Please Help me. My team name is not coming in the team dropdown box in registration page.
I am unable to access the contest !!!
What should I do, what have you done ??
How to solve B?
()
please make others solutions visible to everyone!!