
Hello Codeforces!
We’re excited to welcome you to the upcoming DeepInfra Round 1 🚀
At DeepInfra, we’re building high-performance AI infrastructure that makes running the world’s best AI models fast, reliable, and accessible. We operate across the entire inference stack — from GPUs all the way to the API — and we care deeply about performance, efficiency, and solving hard engineering problems.
Our team had great experience with being part of Codeforces and competitive programming community — PERNEKHAN, yessenzhar, Zharaskhan, Johan.de.Ruiter, rmn and many others. One of them even participated in Codeforces Beta Round 50 (so we're kinda OG here xD). That’s why we’re excited to be hosting this contest. We love meeting people who enjoy tackling challenging problems, thinking creatively, and pushing themselves technically.
We’re growing, too! DeepInfra is headquartered in Palo Alto, California, with an office in Sofia, Bulgaria, and we’re hiring software engineers and interns. If you enjoy this kind of problem solving and want to work on challenging systems at the intersection of AI and infrastructure, we’d love to hear from you.
To apply for Software Engineering interns and full-time positions, fill in the application form and we will be in touch.
Learn more about us and what we’re building on our website.
Join us on Oct/10/2026 18:05 (Moscow time) to win great prizes:
- Top 3: 1000 USDT + merch
- 4-6: 250 USDT + merch
- 7-10: 150 USDT + merch
- Random 10 from the top 100 (excluding top 10): merch
Good luck to everyone competing — have fun, and we’ll see you on the leaderboard! 🏆
— The DeepInfra Team

By K1o0n,
3 days ago,
translation,

Hello! We invite you to participate in Codeforces Round 1125 (Div. 3), which will take place on Oct/07/2026 17:35 (Moscow time).
This will be a Division 3 round. You will be given 8 problems, authored by me and polished to perfection with the help of Noobish_Monk and Gornak40, as well as 2 hours and 30 minutes to solve them.
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.
We remind you that only trusted participants of the third division will be included in the official standings. This is a necessary measure to combat unsporting behavior. To qualify as a trusted participant of the third division, you must:
have participated in at least five rated rounds (and solved at least one problem in each of them)
have never had a rating of 1900 or higher.
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).
Note the rule restricting the use of AI. Previous announcements have already tried to scare you, so we will carry on the tradition: if you are caught breaking these rules, you will be sent straight into Gornak40's enclosure with the enraged gorillas.
I would like to thank the following people:
Gornak40 for coordinating this wonderful round and destroying my long problem statements...
Noobish_Monk for giving feedback on at least 50 problems before anyone else even got to see this round...
KseniaShk, cry, snowysecret for yellow testing of the round.
TheTitan008, Nogaybica, MrKisame for violet testing of the round.
Mr.Backender, chromate00, OG_Maksimchick4, plushka_m for blue testing of the round.
Kolyanchick, Everes, Dan1l0s, Hooded_Hood for cyan testing of the round.
SqwoM, myav, naakinn, ChernovVladimir for green testing of the round.
shishko.av, Margaryan_Armina for gray testing of the round.
zetrock1 for unrated testing.
Vladosiya
for translating the problem statements into Russianwait, the statements were already in Russian. Thank you... for looking over the round and approving it for publication!MikeMirzayanov for Codeforces and Polygon.
Good luck!
Once upon a time, photos of the authors were a beloved tradition in Codeforces announcements — so we decided to take a little trip down memory lane.
Hi, Codeforces!
I have some great news. But maybe you've already noticed? Seen the updated logo?
I'm glad to announce that Telegram is back as our title sponsor. I'm happy, and not just because this means we can keep developing and maintaining the system and (most importantly) running rounds for a long time to come.
But there's something else, too. It was Pavel Durov who, way back in 2010, spent several hours asking questions and trying to understand what I had in mind. Then he put his faith in our community — and Codeforces received support for the very first time. That support helped us for many years. So this means a lot to me personally, and I'm proud that now, more than 16 years after that first conversation, that support is coming back.
This helps with every round we run and gives us a chance to do new things, too. I'm glad to share that thanks to renewed support from Telegram, we've already started moving our infrastructure to a professional data center, making the system faster and more reliable.
I'm sure this won't be the only new thing happening soon. Expect more good news.
Mike
Hello, Codeforces!
We are exited to invite you to participate in Codeforces Round 1124 (Div. 1) and Codeforces Round 1124 (Div. 2) which will be held on Sep/26/2026 17:35 (Moscow time).
The round will be rated for participants from both divisions. You will be given 2 hours and 30 minutes to solve 6 problems for each division.
The problems are authored and prepared by _R00T, eren__, sweetweasel, and me (Hamed_Ghaffari).
We would like to thank:
- Error_Yuan for coordinating the round.
- Um_nik for preliminary reviewing and testing the round.
- AmShZ, N_z__ for red testing.
- AKprinceofpersia, Arpa, Dindin, Mhn_Neek, misteg168, mohammadsam, msab3f, narges__ for orange testing.
- Behesht, Behrad., Qazall, kian2009, rafieefatemeh for purple testing.
- SevenAlarm, Srsh, caibyte for blue testing.
- GUM for cyan testing.
- AlirezaBest for green testing.
- qhj0906 for gray testing.
- Alexdat2000 for Russian translation.
- MikeMirzayanov and KAN for the great platforms.
- You for participating!
The scoring distribution will be added soon.
We hope you enjoy the problems.
Good luck and have fun!
UPD1: The scoring distribution is released:
- Div. 1: $$$500 - 1000 - 1750 - 2250 - 2750 - 3250$$$;
- Div. 2: $$$500 - 1000 - 1500 - 2000 - 2750 - 3250$$$.
UPD2: Editorial
UPD3: Congratulations to the winners!
Div. 1
Div. 2
Hello, Codeforces!
We are glad and excited to invite you to take part in Codeforces Round 1123 (Div. 2), which will take place on Sep/25/2026 17:35 (Moscow time). You will be given 2 hours and 15 minutes to solve 7 problems. Problem F will be divided into subtasks.
| Problem | A | B | C | D | E | F1 + F2 | G |
| Score | 250 | 500 | 1000 | 1250 | 1750 | 1000 + 2000 | 3000 |
Problems were authored by KluydQ, Aldk, YF_YUSUF, Dibamboo and Wansur.
We would like to give special thanks to:
- Um_nik for the preliminary review of this contest.
- 74TrAkToR for the great coordination and chance to host this contest.
- makrav, Kude, Friendiks, Error_Yuan, Sugar_fan, JovanB, lewc, Noobish_Monk, Daki-sa, ImDMka, Abilmansur-007, barbie, k1r1t0, Away_in_the_heavens, aryanc403, feresatcccccccc, Egorov_Dmitriy, QazLon, magagam, Arkanefury, Yessimkhan, liexes, GRIVA_, BzL16082010, spajzmand, knatwila, NickFuryy, PoDuReMaN, Dibamboo, AIibi for their time and effort in testing.
- MikeMirzayanov and KAN for the great Codeforces and Polygon platforms.
UPD: Editorial is available here https://codeforces.com/blog/entry/157126
Congratulations to the winners:
Div. 1:
Div. 2 (trusted participants):
Hello, Codeforces!
I am very excited to invite you to participate in Codeforces Round 1122 (Div. 3), which will take place on Sep/21/2026 17:35 (Moscow time). You will be given $$$2$$$ hours and $$$30$$$ minutes to solve $$$7$$$ or $$$8$$$ problems. All problems were authored and prepared by me, WorldWarV.
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.
You should remember 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)
- do 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 breaking this rule, you will be dropped into cry's basement, which happens to be a permanently active volcano.
I would like to thank the following people for making this round possible:
- cry for spectacular coordination of the round and answering all 998244352 of my questions;
- Edu175, __baozii__, Arpa for red testing;
- omsincoconut, CatsAreCool, Edeeva, Lilypad for orange testing;
- wakanda-forever, Argentum47, yse, SpyrosAliv, linearspace for purple testing;
- simplelife, Eikyu, nik_exists, silverkeep, expertaq, femboy for blue testing;
- ByteRaider for cyan testing;
- koseitsukamoto for green testing;
- Vladosiya for Russian translations and testing;
- MikeMirzayanov for developing Codeforces and Polygon.
GLHF!
Update: Editorial!
This is an interactive problem a contest with an unusual start time.
You are given a Codeforces account and $$$n = 6$$$ problems, authored and prepared by qwexd and jeroenodb.
In one operation, you may choose a problem $$$i$$$ ($$$1 \le i \le n$$$) and submit a program intended to solve it.
The maximum scores are given below. Problem E is divided into two subtasks.
| Problem | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Maximum score | 500 | 1250 | 1500 | 2500 | 2000 + 1500 | 3000 |
The points awarded for a correct submission may be lower, as determined by the Codeforces scoring rules.
Your task is to maximize your total score before the time limit expires.
Output
For each problem you choose to solve, submit a correct program. You may solve the problems in any order.
Printing YES is not sufficient.
Note
It has been shown that every problem has a solution. The proofs are now available in the editorial.
The following participants were the first to construct correct solutions:
We would like to thank:
- Proof_by_QED for coordinating the round;
- Um_nik for the preliminary review;
- Alexdat2000 for translating the statements to Russian;
- our testers: __baozii__, nifeshe, Noobish_Monk, fuad720, temporary1, turska, Rayo, shorya1835, cry, TAhmed33, Rvess, omsincoconut, flammifer, robert9524, ismailfateen, osvarp, samsoom, Nyemot, SpyrosAliv, Sacha, Argentum47, snowythecat, EduardoBrito, wakanda-forever, linearspace, chromate00, simplelife, Vespasian_1, nik_exists, Svivl, ALnQ417, and HobVIIb1 for testing the round and providing valuable feedback;
- our testers who didn't test: _istil, Arpa, sammyuri, AksLolCoding, BLOBVISGOD, sorry12000, naneosmic, Euclid73, i-love-ayase-momo, and ArnedeB;
- KAN and MikeMirzayanov for Codeforces and Polygon;
- you, for participating in the round.
Thank you for participating!
Hello, Codeforces!
We are excited to invite you to participate in Codeforces Round 1120 (Div. 1) and Codeforces Round 1120 (Div. 2) on Sep/12/2026 17:35 (Moscow time).
The round will be rated for participants from both divisions. You will be given 6 problems and 3 hours to solve them. At least one of the problems will be divided into subtasks.
The problems were authored and prepared by me, CutSandstone, and sukon.
We would like to thank:
- abc864197532 for being the coordinator.
- Um_nik for preliminary reviewing the round.
- Alexdat2000 for translating the statements to Russian.
- baluteshih, dlu, kevinyu, MattTheNub, n685, nadya271, yunz_qiao, _istil, alvingogo, avnithv, awoo, BurnedChicken, Fysty, Misuki, passwordisa, pbj2006, snowythecat, WiwiHo, and YuukiS for testing the round and providing valuable feedback.
- KAN and MikeMirzayanov for the great Codeforces and Polygon platforms.
- And finally,
You
, for participating!
The scoring distribution is:
- Div. 1: $$$(500 + 1000)$$$ — $$$1750$$$ — $$$1750$$$ — $$$2500$$$ — $$$3000$$$ — $$$3250$$$
- Div. 2: $$$500$$$ — $$$1000$$$ — $$$(750 + 1250)$$$ — $$$2250$$$ — $$$2250$$$ — $$$3000$$$
We hope you enjoy the problems.
Good luck and have fun!
UPD:
Congratulations to the winners (subject to change):
Div. 1:
Div. 2 (trusted participants):
UPD 2:

Hello Codeforces!
The series of Educational Rounds continues thanks to the support of the Neapolis University Pafos.
Educational Codeforces Round 194 (Rated for Div. 2) will start on Sep/08/2026 17:35 (Moscow time).
This round will be rated for the participants with rating lower than 2100. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest, you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally.
You will be given 7 problems and 2 hours to solve them. I hope everyone participating finds interesting problems for them to solve.
I would like to express my gratitude to Mike MikeMirzayanov Mirzayanov for creating Codeforces and Polygon, two platforms which made conducting programming contests and preparing problems for them much more convenient. Also big thanks to testers: awoo, FelixArg, Alenochka.
Our friends at Neapolis University Pafos have a message for you:
Planning to apply for the Computer Science and Artificial Intelligence (CSAI) program at Neapolis University Pafos?
JetBrains Youth Clubs can help you prepare.
🤖 AI Club is a chance to explore one of the core areas you’ll study in the CSAI program. You’ll work with AI topics, strengthen your understanding, and get more experience before university.
➗ Math Club helps you sharpen the mathematical problem-solving skills you’ll need for the program. There’s also a direct application benefit: participation in the Math Club can give you 30% of your entrance test mark for the Computer Science and Artificial Intelligence BSc supported by JetBrains Foundation.
Both clubs are designed for high school students with a strong interest in STEM who want to challenge themselves and prepare for the next step.
👉 Join JetBrains Youth Clubs: AI and Math
Good luck in solving the problems! See you at the contest.
#include "codeforces.h" #include <chrono> #include <vector> using namespace std; using namespace std::chrono_literals; using namespace cf; int main() { Blog announcement("Codeforces Round 1119 (Div. 3)"); announcement << "Hello Codeforces!\n"; announcement << "I am delighted to invite you to participate in " <<Codeforces Round 1119 (Div. 3)<< "!\n"; announcement << "The problems were written and prepared by " <<nik_exists<< ".\n\n"; announcement << ContestInfo { .start_time =Sep/05/2026 17:45 (Moscow time), .duration = 2h + 15min, .number_of_problems = 7, .subtasks = true // possibly not adjacent }; announcement << RatingRules { .rated_for_rating_below = 1600, .unrated_registration_allowed = true, .trusted_max_rating_below = 1900, .trusted_min_rated_rounds = 5 }; announcement << JudgingRules { .scoring = codeforces::ICPC, .wrong_answer_penalty = 10min, .open_hacking_phase = 12h, .final_tests = after_open_hacks }; auto is_cheater = [](User user) { // https://codeforces.com/blog/entry/133941 if (user.used_ai_in_contest()) return true; if (user.discussed_problems_online_before_contest_end()) return true; if (user.violated_other_rules_im_too_lazy_to_list()) return true; return false; }; for (auto user : get_users(2259)) { if (is_cheater(user)) user.send_to_cry_basement(); } announcement << Acknowledgments { .coordinator =cry, .russian_translation =Vladosiya, .red_testers = {__baozii__,AksLolCoding,awesomeguy856,nifeshe}, .golden_testers = {Arpa,Intellegent,Proof_by_QED,temporary1}, .purple_testers = {Argentum47,Euclid73,Jteh,Lilypad,SpyrosAliv,nimoxide,omsincoconut,wakanda-forever,yse}, .blue_testers = {CatsAreCool,Vladosiya,chromate00,fatespeaker,linearspace,reirugan,simplelife}, .green_testers = {hannah12345}, .codeforces_and_polygon = {KAN,MikeMirzayanov} }; announcement << "\nBest of luck, and thank y'all so much for competing!\n"; }