Hello Codeforces!
We (applepi216 and conqueror_of_tourist) are glad to invite you to Codeforces Round 1133 (Div. 1) and Codeforces Round 1133 (Div. 2), which will start at Nov/07/2026 17:35 (Moscow time).
The contests will run for 2.5 hours and have 6 tasks each. Both contests will be rated.
The round may contain an interactive problem, and we recommend recalling how interactive problems work before the round starts.
We want to thank these people, without whom this round would have been impossible:
- 244mhq for the excellent coordination!
- Um_nik for preliminary review of the round.
- users TheOneYouWant and FlakeLCR for proposing problems.
- errorgorn, Adam_GS, AksLolCoding, apgpsoop, YuukiS, dinohaur, ItsNotMeItsYou, misteg168, omsincoconut, oursaco, twosquares, Hori, madlogic, Ritwin, chromate00, Gilwall, conqueror_of_womais for testing and giving a ton of useful feedback!
- MikeMirzayanov and KAN for the wonderful Codeforces and Polygon platforms.
and of course a special thank you to all of you for participating!
The scoring distribution will be released soon.
UPD1: The scoring distribution is released.
- Div 2: $$$500 - 1000 - 1500 - 1750 - 2000 - 2500$$$
- Div 1: $$$750 - 1000 - 1250 - 1750 - 2250 - 3000$$$
UPD2: Congratulations to the winners (possibly subject to change)! We hope you enjoyed the contest!
Div 1
Div 2
The editorial will be posted soon.
UPD3: The editorial is here.









As conqueror of mishai, even I cannot conquer how great this round will be
As a tester, this is a 2x tester comment combo
As a tester, I haven't tested any other rounds except this for the last 9 months
I wanna test some rounds too :sob:
Try dming 40 different people I heard that helps
Cry's new blog: Testing a round: "Please submit your proposal here instead of doing osint to find my contacts or contacting everyone I ever spoken to tell them you want to be a tester."
How long until duyminh finds my private discord account and harasses me to propose a div4 for him
Good idea, pls propose a div4 for mei will say for both rounds I've set, I've gotten DMs from people asking if they can be testers, so it's a fairly common strategy lol.
But how do they know that you are having a round?
it's after I post the annoucement
As a tester, it is rated
I wonder if tourist will participate in this contest lol. If yes, then the author's name will lead to a dramatic scene.
Yes someone really conquered tourist's first place
I wish everyone to reach the level they want.
love this contest as it is my first contest
Open a small account and play Div.2,My large account is mo_mo_yu
Both account banned in 5, 4, 3, 2, 1...
applepi216 could you please publish the score distribution
Posted, sorry for the delay!
thx
if i didnt solved till problem C then im gay ,
if i solved till D then im not lesbian anymore
if i didnt solved till F then im a femboy who loves wrusb
im still lesbian.....
but ur skilled
Bro you're a newbie these standards are unrealistic except ABC I think you might WANT to be a gay lesbian femboy who loves wrusb (nothing wrong with that ofc)
hehehehe
Take back what I said about nothing wrong, loving wrusb is a fate worse than death
but qqrnt rejected me..... only person i have to love now is wrusb.. he is as desperate for love as i am
not even close
hope to comeback to CM right before the ICPC National tomorrow ._.
Honestly, it's a great contest with great problems. C, D, E all look fun, but I'm just having a small brain moment right now. Even A and B were intresting.
What's the Great Wall of China doing between C and D
C fried my brain .. aaaahhhh!!!!
It was just BS on ans
Brute force works aswell. If more than 2 elements exists with max value, no point reversing. if 2 such position exists, only better value that can exists will have reversal boundary at those two positions.else we can use prefix/suffix sum fixing other end to only position of max element.
oh I thought it was not monotonic.. like I can't achieve all gaps possible .. so I guess we have to binary search like can I achieve smaller gap that this value .. is that what you did ??
C>>>>>>
$$$E$$$ is actually easy for me I don't know where my code was going wrong on that one testcase, some off by one error :( I could've solved it
Did not expect to see B as an interactive problem
Thankfully, it was simple
C destroyed my brain
Great contest, thank you!
I refuse to believe D has 236 solves and E has 51 solves in div.1
Hmmm, I agree that 236 and 51 is a bit high. but I really think this Div1 was more like a Div2, ABC are really standard, C surprised me with how easy it was as the trick of l/x rounded down has only sqrt(l) possibilities is really known, I found only DEF to be interesting and I think a lot of people had like 1 hour and 45 minutes to think about D which increased the number of solvers for both problems
ItayKarny Congratulations on achieving rank 11 in your second ever Division 1 contest!
Thanks :)
but this was pure luck as I got ABC intended solution fast and was manage to program with no bugs and I am still shocked that E passed I thought in contest it was n*2^25 but Claude has now proven me it's n*2^21 or something like that so I will take it :))))
I think if I got a WA somewhere along the way I would probably not been able to fully solve E and got way worse place
Buddy your best placement before today on a Div. 1 is 200 and today you get top 11. And yesterday you took 12 tries to solve a div2C. People like you is exactly why there are 236 solves on D and 51 solves on E.
Yes bugs are part of competitive programming???
and when I am not in a competition I submit again for every little change cause there is no harm? and in contest I check things before
I don't do that much CF and yes some contest are more your style and some not?
I agree I probably don't deserve this rank and got lucky and probably will fall down in following div1 but just because the contest went bad for you doesn't mean everyone who passed you is a cheater.
the difference between 200 and 11 is one question and better timing in programing which I just got a good contest where my codes ran with practically no bugs except in E
you can stay grumpy about this one not going that well or just realize there is a lot of people that dont do that much CF but still compete for example me who did SWERC last year and this one, I was in the international training camp in Poland for the ICPC world finals and I am in the Israeli national team of cp
Hope to crash you again in the next round :)
ItayKarny it's ok, I believe you can get more ranks like this if you keep trying hard, and maybe get some coaching from AbdelmagedNour. He was exactly in your position few months ago..
I see that he is coaching the Egypt IOI team?
hopefully we will meet in this year IOI (if I get picked)
I personally don't think you will get picked for some reason.
Don't worry, you don't have to "hope" to crash me next round. I can admit that frontier AI models are stronger at CP than me.
Think whatever you need so you can sleep at night little bro
your thought process is literally, hmm he did better than me, he is lower ranked -> must be cheating maybe try and think that some of us are grinding for the IOI and actually getting better and are not stuck on the same rank since 2024
crazy that codeforces gives IM to someone like that, maybe if you can hold this rank I should even be a GM
Just looked at your code to D, maybe if you would have written something that is humanly readable you would be able to make it pass and not be so grumpy. 2 years of CF to write code like this
BTW you call cheaters on every round, I get that it's your way to get on the contribution leaderboard and it's kind of pathetic
Absolutely wonderful and majestic round (except for E) as contestant, I enjoyed every single problem a lot and also found an overkill sparse table solution for c :3
C < B < A
[deleted] didnt saw ur rating [:wilted rose:], but still was div 1 A really that difficult? i mean im gonna try div 1 B,C if thats the case
you mean A B C from div1? I haven't seen div 2 tasks
Yap he meant Div1 and I completely agree
For me it was quite adamant that difficulty wise C<B<A
A<B<D<<<<<C
problem C :
deadass spent 45 mins on a broken segment tree that does not even pass the brute force the final solution is just binary search on the result, the sunk-cost fallacy really getting my back T_T
Me on every div2 (please help)
Added one extra '=' in my code for div 2 C and cost me 40 minutes trying to debug:(
Solved D quick tho:)
Too hard to implement for A,B,D :(
c binary search ?
Yap,
lets binary search over the answer, the point now that you have all the indexs i where the gap is bigger than mid which is the current value you are checking, this positions force you to split them using the range, so if there are more than 2 you cannot
if there is 2 you must just check that range
if there is 1, you sweep over all possible ends with prefix and suffix maxes over gaps, once when it's the beginning and once as the end
if 0 than it's just works
But in binary search if f(x) is true then f(x+1) must also be true In this problem I don't think that's guaranteed
we do the trick where we are binary searching not over can we make the gap = mid but gap <= mid and then the condition is met
oh i got it now,thanks for the explanation
no problem :)
You can do that without binary search too, 397749402(very bad code tho)
hmmm you claim that you can do the same thing only over the maximum gap in the original array?
yap I agree very nice!
the code doesnt look bad at all I would maybe use a lambda function but it looks fine
Yeah, doing something like
work(a), reverse(a), work(a)would make the code way betterI did not realize for D that the last 2 elements in your subset were always bad for so long and did a overcomplicated dp.
Wow, I'm so stupid that for 1C I thought $$$t \le 5 \times 10^5$$$, same constraint with $$$n$$$, where $$$O(t \sqrt l)$$$ is unacceptable, which made it take me an hour and a half to try binary search that is wrong.
Gonna drop to M or even CM :(
D is so easier than C,which must process binary data(I nearly already simulation on it)
1A 1B 1C are meaningless problems
1D: OK problem
1E: kinda-cool problem
1F: didn't solve
1G: ☠️
k1r1t0 orz
Great problems. Who did use Binary search for problem E. I love BS.
Out of curiosity, how did you binary search for it?
if you decide to make a[n] to x, then a[i] must be smaller than floor((l-1)/x). let alpha(u, v) be the number of operations making v is smaller than u. our task is naturally to minimize F(x) = alpha(x, a[n]) + \sum_(i=1)^(n-1)(floor((l-1)/x), a[i]). each terms of F is convex function. so we can find the optimal point x using BS, which is the first point that F(x) <= F(x + 1).
Oh that's a brilliant solution, though i found it much more natural to just to simply for through X since X <= sqrt(l — 1)
nice round
2.E is much easier than 2.D although didn't give contest but E clicks instantly that no more than 1 can be more than root(l) simply taking min of root(l),2nd largest value and bringing them down one by one (as rootl<=10**(5)) and checking updates needed using prefix sums and binary search works !!!!.
Weak test cases for Problem C — Reverse and Double
Hi @conqueror_of_tourist and @applepi216, I found a weak system test for this problem. My code got AC, but it fails on arrays where the max gap drops at the very end of the array, requiring a left-expanding reversal.
Counter Test Case: 1 6 1 2 3 4 5 1
Expected Answer: 2 (by reversing [1, 2, 3, 4, 5]) My Code Outputs: 3
Here is my Accepted submission for proof: https://codeforces.me/contest/2280/submission/397868999 Could you please add this to the practice test cases? Thank you!
@MikeMirzayanov
Hello,
I would like to request a review of the restrictions placed on my two Codeforces accounts:
I received a warning regarding the similarity between submissions from these two accounts in Contest 2278.
I want to be completely transparent that both accounts belong to me, and I submitted the same solution using both accounts.
I now understand that participating in a contest using multiple accounts violates Codeforces rules. I sincerely apologize for this mistake and take full responsibility.
Competitive programming is very important to me, and Codeforces has been a major part of my learning journey.
I respectfully request you to consider my situation and let me know if there is any possibility of restoring one of my accounts.
I assure you that I will use only one account going forward and strictly follow all Codeforces rules.
Thank you for your time and consideration.
Yees, this is div.2
As a tester, orz 244mhq for coordinating during his honeymoon!
Hello,
I received a system message regarding the similarity between my submission 397757031 for problem 2280E and another participant's submission.
I would like to clarify that I did not knowingly copy or share code with the other participant. I had not viewed their submission before submitting mine.
I understand that the two implementations have significant similarities in their mathematical structure, including the square-root bound, prefix sums, and two-pointer approach.
I am willing to provide further clarification regarding my implementation and cooperate with any review necessary.
I respectfully request that the submissions be reviewed in context.
Thank you for your consideration.
Hello, I received an automated plagiarism warning for problem 2280D (solutions 397778034 and MinhKien/397770345). I want to clarify that I wrote this code myself with the assistance of an AI assistant for debugging and structuring my dynamic programming approach. Because of common AI-generated patterns or standard bitmask DP implementations, my code accidentally coincided with another participant's solution. I did not copy from anyone nor share my code. I hope the coordinators can review this. Thank you!
Hi, my solution 397745510 for 2280B was flagged as coinciding with 14 others. I wrote it myself during the round, locally in VS Code, and never pasted it to ideone or any online tool. The problem’s intended solution is short with two queries like mine, so it's likely for some solutions out of thousands to look similar. My template (MOD written as 1'000'000'007 with the commented 998244353 line, and the same solve() layout) appears in my earlier submissions, like 397623088. Also, I submitted a wrong answer to B before getting it correct 397744572, adding a conditional statement to account for an edge case. Could you please review it? Thank you.
Hello. I received system message in which my solution 397778582 for problem 2280B was marked as coinciding with group of others. I must state this code was written fully by me. The template I used here was my usual one, it appears in lots of submissions I made. I should point out I didn't cooperated with anybody during the round and didn't share my code with others/post it anywhere, nor copied it from any online sources. I find similarity of code structure just a pure coincidence, and prepared to offer further explanation. Hoping to receive a review on this. Thank you!
Dear Codeforces Administration,
I am writing to appeal the plagiarism accusation regarding my submission 397755943 for problem 2280B.
I would like to firmly state that I did not copy, share, or obtain my solution from any other participant. I independently developed the algorithm and wrote the entire code myself.
I understand that Codeforces takes plagiarism very seriously, and I fully respect the platform's rules and integrity. However, I believe this similarity detection may have incorrectly identified my submission as plagiarism.
I did not intentionally or unintentionally obtain another participant's code. The solution was the result of my own reasoning and implementation.
I would sincerely appreciate it if the administration could manually review my submission and the circumstances surrounding it before reaching a final conclusion.
I am willing to provide further explanations of my algorithm, implementation, and problem-solving process if necessary.
I have always valued fair competition on Codeforces. My account represents my own efforts and progress as a competitive programmer, and I have never had the intention of compromising the integrity of a contest.
Thank you for taking the time to review my appeal.
Sincerely, A concerned Codeforces participant
Hello. I received system message in which my solution 397774262 for problem 2280D was marked as coinciding with others. I would like to firmly state that I did not copy, share, or obtain my solution from any other participant. The template I used here was my usual one, it appears in lots of submissions I made. I should point out I didn't cooperated with anybody during the round and didn't share my code with others it anywhere, nor copied it from any online sources. I find similarity of code structure just a pure coincidence. I have always valued fair competition on Codeforces. My account represents my own efforts and progress as a competitive programmer, and I have never had the intention of compromising the integrity of a contest.
Thank you for taking the time to review my appeal
Hello Codeforces Team,
I recently received a notification stating that my submissions in Codeforces Round 1133 (Div. 2) were skipped due to a rules violation.
I want to clarify that I solved all the problems fairly and independently, without copying code or violating any contest rules.
My rating was updated approximately two days before I received this notification. The message does not provide any specific reason or indicate which submission was flagged.
I kindly request you to manually review my submissions and reconsider this decision, as I genuinely believe I participated fairly.
I would also appreciate clarification regarding the reason for this violation.
Thank you for your time and consideration.
Hello Codeforces Team and Contest Organizers,
Handle: taha_bayat_ir
Contest: Codeforces Round 1133 (Div. 2) — 2280
Submission IDs: - A: 397749141 - B: 397756699, 397758464, 397762203 - C: 397778763
I am writing to respectfully request a manual review of my submissions in Codeforces Round 1133 (Div. 2).
I recently received a notification stating that all my submissions in this contest were skipped due to a rules violation. However, I was not provided with any specific explanation regarding the violation.
I would like to clarify that I independently solved problems A, B, and C during the contest. I did not copy code from other participants or intentionally violate any contest rules.
I also used my own personal coding template(you can see that in this submission 397719472), which I have consistently used in my previous contests. My coding style, structure, and implementation habits are based on my own experience and previous work.
I fully respect Codeforces' rules and understand the importance of maintaining fair competition. However, I genuinely believe that my submissions were written independently, and I would appreciate the opportunity to have this decision reviewed.
Could you please clarify which specific rule was violated and, if possible, provide more information about the reason behind this decision?
I would be happy to provide links to my previous submissions using the same personal template, as well as any additional information that could help verify my case.
MikeMirzayanov, could you please review my case?
Thank you for your time and consideration.
Best regards,
taha_bayat_ir
hii
Hello Codeforces Admins,
My handle is NullInTheHead, and I'm writing to request clarification and a manual review of my participation in Codeforces Round 1133 (Div. 2), Contest 2280.
I recently received a system notification stating:
"Your submissions in contest 2280 — Codeforces Round 1133 (Div. 2) were skipped because of a rules violation."
Upon checking my submission history, I noticed that all four of my contest submissions (397749198, 397755201, 3977554601, and 397755934) have been marked as
Skipped, and my participation is classified as "Out of competition."However, I haven't received any further explanation regarding the specific violation, the submission that triggered it, or the rule that was allegedly violated.
I would appreciate it if the admins could:
I take contest rules seriously and have no intention of gaining an unfair advantage. If any of my submissions were flagged due to code similarity, I would appreciate the opportunity to understand the basis of that decision.
I'm not asking for special treatment, only transparency regarding the action taken against my account and a fair review of the situation.
Thank you for your time and consideration.
Regards,
NullInTheHead
My Codeforces handle is P069B.
I recently received a notification stating that all my submissions in Codeforces Round 1133 (Div. 2) were skipped due to a rules violation.
I believe this may be a false positive, and I would sincerely appreciate a manual review of my submissions and the decision.
If the administration believes that a violation has occurred, could you please clarify the specific reason and the rule that was violated as this was not specified in the message?
I would be grateful if you could review my case and provide clarification.
Thank you for your time and consideration.
Regards, P069B
I believe it's quite reasonable 397760842 397736832
I understand your concern regarding the similarity. However, I arrived at this implementation independently and don't know the other contestant. I would kindly request you to consider the possibility of independent implementations. I would really appreciate your consideration.
@MikeMirzayanov Could you please clarify what rules violation caused my submissions to be skipped? I'd appreciate a manual review and some insight into what went wrong. Thank you.
Hello Codeforces Team and Contest Organizers,
Handle: Rohit_Ranjan029
Contest: Codeforces Round 1133 (Div. 2) — Contest 2280
I recently received a system notification stating:
"Your submissions in contest 2280 — Codeforces Round 1133 (Div. 2) were skipped because of a rules violation."
The affected submissions are:
However, I have not received any specific explanation regarding the violation, the submission that triggered the action, or whether my code matched another participant's submission.
I would like to clarify that I wrote my solutions independently during the contest.
My coding workflow was: - I wrote my code using the Xodeforces browser editor. - I manually copied the code. - I pasted it into the Codeforces submission page and submitted it.
I did not use the extension's Quick Submit or online code execution features.
I also want to mention that I briefly accessed my own Codeforces account from my mobile phone using a different internet connection during the contest. At that time, I received a temporary block message. I am unsure whether this incident has any connection to the current decision, but I wanted to mention it transparently.
I respectfully request the administration to:
I fully respect Codeforces rules and have no intention of gaining an unfair advantage.
I am not asking for special treatment. I am simply requesting transparency and a fair review of my participation.
@MikeMirzayanov, could you please look into my case and provide clarification?
Thank you for your time and consideration.
Regards, Rohit_Ranjan029
Hello Codeforces Team and Contest Organizers,
Handle: cloudedchina Contest: Codeforces Round 1133 (Div. 1)
The affected submissions are: Problem A: 397747157 Problem B: 397757822 Problem C: 397765269
All of these are marked Skipped, and my account has been disabled. I have sent a detailed appeal to [email protected], but I'd like to request a manual review here as well, in case it helps.
I'm happy to explain the reasoning and implementation process for any of these submissions line by line.
Thank you for your time.
@MikeMirzayanov
Hello Codeforces Administrators,
My handle is Shoonya and i got a notification that my submissions in contest 2280 (Codeforces Round 1133 Div. 2) were skipped because of a rules violation.
I would like to know what triggered this. The notification does not say which submission was flagged or which rule was broken so i am not sure what went wrong. I wrote all my solutions myself during the contest and did not share my code with anyone.
My submissions: Problem : https://codeforces.me/contest/2280/submission/397738386 Problem : https://codeforces.me/contest/2280/submission/397751202 Problem : https://codeforces.me/contest/2280/submission/397769561
Please can you do an manual check of these submissions and tell me the reason behind the skip. I am happy to explain my approach for each problem if that helps.
Thank you for reading. Shoonya
Dear Codeforces team,
I would like to appeal the similarity warning received for my submission 397755437 on problem 2280B.
This is an interactive problem, and there is only one intuitive approach to solve it. I believe this is why the automatic similarity checker produced a false positive alert. There are several noticeable differences between my code and the matched submission: 1. I included ios::sync_with_stdio(false); cin.tie(nullptr); for faster input and output, together with definitions of "ll" and MOD, which do not appear in the matched code. 2. My variables are named x and y, while the matched submission uses cnt. 3. The arrangement of conditional branches and input reading logic are different.
Additionally, you may look at my submission record in this contest. I had multiple wrong answers on test 2 before I passed the problem. This shows that I worked out and debugged the code on my own during the contest. I did not copy any code or communicate about this problem with other participants. I sincerely hope you can review my case manually and consider removing this warning.
Thank you very much for your time
Hello Codeforces Team and Contest Organizers,
My handle is CVR07, and I participated in Codeforces Round 1133 (Div. 2), Contest 2280.
Recently, I received a system notification stating that my submissions in the contest were skipped due to a rules violation.
All seven of my submissions have been marked as Skipped:
However, the notification does not specify the exact reason for this action or identify which particular rule was violated.
I respectfully request clarification regarding:
I would appreciate it if the decision could be reviewed and the specific reason communicated to me so that I can understand what happened and avoid making the same mistake in future contests.
Thank you for your time and consideration.
Handle: CVR07