By Luqman, history, 2 days ago, In English,

I think it's good time for collecting teams that are going to WF this year. Let's complete the table together :)


Count Country Region University Member 1 Member 2 Member 3
1 Belarus NEERC Belarusian State University progmatic Fedosik vilcheuski
2 Estonia NEERC University of Tartu oml1111 hoomas k__mas
3 Kazakhstan NEERC Kazakh-British Technical University Zharaskhan AeonHQ NurlashKO
4 Russia NEERC Moscow Aviation Institute mingaleg SirRembocodina i.trofimow
5 Russia NEERC Moscow Institute of Physics & Technology Golovanov399 Kostroma I_hate_ACM
6 Russia NEERC Moscow State University LHiC V--o_o--V gritukan
7 Russia NEERC National Research University Higher School of Economics iskhakovt kraskevich Kronecker
8 Russia NEERC Novosibirsk State University pvs viktorov Romchela
9 Russia NEERC Perm State University NovaBlast Alexandr_TS Sert
10 Russia NEERC Saratov State University BledDest adedalic Ajosteen
11 Russia NEERC St. Petersburg Academic University kreker afedor _kun_
12 Russia NEERC St. Petersburg ITMO University Belonogov SpyCheese izban
13 Russia NEERC St. Petersburg State University sinesight Kaban-5 pavel.savchenkov
14 Russia NEERC Ural Federal University kb. Tinsane Umqra
15 Latvia NEERC University of Latvia kristapuciitis bauldaise JustN
16 Lithuania NEERC Vilnius University jDomantas JustasK Darius0021
17 Czech Republic CERC Charles University in Prague -Wave- f.bialas RiHL
18 Poland CERC Jagiellonian University in Krakow Vladyslav zielmicha farqd
19 Poland CERC University of Warsaw Radewoosh Errichto mareksom
20 Finland NWERC University of Helsinki mango_lassi kllp Hansuzu
21 Netherlands NWERC Utrecht University ? ? ?
22 Norway NWERC University of Bergen ? ? ?
23 United Kingdom NWERC University of Cambridge dd__ MeinKraft zDule98
24 United Kingdom NWERC University of Oxford Andrei1998 tamionv george_stelian
25 France SWERC École Normale Supérieure de Paris Rafbill Akulen nore
26 Italy SWERC Scuola Normale Superiore dario2994 delfad0r fram
27 Switzerland SWERC ETH Zürich ? ? ?
28 Bulgaria SEERC Sofia University iddilov daninnm Anton_Chernev
29 Romania SEERC University of Bucharest alex.velea retrograd AndreiNet
30 Turkey SEERC TOBB University of Economics and Technology ? ? ?
31 Ukraine SEERC Lviv National University Andrew_Makar philologist pro100leo
32 Ukraine SEERC Taras Shevchenko National University of Kyiv AllCatsAreBeautiful Kirill.Mikhailov yevhenii44
33 Ukraine SEERC Uzhgorod National University MrDindows Melnyk Rubanenko


Read more »

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

By Superty, history, 5 days ago, In English,

Hello Codeforces!

I would like to invite you to CodeCraft-18, which will take place on Saturday, 20th January, 9:05 PM IST. This is a combined Div. 1 + Div. 2 round and is rated for participants of both divisions.

CodeCraft-18 is part of Felicity, IIIT Hyderabad's most awaited set of events, Threads. With a plethora of intellectually engaging online contests in various fields of programming, mathematics and general knowledge, Threads is a celebration of the spirit of computing and engineering. Other than CodeCraft, we have the Project Euler-style contest Gordian Knot and a jeopardy-style CTF event called Break In, amongst other events.

I would like to thank the CodeCraft team -- FundamentalEq, RohanRTiwari, additya1998, aman_shahi2, born2rule, codelegend, crvineeth97, deepanshugarg, devanshg27, mprocks, nir123 and virus_1010 -- for their amazing work in problemsetting. I would also like to thank gritukan for helping us prepare the problems, and MikeMirzayanov for the great Codeforces and Polygon platforms.


  • Top 20 participants win Codeforces T-shirts
  • Top 5 participants from India win Codeforces T-shirts

You will be given 8 problems and 3 hours to solve them. The scoring distribution will be announced later. Good luck!

Update: Scoring is 500 — 1000 — 1500 — 2000 — 2500 — 3000 — 3500 — 3750

Update 2: We would like to apologize about problem F and G, which turned out to be easier than we expected, and about the mistake in the statement of H.

Congrats to the winners!

Top 20:
1. SkyDec
2. Syloviaely
3. matthew99
4. dotorya
5. FizzyDavid
6. laofudasuanbaofushehui
7. ikatanic
8. j_______________________
9. Um_nik
10. cki86201
11. rajat1603
12. geniucos
13. MrDindows
14. Radewoosh
15. pavel.savchenkov
16. shanquan2
17. 613
19. mxh1999
20. satyaki3794

Top 5 in India:
1. rajat1603
2. satyaki3794
3. jtnydv25
4. akulsareen
5. akashdeep

The editorial is ready!

Read more »

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

By TooNewbie, 4 days ago, In English,

Hello Codeforces! Some months ago I wrote tutorial about basics of recurrent sequences. This blog, my second tutorial is about mine another favorite topic — Invariants and Monovariants. These are useful concepts which will help you solving problems, especially, constructive ones. Even if you are not familiar with this topics, I'm sure that you solved problems with use of invariants and monovariants without knowing it, continue reading, you will understand my point :) There will be hard problems which are based on old IMO problems, so I will try my best to explain solutions of examples.

So, what are Invariants and Monovariants? An invariant is a quantity that doesn't change. A monovariant is a quantity that changes monotically (that is, non-decreasing or non-increasing). Seems simple, yes?

Let's start with a few easy examples which you will better understand its point. I suggest you to try solving problems by your own before reading solution.

Read more »

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

By STommydx, history, 5 days ago, In English,

Hello Codeforces!

I'm proud to announce that Codeforces Round #457 (Div. 2) will be held on 19 Jan, 14:35 UTC. The problemset is authored by jamiechoi, longhuenchan and me (STommydx). It is our first round in Codeforces and hope you all find the problems interesting.

We would like to thank the following people as the round would not be possible without their kind help: gritukan for coordinating the round, Arpa for testing the problems and MikeMirzayanov for the great Polygon and Codeforces platform.

The contest will consist of 5 problems and you'll be given 2 hours to solve them. The scoring distribution will be announced close to the start of the round as tradition.

Let me close this blog post by answering the most frequently asked question in Codeforces. This round is rated for all Div. 2 participants. As usual, Div. 1 participants can join out of competition.

Good luck and high ratings!


Scoring distribution: 500-1000-1500-2250-2500


We are extremely sorry for the situation for problem B. We are figuring out a correct solution for problem B. I hope you all enjoy the rest of the problems.


The round is over. Congratulates to the winners!


  1. ustatt
  2. q-O_O-p
  3. SorryBahadir
  4. ntv
  5. Om_nik


  1. eddy1021
  2. chemthan
  3. nhho
  4. FMota
  5. ustatt

The editorial will be available tomorrow.


Editorial is ready!

Read more »

  • Vote: I like it  
  • -269
  • Vote: I do not like it  

By Vovuh, history, 11 days ago, translation, In English,

Hello Codeforces!

On January 13, 16:05 MSK Educational Codeforces Round 36 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 (traditionally now) rated for Div. 2. It will be held on extented ACM ICPC rules. After the end of the contest you will have one day 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.

The problems were prepared by Mikhail PikMike Piklyaev, Ivan BledDest Androsov, Sergey sslotin Slotin and me.

Good luck to all participants!

I also have a message from our partners, Harbour.Space University:

As we get ready to dive into the second week of the year, we want to update you all on the upcoming Hello India x Russia Programming Bootcamp! So far 25 teams have registered, with more signing up daily.

As a reminder, the boot camp will take place from March 22nd to March 30th, 2018, at the Amrita School of Engineering campus, India. The Coordinator of the Programming Committee, and head coach will be two time ACM-ICPC world vice-champion Gleb GlebsHP Evstropov.

You can find more information and registration, click here

For those of you who need financial support for the boot camp, please fill up the register form, then we will contact you and prepare an official sponsorship request letter for you to present to your University, University’s IT partners or your potential employer.

Congratulations to the winners:

Rank Competitor Problems Solved Penalty
1 JustasK 7 265
2 uwi 7 275
3 KrK 7 277
4 LHiC 7 284
5 latte0119 7 331

Congratulations to the best hackers:

Rank Competitor Hack Count
1 halyavin 725:-45
2 zscoder 34:-10
3 M3hran 28:-3
4 OlegZubkov 28:-3
5 neelbhallabos 21

2023 successful hacks and 1300 unsuccessful hacks were made in total!

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

Problem Competitor Penalty
A Dalgerok 0:00
B Rafbill 0:03
C yashar_sb_sb 0:11
D eddy1021 0:25
E bmerry 0:11
F SmsS4 0:15
G MrDindows 0:19

UPD Editorial

Read more »

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

By tourist, history, 2 weeks ago, translation, In English,

Hello 2018!

If you're still thinking what to do on the eighth day of year 2018, pay attention! The first round for both divisions of the new year starts on January 8 at 17:35 Moscow time (what about other timezones?).

Four important components of Hello 2018 will be the same as in Good Bye 2017:

  • Div1 + Div2 combined
  • 8 problems
  • 2 hours 30 minutes
  • Rated

But there will also be a substantial difference:

  • Different problems

The problems of this round have been proposed and prepared by YakutovDmitriy, BudAlNik and myself.

Thanks to everyone without whom this round wouldn't be possible as well: AlexFetisov, Golovanov399, KAN, MikeMirzayanov, PavelKunyavskiy, qwerty787788, VArtem, winger.

Good luck!

Scoring distribution: 500 — 750 — 1000 — 1250 — 1750 — 2250 — 3000 — 3500.

Problem tutorial can be found here.

Congratulations to the winners!

  1. Um_nik
  2. desert97
  3. yosupo
  4. dotorya
  5. zeliboba
  6. FizzyDavid
  7. Endagorion
  8. .0.
  9. SpyCheese
  10. Kostroma

Read more »

Announcement of Hello 2018
  • Vote: I like it  
  • +2843
  • Vote: I do not like it  

By GreenGrape, 3 weeks ago, translation, In English,

Hey, Codeforces!

Hope that the last few days were quite productive for all of you in terms of rest and pleasure. Time to forget about messing with handle colors and get back to coding!

I'm proud to usher the first contest of the year — Codeforces Round #456, which is going to be held on Friday, 17:35 MSK. The round will be rated for all division 2 participants. Anyway, we will be glad to see whoever decides to join us out-of-competition :)

The authors are — GreenGrape and rek (don't worry, it's all about New Year magic ^^). My heartfelt gratitude to Kolya (KAN) for his invaluable help in round coordination, Grisha (gritukan) and Oleg (x3n) for testing and correcting statements, Dima (cdkrot) and Gleb (glebodin) for preliminary solving, AmirReza (Arpa) for close reading and Mike (MikeMirzayanov) for awesome Codeforces and Polygon platforms.

We look forward to brightening up your cold winter evening :)

GL & HF!

UPD. There will be five problems with the following scoring:
500 — 1000 — 1750 — 2000 — 2500
As usual, it's strictly recommended to look through all problems :)

UPD. Please note that the registration was delayed for a few hours.

UPD. The contest is over.
It turned out to be a little bit more complicated than we expected. Still we hope you learned something new :)

UPD. Editorial!

UPD. Congratulations to the winners!

Div. 2:

  1. apink
  2. anger_of_singledogs
  3. markiz
  4. supy
  5. ratel

Div. 1 (unofficial):

  1. dotorya
  2. ksun48
  3. irkstepanov
  4. Benq
  5. quailty

Read more »

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

By MikeMirzayanov, 3 weeks ago, translation, In English,

Happy New Year, Codeforces!

I hasten to wish the whole community (and including me) correct programs, sudden insights, beautiful ideas and interesting problems!

I hope that you have met the new year at least as fun as I am. Have you had enough sleep after New Year's Eve? This year, the traditional post summarizing the past year, I sat down to write only on January 1, 2018. I hope that I will not have to sum up the whole year.

This post is important to me, since it draws a line to all the work done by the Codeforces team and the entire community in 2017. Many thanks to the team: all of the achievements listed below are the result of joint efforts. We did an excellent job! The community must know its heroes. In 2017, MikeMirzayanov, KAN (problem coordinator), gritukan (second problem coordinator), netman (ex-second problem coordinator), kuviman (developer), fcspartakm (developer), SladeThe (developer) and gKseni (manager). Great contributions were provided by the students of the Saratov University: BledDest, PikMike, Vovuh, and Perforator — educational rounds, trainings in Codeforces::Gym and help in the development. I radiate the rays of gratitude to problem writers and testers: you create interesting content for many thousands of programmers from all over the world. Many thanks to all those who helped with the special projects, wrote interesting posts and good comments. All together, we were able to make Codeforces better!

So, let's move on to the results. It seems to me, this year again has something to brag about.

Read more »

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

By MikeMirzayanov, 4 weeks ago, translation, In English,

Do you already have a New Year's mood?

And we have traditional gifts!

Change handle feature

Hurry! Only until the 10th of January, you can change your handle (but only once)! Note that it will be possible to roll back the changes or change the handle again only after a year. Be careful what you wish for.

You can change your handle to the new one which wasn't used before by anybody or which was used by you before. The links to a profile page with old handle would automatically redirect to the actual profile.

This year we have an improvement. If you took part in at least 10 rounds you can request handle of an inactive participant. It means that the participant should have a period of activity on Codeforces of at most 30 days, this period should be in 2012 or earlier. The inactive participant can’t have posted comments, messages and so on. It can’t take part in more than 2 contests. It will be automatically renamed and informed by email. If you can’t change handle to others, it means that some requirement doesn’t meet. Please do not ask me to do something with it. I’m not Santa Claus.

Talking about handles I always reminisce the following story. Once a user wrote me the message: "Please change my handle from I_love_Valya to I_love_Sveta, as I no longer love Valya ..."

New Year's masquerade of colors and ranks

Traditional magical tab has appeared in the profile setting. Happy New Year!

Read more »

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