Oh hello there. I, chromate00, am back! Oh no, I hope you are not misunderstanding me, I'm not pulling a joke on the announcement this time. I'm too busy for that right now. So here's the (mostly copy-pasted) announcement of Codeforces Round 1080 (Div. 3).
Anyways. Starting from Feb/15/2026 17:45 (Moscow time), you will be given $$$\mathbf{7}$$$ or $$$\mathbf{8}$$$ problems to be solved in $$$\mathbf{2.5}$$$ hours.
The round will be hosted by rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of open hacks. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution but the usual penalty of 10 minutes for each wrong submission, following the rules of educational rounds.
Remind yourself that only the trusted participants of the third division will be included in the official standings table. As it is written by link, this is a compulsory measure for combating unsporting behavior. To qualify as a trusted participant of the third division, you must:
- take part in at least five rated rounds (and solve at least one problem in each of them)
- not have a rating of 1900 or higher at any moment in time.
Regardless of whether you are a trusted participant of the third division or not, if your rating is less than 1600, then the round will be rated for you (unless you register unrated).
Also, note the rule restricting the use of AI. If you are caught while breaking this rule, you will be sent to cry's new basement on Mars without oxygen.
This round is made possible by the help of the following people:
- Vladosiya for coordinating the round (and translating the statements);
- Proof_by_QED for his continued support;
- Dominater069 for red-black testing;
- awoo, __baozii__, catgirl, ttamx, sammyuri, Intellegent for red testing;
- Arpa, omsincoconut, spike1236, beaaaan, -firefly-, temporary1, turska, Friedrich for yellow testing,
- SpyrosAliv, reirugan, tin.le2, yse; YamOCHca, conjectureguy, Edeeva for purple testing;
- ananthak, Ermiooo159, my_bloody_valentine, ai4youej, itz_pabloo, bestial-42-centroids for blue testing;
- ALnQ417, ne_justlm for cyan testing;
- MikeMirzayanov and KAN for great platforms Codeforces and Polygon.
I hope that you will enjoy the contest. Good luck and have fun!









First!
obligatory tester comment
obligatory tester reply
As not a tester, it is unlikely that there will be any aliens participating in the round
As an alien, I will call forth my alien friends to disprove your comment
wow are you a real alien? so many people lie on the internet about being aliens
i can confirm it he is a real deal
Do you live in the new basement on Mars without oxygen.
How you can see this basement or how to see the list of people in here?
krr-tchk
I am glad to see that we can finally stop paying insane costs to keep cry's basement on Earth; rent on Mars is probably much cheaper, and we can funnel the money saved into cry's gacha addition
As a continuous supporter of chromate00, what does it mean?
https://www.tiktok.com/@realrealjapanese/video/7596724940397727006
I just got the joke after 5 hours...
whats it?
I didn't
As a Tester, I don't know how to farm contribution
Just comment like __baozii__: "As a tester, give me a contribution" and then, you will get many contributions (p.s. be GM or above if you want more)
Does anyone care?
As a tester, Chromate = Chromaid.
Wish to enjoy the problems
as a tester, i can confirm having no oxygen in basement is not fun
As a tester, I tried to pretend not to have tested.
As a non-AI user I hope I can reach to cry's basement
There's no oxygen there, are you sure you want to go?
Have you prepared for oxygen?
I will bring some KMnO₄, Na and HCl before I’m sent to cry’s new basement.
I can sell oxygen tanks there for free.
Humans can 'cry' to create Na. you can save on some supplies
I think I should bring some N to.
++
GLHF!
damn cry does have a basement on Mars while Elon Musk couldn't even fly to it
2.5 hours is perfect: 30 minutes solving, 2 hours staring at WA on problem C.
As a tester, I can confirm there are no problems with the problems, the test cases test cases, and the time limits limit time.
As a participant, I can ensure that when you're just a few rating behind to reach a new rank, you can't trust the authors, even if he is your friend. xD
cry should tell Elon Musk how to build basements on Mars
i think we can safely assume there will be 8 problems. if that was not the case, they would have made a 6 7 joke. right?
There may be 6-7 or 8 problems
There may be $$$N^*$$$ problems
so, about that,,
I liked the part with cry's basement on Mars <3
as a non-tester i think that the problems will be about space (i think so)
you will be given 7 or 8 problems what is this ?? can you tell exact no. of problems
it's probably 8, no way someone would pass up on a 6-7 joke.
As a tester, when did i test this?
cry Congratulations on getting a new basement on Mars. Did you have a contract with Elon Musk?
ahh, another Div3
I'm so happy to tell you that Mars is my hometown, will you send me back to my hometown and reunite with my great-great-great-great-great-great grandma?
If you cheated on purpose to visit Mars, you will have to wait until cry builds a basement orbiting Uranus
Oh no, that's so bad. I'm so afraid. I'm crying. Wu wu wu.
the basement is so big, bros anus is the one orbiting
So that's too bad.
chromate00 want to invade my underpant. I'm so afraid. I'm crying.
Orbiting his what? 😭
Best of Luck everyone
When will there be cry's digital basement?
Every time you use AI in a Div3 round, a puppy dies
.
Cat agenda
It's my first competition, and I hope I can get a good grade.
Can I go to mars now?
Can I take some KMnO₄, HCl and Na before I’m sent to cry’s new basement?
Can I sell oxygen tanks there for free?
idk how you would get your "oxygen" tanks in the first place. Are you going to photosynthesize there
Change in time?
Yes contest will start from 8:15 pm IST
yay. got more time to finish the homework
Nice. I'll have more time to have breakfast.
what does 7 or 8 problems even mean?
it means that there could be 7 or 8 problems lmao
why wont they just say the exact number of problems?
One more day until Lunar New Year, and this contest is really special. Happy Lunar New Year, everyone!
Happy Lunar New Year!
I'm here to participate in order to prepare for staying up late tomorrow, when I'll watch the Spring Festival Gala from the beginning to the end......
Sieve of Eras67 , Absolute Cinema and its test case 69 420.... XD
This contest truly is Absolute Cinema
lets goo
loved the choice of numbers by authors
Mathforces !
Yeah, this contest really need logical thinking in math.
how does ts segfault (it has smth to do with negative numbers i think but i legit have no clue (even commenting out everything other than the I/O still segfaults btw) spoiler for f btw
btw im aware this would tle, i wanted to make sure the MIS implementation worked before implementing the randomised nlogn one (also shown on the wiki reference i linked)
upd: holy fk im dumb (i was running the samples on Problem E still lmao
I felt E was much easier than D if you know basic tree.
Agree, I think I can do E if I know how to set up a binary tree ;((. Also, is that mortis?
There is a morris traversal if you meant that by mortis. But it was a simple
inorder traversal with counting number of nodes below the current node,
really?
i dont have any oppinion about E
D = just guess
I'm not good at math, so I realized $$$F$$$ is not a classic maximum size clique problem, and has to do something with arranging the quadratics in some way, and doing $$$O(n^2)$$$ DP, but couldn't figure out how. Had to move on to $$$G$$$ instead, where my "recursion by walking on the tree for every query" TLE'd on test 16. Sadge :(
Good problems though, thanks for the round chromate00
How can D have so many acc?
It was easy math based, If you observed and calculated f(x),f(x-1),f(x+1), You would get it. The idea to calculate f(x),f(x-1),f(x+1) was that the modulus would be same around +1 and -1 of x.
Screencast: https://www.youtube.com/watch?v=jDJe_e2jF3M
how to do pF ? I tried to build a DAG like this
and I used DFS to get the longest chain the node at, but I got WA at test 2
There were some Einsteins on the exam.
J1_1_1 Be_ast MaxLim overlord_god
Is Binary Lifting involved in Problem G ?
I had the same intuition to reach the highest ancestor which can be reached in time <= querytime but then again i went blank on how to find the exact node we'll reach with leftover operations
How to do F?
lol..it's great problem list _great work guy,thank u!
The quality of problems is soo good here
F was a damn good problem Got to learn longest-chain and MIS in graph is a thing
SOOOOOOO MANY CHEATER HOW TO SAY THEM
TheKrrish -->look at just the codes
Adham
AbhiIron
bro they are einstein assdasdas
really!, I didn't understand, how ppl who solve A-E under 2 hours get only 1500 performance (according to carrot)
I solved A-E in 01:16, guess my rank.
I know you are cheater,but I just can't prove it yet
Sure buddy, whatever helps you feel better :)
That's mai boi
probably 1800+. I bad to imagine how larger (then my) rating distributed
1500 lol
YARISDA EINSTEINLER VAR IDI
after looking at problem A : "67" , most of time "67" meme was running in my head
Had fun. This Was the best contest till date for me.
So you have not seen a contest
I agree with you
what is really cry's basement and how to apply sb to these basement. This contest wasn't not a contest. it was just Cheater pool
Very creative problemset, E and F are very good! Thanks.
Was able to find the number of triangles 3N^2 for H but , it was a great adhoc to deal with , Golovanov399 's solution is very nice ^-^
I should go to cry's basement rather than doing bad performances in every contest.
Easy $$$O(N \log N)$$$ Solution for B. Heapify 1
cool!
damn it's very clean and easy solution
Can i go to the mars if i submitted AI-WA code? I asked AI to give me WA code.
absolute cinema
Beautiful contest
《Also, note the rule restricting the use of AI. If you are caught while breaking this rule, you will be sent to cry's new basement on Mars without oxygen.》
Я списал в див 3 никто незаметил вхахахахаххахах
Я списал в див 3 вхахахахахаххах
As a tester, I did test and I hope you enjoyed the round :)
There maybe some weak test case in B.
Check the following accepted solution against the test case:
1
19
1 2 3 4 5 6 7 8 19 10 11 12 13 14 15 16 17 18 9
Accepted code(but gives wrong answer): https://mirror.codeforces.com/contest/2195/submission/363212158
For problem H, generating 27 triangles for 9x9 is not an easy task just using pen / paper.
I wrote a seperate bruteforce code for 9x9 case, and with some backtracking and pruning i could find a solution for 9x9 in roughly 20 sec. Then I hardcoded this in my main solution as mentioned in editorial.
Is this actually expected, did anybody find 27 triangles just by pure pen/paper method. If yes, do share your idea, how you actually found those, was it just by pure luck, or any logic involved.
I think most of the testers and myself did just spend their time with pen and paper (it was kind of fun)
There maybe some weak test case in B.
Check the following accepted solution against the test case:
1
19
1 2 3 4 5 6 7 8 19 10 11 12 13 14 15 16 17 18 9
Accepted code(but gives wrong answer): https://mirror.codeforces.com/contest/2195/submission/363212158
well I could not account for every wrong solution for this spot (I cannot fit so many test case here or the judge queue would have died during the contest)
that's what the hacking phase is for, no?
As a tester, I forgot to post some outdated memes here before the contest.
Hi, i cannot see any change in my rating post this contest, could someone tell me why is that so?
The system tests had just finished, probably the rating changes may roll out in a few hours
okay, thank you
chromate00 you are so cute
It's a pity that the competition is unrated.
Wait what??
Yes, The competition is unranked. +1 please
sure buddy, I got You :)
Oh, Thank you bro
It's not, it just takes time for the rating changes to roll out...
the topic of trees is very complex
Hi. I've registered as for the rated part and I have been solved 4 problems, but my rating is not changed!
Normally, for a Div.3 contest,it will change your rating in 24-48h after the contest.
Well it's now about 10 hours that the contest hacks are closed an contest is officially finished. So as you said I should wait till night or maybe tomorrow. BTW thanks.
Easy O(n) solution for B
As a human,give me contribution!
HELLO MY NAME IS CRISTIANO RONALDO SIUUUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
lie!!!It is a student
Hello,
I would like to ask for a manual review of my submission for 2195F, since it was flagged for similarity.
During the contest, I approached the problem from a mathematical point of view. For two quadratic functions f and g, I looked at their difference:
This is also a quadratic, and I used the fact that if two functions never intersect, then h(x) has no real roots, which means the discriminant is negative (or the degenerate case when both A and B are zero).
From there, I treated this as a kind of ordering between functions and applied a simple O(n^2) DP after sorting them. I computed the longest chain ending at each function and starting from each function, and combined both values.
I didn’t explicitly build a graph; I just used nested loops and a direct comparison function.
I understand that this approach is quite natural for this problem (checking discriminant + DP), so I can see why multiple solutions might look similar structurally. However, I wrote the code independently during the contest and did not share it or use any external sources.
I would really appreciate it if my submission could be reviewed manually.
Thank you.