By Temirulan, history, 24 hours ago, In English

DeepInfra

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.

Apply

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

Image

Full text and comments »

  • Vote: I like it
  • +122
  • Vote: I do not like it

By K1o0n, 37 hours ago, translation, In English

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:

Good luck!

The round team
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.

Full text and comments »

  • Vote: I like it
  • +87
  • Vote: I do not like it

By MikeMirzayanov, 3 weeks ago, In English

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

Full text and comments »

  • Vote: I like it
  • +2811
  • Vote: I do not like it

By Hamed_Ghaffari, 8 days ago, In English

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:

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

Full text and comments »

  • Vote: I like it
  • +140
  • Vote: I do not like it

By KluydQ, history, 9 days ago, In English

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:

UPD: Editorial is available here https://codeforces.me/blog/entry/157126

Congratulations to the winners:

Div. 1:

  1. StarSilk

  2. __baozii__

  3. solar_tree

  4. maspy

  5. Papaulo

Div. 2 (trusted participants):

  1. solar_tree

  2. jisoofan

  3. kaiboy

  4. GoogleBot

  5. HADIA_ABD

Full text and comments »

  • Vote: I like it
  • +359
  • Vote: I do not like it

By WorldWarV, history, 2 weeks ago, In English

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:

GLHF!

Update: Editorial!

Full text and comments »

  • Vote: I like it
  • +268
  • Vote: I do not like it

By qwexd, 3 weeks ago, In English
1121. Another Round
time limit per participant
2 hours
memory limit per participant
1 brain

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.

Input

The input consists of the problemset of Codeforces Round 1121 (Div. 2). It became available on Sep/13/2026 20:05 (Moscow time).

The round is rated for participants with a rating below 2100. Participants with a rating of 2100 or higher are welcome to participate out of competition.

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:

Thank you for participating!

Full text and comments »

  • Vote: I like it
  • +1309
  • Vote: I do not like it

By kondasujay2, history, 3 weeks ago, In English

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:

The scoring distribution is:

  1. Div. 1: $$$(500 + 1000)$$$ — $$$1750$$$ — $$$1750$$$ — $$$2500$$$ — $$$3000$$$ — $$$3250$$$
  2. 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:

  1. Kevin114514
  2. XorGhost
  3. strapple
  4. PiGoat
  5. zjy2008

Div. 2 (trusted participants):

  1. gausset
  2. Dream_Sky
  3. Guddu_06
  4. Saransh_Gupta_
  5. zhudaxia

UPD 2:

Sorry for the late tutorial, its posted now!

Full text and comments »

  • Vote: I like it
  • +281
  • Vote: I do not like it

By BledDest, 4 weeks ago, translation, In English

Neapolis University Pafos

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.

UPD: The editorial has been published.

Full text and comments »

  • Vote: I like it
  • +214
  • Vote: I do not like it

By nik_exists, 5 weeks ago, In English
#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.me/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";
}

EDITORIAL

Full text and comments »

  • Vote: I like it
  • +2166
  • Vote: I do not like it