By mohammedehab2002, 23 hours ago, In English

Hi everyone!

Codeforces round #716 will take place on Apr/19/2021 16:35 (Moscow time). It's rated for the second division, but, as usual, first division participants can take part out of competition.

The problems are based on the Egyptian IOI qualification, and they were created by me and mahmoudbadawy. I'd like to thank:

This may be the most and only balanced round I've ever set. You'll be given 5 problems and 2:15 hours to solve them.

Good luck & Have fun :D

Read more »

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

By Kuroni, history, 5 days ago, In English

"Love" is a violent word.
"I love that about you..." Doesn't that just mean "If that changed, I wouldn't love you anymore?"
"Love" is a word that binds you.
— Touko Nanami —

Hi Codeforces!

Ari and I are pleased to invite you to participate in Codeforces Round #715 (Div. 1) and Codeforces Round #715 (Div. 2), which will be held at Apr/16/2021 17:35 (Moscow time). Each division will have 6 problems and 2 hours and 15 minutes to solve them.

Big thanks to the following people:

The round will be themed around Yagate Kimi ni Naru, which is a romantic anime/manga series. If you haven't picked up the series yet, I highly recommend you to do so after the round ;)

Please do read all of the problems, stay hydrated during the round, and solve as many as you can! Good luck have fun to everyone!

Here are the scoring distributions:

  • Div. 2: 500 — 1000 — 1500 — 2250 — 2500 — 3000
  • Div. 1: 750 — 1000 — 1500 — 2250 — 2250 — 4000

UPD1: The round has concluded! Congratulations to the winners from both divisions:

  • Div. 1:
  1. ecnerwala
  2. ksun48
  3. tourist
  4. Radewoosh
  5. maroonrk
  • Div. 2:
  1. wannahavealife (solved all problems!)
  2. traxex2
  3. _su1sen
  4. I_love_Ilya_Krasnov
  5. tsugu

UPD2: Editorial is up!

Thanks to everyone for participating in this contest, this has been a wild ride from start to finish. See you all next time!

Read more »

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

By awoo, history, 7 days ago, translation, In English

Hello Codeforces!

On Apr/12/2021 17:35 (Moscow time) Educational Codeforces Round 107 (Rated for Div. 2) will start.

Series of Educational Rounds continue being held as Harbour.Space University initiative! You can read the details about the cooperation between Harbour.Space University and Codeforces in the blog post.

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 6 or 7 problems and 2 hours to solve them.

The problems were invented and prepared by Roman Roms Glazov, Adilbek adedalic Dalabaev, Vladimir vovuh Petrov, Ivan BledDest Androsov, Maksim Neon Mescheryakov and me. Also huge thanks to Mike MikeMirzayanov Mirzayanov for great systems Polygon and Codeforces.

Good luck to all the participants!

Our friends at Harbour.Space also have a message for you:

Calling on all Codeforces,

Harbour.Space University is offering a unique opportunity to study in Barcelona for those who are interested in joining our young and dynamic competitive programming team. We accept medalists and top performers of IOI, IMO, ICPC, and participants with Codeforces rank above 2000.

Codeforces and Harbour.Space

Harbour.Space has a single, key requirement: be passionate and motivated to learn and/or work in the field of competitive programming in the long term. Even if you have already exhausted all your ICPC attempts, you are still welcome.

Join us to help build a comprehensive system of preparation for IOI and ICPC for the next generations! We believe that if you have the talent and determination to succeed, you can. We want to help you make it happen.

In addition to courses taught by some of the world's foremost experts in their fields, Harbour.Space offers these benefits upon acceptance for this scholarship:

  • A full tuition fee waiver (Bachelor and Master degrees)
  • Student visa
  • Private health insurance
  • Monthly living allowance*

Codeforces and Harbour.Space

In return, we demand dedication to learning and improving yourselves:

Study three hours per day
Train continuously for ICPC, if you are still eligible for participation
Intern four hours per day

Ready to formally submit your application? Please register on our website, attach your latest CV, and pay a non-refundable €125 application fee. The fee guarantees we can process every single application in a fair and timely manner, and maintain the highest possible standards of assessment.


Our admission process is a holistic review of each candidate's abilities, achievements, and potential to create something exceptional.

You may choose to study in the following areas of specialization:

  1. Computer Science
  2. Data Science
  3. Cyber Security
  4. Front-End Development

Codeforces and Harbour.Space

All our degrees are taught in English. If you want to learn more about our programs please visit our website or contact our admissions office.

*The exact living allowance level throughout the entire duration of studies depends on the performance during the interview and on the overall performance. As a guidance, it is in the range of 500-1500 EUR.

Harbour.Space University Team

Congratulations to the winners:

Rank Competitor Problems Solved Penalty
1 risujiroh 7 233
2 Maksim1744 7 243
3 noimi 7 253
4 fastmath 7 278
5 mango_lassi 7 288

145 successful hacks and 1221 unsuccessful hacks were made in total!

And finally people who were the first to solve each problem:

Problem Competitor Penalty
A Maksim1744 0:01
B SSRS_ 0:03
C BrunoFMUFC 0:06
D SSRS_ 0:10
E AmShZ 0:08
F SSRS_ 0:51
G Potassium 0:45

UPD: Editorial is out

Read more »

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

By mtnshh, history, 8 days ago, In English

The Programming Club, IIT Indore is proud to present our flagship event, Divide By Zero! The contest will take place on Apr/11/2021 17:35 (Moscow time). This round will be rated for all participants with a rating lower than 2100.

Divide By Zero 2021

Thanks to the following people for making the round possible:

There are 6 problems, and 2 hours to solve them. The points distribution will be updated later.

Update: The scoring distribution is 500 -- 1250 -- 1500 -- 2000 -- 2750 -- 3000.

Update: Editorial is up.

PRIZES: Twenty Codeforces T-shirt will be given to:

  • Top 10 Indian Participants
  • Random 10 from top 100 (rank 11-100) Indian participants

Hope you guys enjoy the contest! See you on the leaderboard!

Update: Here is the list of winners who won T-shirts. We will contact you guys soon. Congrats!

Top 10 Indian Participants

Random 10 from top 100 (rank 11-100) Indian participants

We have uploaded the link to the code for generating random numbers and ranklist here.

Read more »

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

By Stepavly, 9 days ago, translation, In English

Hello, Codeforces!


Hello! Codeforces Round #713 (Div. 3) will start at Apr/10/2021 17:35 (Moscow time). You will be offered 7 problems with expected difficulties to compose an interesting competition for participants with ratings up to 1600. However, all of you who wish to take part and have a rating 1600 or higher, can register for the round unofficially. The round will be hosted by rules of educational rounds (extended ICPC). Thus, during the round, solutions will be judged on preliminary tests, and after the round, it will be a 12-hour phase of open hacks. I tried to make strong tests — just like you will be upset if many solutions fail after the contest is over.

You will be given 7 problems and 2 hours to solve them.

Note that the penalty for the wrong submission in this round (and the following Div. 3 rounds) is 10 minutes.

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 trusted participants of the third division, you must:

  • take part in at least two rated rounds (and solve at least one problem in each of them),
  • do not have a point of 1900 or higher in the rating.

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.

The problems for this round were invented by MikeMirzayanov, Supermagzzz, Stepavly and sodafago.

Thanks Gassa, darkkcyan, bfs.07, Tzak, songsinger, Mukundan314, iankury, drunya, sodafago, ChOmPs, Programmer, Khairy, IITianUG, Rox for helping with testing the round!

Thanks to MikeMirzayanov for platforms and coordination of our work. Good luck!



Read more »

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

By MikeMirzayanov, 9 days ago, In English

Hi Codeforces!

Yes, I know it's already April. Time flies so fast lately! Exactly a year ago we were just learning all the "delights" of lockdown.

So let's remember this 2020! What was it like? I don't know about you, but we had a hell of a lot of work.

I will now show you some graphs and you will be very surprised. Lockdown effect? Of course, but we did our best too.

Many thanks to everyone who did not stand aside! In 2020, we celebrated our 10th anniversary and crowdfunding money helps us grow and move forward. You helped us and each other. Thank you. Thank you for your contribution!

We've been working hard all year to make this community a better place. Did it work out? It's up to you to judge. Many thanks to everyone who invested time and effort:

Time to take stock of 2020.

Partner Events

We are pleased to hold programming competitions with companies or for companies. I'm sure this is a great way to support the community of young programmers and hire talented candidates. Here is a list of our main partners this year:

  • Telegram and personally Pavel Durov is supporting Codeforces activities for many years, every regular round is held with their help, thank you!
  • ICPC — in 2020 we held several joint events (and we liked it!), I hope there will be more
  • Mail.Ru — Technocup and Russian AI Cup
  • VK, VK Cup — now a personal multi-track competition for Russian-speaking programmers
  • XTX Markets, Codeforces Global Rounds — a series of 6 rounds with a separate scoring and souvenirs for the best participants
  • Harbour.Space University — a series of educational rounds, the selection of summer school Tech Scouts
  • JetBrains, Kotlin Heroes Rounds — Kotlin programming language contests
  • Huawei — research competitions (marathons) with elements of machine learning
  • Raiffeisenbank — round for both divisions with cool prizes
  • Grakn Labs — round for both divisions with money prizes
  • Microsoft, Microsoft Q # Coding Contest — unusual quantum computing competition

Read more »

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

By NercNews, 3 weeks ago, translation, In English


Hello everyone!

After all online qualifiers, we are pleased to announce that the Northern Eurasia Finals and ICPC 2021 semi-final offline stage will take place this weekend on April 3-4!

ICPCLive broadcast Standings

Mirror Problems Problems solutions

In December 2020, we announced that 50 student teams out of 330 were selected for the Northern Eurasia Finals. Most of the teams will compete in St. Petersburg. Still, some teams will compete at Minsk, Tbilisi, and Riga sites due to travel restrictions between countries.

NERCNews is going to monitor the championship and report on the main events! We will post links to the results table, contest tasks, contest mirror, and analytics published on the official website.

UPD today were qualified for ICPC 2021 World Finals next 12 teams:

  • SPb ITMO: Insert your name (Budin, Korobkov, Naumov)
  • HSE: Overtrained (Gorokhovskii, Safonov, Rakhmatullin)
  • Moscow SU: Nonames (Koshelev, Chunaev, Kalendarov)
  • St. Petersburg SU: LOUD Enough (Bochkov, Makarov, Gaevoi)
  • Saratov SU: N (Petrov, Piklyaev, Meshcheryakov)
  • SPb HSE 1: Lemon Tree (Makhnev, Surkov, Alferov)
  • Belarusian SU: 3 (Klimasheuski, Paliukhovich, Filinovich)
  • Moscow IPT: LinkCat (Zgursky, Gaponov, Surkov)
  • Kazan FU: AJ (Ilikayev, Yagafarov, Kapralov)
  • NNSU: 1 (Khlyustov, Ryabchikova, Emelin)
  • Tolyatti SU: A (Zakharov, Sabirov, Panin)
  • IITU: 1 (Baimukanov, Sardarbekov, Kyzyrkanov)

Also, join the traditional ICPCLive team online broadcast from the site in St. Petersburg. The schedule for both days can be found here.

We have compiled a list of teams grouped by ratings, which will be especially interesting to follow. What are your predictions? Favorites?

Team Contestant 1 Contestant 2 Contestant 3 Rating
HSE: Overtrained Ramazan Rakhmatullin
Maksim Gorokhovskii
Ivan Safonov
SPb SU: 25 Egor Gorbachev
Semen Petrov
Dmitriy Belichenko
SPb SU: Cheba Kings Saveliy Grigoryev
Andrey Efremov
Mikhail Ivanov
SPb ITMO: Insert your name Nikolay Budin
Stanislav Naumov
Roman Korobkov
SPb SU: LOUD Enough Ivan Bochkov
Vladislav Makarov
Nikita Gaevoi
MIPT: Malaya Bronnaya Yury Semenov
Maksym Machula
Artem Komendantian
HSE: Sleeveless shorts Philipp Gribov
Fedor Kuyanov
Semyon Savkin
SPb HSE 1: Lemon Tree Vasily Alferov
Konstantin Makhnev
Maksim Surkov
Belarusian SU 1 Aliaksandr Kernazhytski
Dzianis Kim
Ivan Lukyanov

Share your impressions and photos on social networks using hashtag #NERC.

Who will represent the Northern Eurasian Region in the ICPC 2021 Final whenever it happens? We will find out this Sunday! Stay tuned!

Read more »

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

By 1-gon, history, 3 weeks ago, In English

omg hi!

I am pleased to invite you to participate in Codeforces Round #712 (Div. 1) and Codeforces Round #712 (Div. 2)! You will be given 6 problems and 2 hours 15 minutes to solve them. I'm happy to announce the theme of this round is déjà vu!

I would like to thank the following people:

Make sure you read all problems, and I'm happy to announce the theme of this round is déjà vu! Good luck, have fun!

The score distribution will be announced immediately because you deserve it ❤️:

Div. 1: 750 — 1000 — 1250 — 1750 — 2500 — 4000

Div. 2: 500 — 1000 — 1750 — 2000 — 2250 — 3000

UPD: Editorial

Read more »

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

By Nickolas, 4 weeks ago, In English

The contest is over; I hope you enjoyed it! The editorial is available here.

The 9th April Fools Day Contest will take place on Thursday April 1st. This is a joke competition in which solving the problem is often easier than figuring out what the actual task is.

In this round you'll be given several weird problems and 2 hours to solve them. The contest will use ACM ICPC rules (no hacks, the standings are decided by the number of solved problems and penalty time earned on them), and it will be unrated. You can submit solutions in any language allowed by Codeforces, unless the problem says otherwise. To get an idea of what the contest will look like, you can check out the contests of the past years: 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020.

Good luck, and have fun!

Read more »

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