By map, 10 years ago, translation, In English

Hello, Codeforces! I'd like to invite you to Codeforces Round #289 (Div. 2). It'll be held on Saturday, January 31 at 15:00 MSK and as usual Div. 1 participants can take part out of competition.

This round will be carried out according to the ACM rules, which means that you get verdict of your solution on-line, and the duration time is 3 hours.

These differences in the rules are caused by the fact that this round is the second qualifying round for the WCC, which stands for Winter Computer Camp and can be also mentioned as ZKSH. Official school website — hhttp://it-edu.mipt.ru/en/zksh2015. There you can find the selection rules for WCC.

If you are a school student and you want to participate in the selection to WCC here are the steps:

  1. Sign up for the school at http://goo.gl/kz2qSf, if it was not done earlier.
  2. Create a free account at codeforces.com, if it was not done earlier.
  3. Sign up for the round on the link http://codeforces.net/contestRegistration/509. You should put a tick in the box "Do you want to participate in the selection to WCC?", and provide your last name, first name and email, which you entered for registration in the first step.

If you have any questions feel free to write to the address of the organizing committee: [email protected].

The authors of the contest (WCC technical committee) are really grateful to Max Akhmedov (Zlobober) for the help with preparation of this round, Maria Belova (Delinur) for translation of statements and Mike Mirzayanov (MikeMirzayanov) for contribution to the development of programming by creating systems Codeforces and Polygon.

UPD. Tutorial — http://codeforces.net/blog/entry/16119

Full text and comments »

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

By fcspartakm, 10 years ago, translation, In English

Hello, Codeforces!

I'd like to invite you to Codeforces Round #288 (Div. 2). It'll be held on Tuesday, January 27 at 19:30 MSK and as usual Div. 1 participants can join out of competition.

Great thanks to Maxim Akhmedov (Zlobober) for helping me preparing the contest, to Maria Belova (Delinur) for translating the statements into English, to Mike Mirzayanov (MikeMirzayanov) for the great Polygon platform and ideas of some problems and to my dear teammates Arthur Svechnikov (ikar) and Ilya Los (IlyaLos) for writing solutions.

The scoring distribution will be announced later. Good luck everyone!

UPD Score system is standart 500-1000-1500-2000-2500.

UPD2 Competition completed! Thank you all!

UPD3 You can find editorial here.

UPD4 Congratulations to the winners!

  1. topcoder.2015
  2. KimJongUn_JBYongDongJI
  3. atatomir
  4. pankaj_gudlani
  5. egor_bb

Full text and comments »

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

By eduardische, 10 years ago, translation, In English

A reminder that today at 21:00 GMT the second round of Facebook Hacker Cup 2015 is taking place. After first round last weekend 732 contestants are continuing the battle. Top 100 from the second round advance to the third, while top 550 receive T-shirts. The round will be 3 hours in length. For contestants the tasks will be available here, while the standings — here.

UPD: Round is over, provisional results have been published. Cutoffs:

  • Advancement to Round 3: 55 points (A+B+C) with time ≤ 2:21:53
  • Facebook Hacker Cup 2015 T-Shirt: 10 points (А) with time ≤ 30:23

Full text and comments »

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

By RetiredAmrMahmoud, 10 years ago, In English

Hello Codeforces!

I'd like to invite you to Codeforces Round #287 (Div. 2). It'll be held on Friday, January 23rd at 19:00 MSK. and as usual Div. 1 participants can join out of competition.

This is my first round so wish me luck! :)

Great thanks to Maxim Akhmedov (Zlobober) for helping me preparing the contest, Alex Fetisov (AlexFetisov) for testing and giving useful tips regarding statements, Maria Belova (Delinur) for translating the statements into Russian and Mike Mirzayanov (MikeMirzayanov) for the great Polygon platform.

The scoring distribution will be announced later.

Good luck everyone and I hope you'll find the problems interesting.

UPD #1 Score distribution will be standard 500-1000-1500-2000-2500.

UPD #2 Contest finished, hope you enjoyed the problems. :)

UPD #3 System testing finished.

Winner of the contest is going to be disqualified due to "Do not use harsh, rude or misleading handle." part of Codeforces rules.

So congratulations to the winners:

chickennethsnow

qcrqgx175

mikeyue_tc

Dennord

KilluaZoldyck

UPD #4 You can find the editorial here.

Full text and comments »

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

By ahmed_aly, 10 years ago, In English

I'm planning to make a scoreboard for the ACM ICPC World Finals 2015, the scoreboard will contain the TopCoder and Codeforces handles for the contestants. It will be similar to this one (but with some more improvements).

Please post the Codeforces handles for the qualified teams here. I'll keep updating this post once I get any new information.

Any suggestions for the scoreboard are welcome for sure.

I'll add all the handles I get in the following table:

Country University Contestant 1 Contestant 2 Contestant 3
1 Russia St. Petersburg National Research University of IT, Mechanics and Optics tourist qwerty787788 VArtem
2 Japan The University of Tokyo rng_58 semiexp wrong
3 China Shanghai Jiao Tong University BaconLi rowdark yefllower
4 Russia Moscow State University TeaPot GlebsHP meshanya
5 Poland Jagiellonian University in Krakow piob guspiel m.sewcio
6 Ukraine Lviv National University RomaWhite witua I_love_Tanya_Romanova
7 Croatia University of Zagreb ikatanic stjepan gustav
8 United States University of Southern California cgy4ever ghostgold innovator
9 China Fudan University flydutchman Riatre this_isssssyy
10 United States Massachusetts Institute of Technology surwdkgo sillycross ACube
11 Russia National Research University Higher School of Economics aid yurboss i.trofimow
12 China Tsinghua University ACMonster Leo_Yu Eternal_Answer
13 Sweden KTH — Royal Institute of Technology Gullesnuffs simonlindholm jsannemo
14 Iran Sharif University of Technology mR.ilchi haas LGM
15 Belarus Belarusian State University kolesov93 qwaker.00 nekrald
16 Russia St. Petersburg State University Copymaster Seemann KapJI
17 Ukraine Odessa National Mechnikov University Monyura Sfairat Sklyack
18 Japan University of Tsukuba logicmachine zerokugi nuip
19 Japan Kyoto University natsugiri ichyo eha
20 Romania University of Bucharest freak93 scipianus
21 China Zhejiang SCI-TECH University Nero problem-solved JayYe
22 United States Carnegie Mellon University iridescent AstroConjecture aquamongoose
23 Ukraine Taras Shevchenko Kiev National University Fdg Furko M0sTik
24 China Beihang University sd0061 InheritO InheritG
25 China Peking University chnlich wuzhengkai zcwwzdjn
26 South Korea Korea University Myungwoo Cauchy_Function wclee2265
27 Poland University of Warsaw mareksom Errichto johnasselta
28 South Korea KAIST mjy0503 etaehyun4 protos37
29 Singapore National University of Singapore jonathanirvings nathanajah darknsux
30 Russia Saratov State University IlyaLos ikar fcspartakm
31 United States University of Central Florida edorundo jcomputer000 tylerbrazill
32 Georgia Free University of Tbilisi svanidz1 TMandzu guliashvili
33 China University of Electronic Science and Technology of China hlwt qph-Jeremy xiaoke
34 Singapore Nanyang Technological University sillyboy con_nha_ngheo ddldyj237
35 China Beijing Institute of Technology nono s0en1it YYOne
36 Canada University of Waterloo dojiboy9 vlyubin goffrie
37 Brazil Universidade de São Paulo StefanoT marcoskwkm antonio_junior
38 Taiwan National Taiwan University fenzhang lnsuyn Nekosyndrome
39 China Fuzhou University lastenX L_Ecry yoooou
40 Czech Republic Charles University in Prague fhlasek simsa.st mirecek3
41 India Indian Institute of Technology — Roorkee adurysk amankedia1994 noah07
42 Russia Moscow Institute of Physics & Technology ssmike kuzmichev_dima pershik
43 United States University of Michigan at Ann Arbor WCG archerundead CLDP
44 Argentina Universidad de Buenos Aires — FCEN zylber tavo92 melsclar
45 Poland University of Wroclaw bardek Solaris matix2267
46 South Korea Seoul National University zlzmsrhak pjsdream lemonsqueeze
47 China Zhejiang University chnluyi Dark_sun zimpha
48 Colombia Universidad Nacional de Colombia — Bogotá niquefa_diego DiegoCR lemur
49 China South China University of Technology Xiaodongdong yada nf001
50 India Indian Institute of Technology — Madras Sundar ajkrish95 vkarthik195
51 Vietnam University of Engineering and Technology — VNU net12k44 Aquacloud ntit_co1
52 China Beijing Normal University pkwv suiyuan2009 hwq1352249
53 China Beijing Jiaotong University kybconnor Ryan_MuQ Lquartz
54 China Shanghai University meijun kuangbin zhangxiaohao
55 Spain Universitat Politècnica de Catalunya dirbaio etal angargo
56 China Huazhong University of Science & Technology HUST_LAZ Hellis once8203
57 Kazakhstan Nazarbayev University ADJA An4ik.D kt-9
58 United States Stanford University csimstu simp1eton 6kkdrx3
59 Bangladesh Jahangirnagar University nfssdq FlaminRage bhadra
60 Russia Saint Petersburg Academic University – Nanotechnology Research and Education Centre RAS nk.karpov evgentu geka666
61 Belarus Belarusian State University of Informatics and Radioelectronics tanas asmisha dberezhnov
62 Switzerland ETH Zürich m.raszyk schorsch andrei.prv
63 Egypt The American University in Cairo ghooo Hosam_Samy islamdiaa
64 Indonesia University of Indonesia Gyosh sokokaleb athin
65 Germany Friedrich-Alexander-University Erlangen-Nuremberg pwild tobias.polzer MiriTheRing
66 India International Institute of Information Technology — Hyderabad viv001 karanaggarwal pulkitg10
67 Bangladesh Shahjalal University of Science and Technology Corei13 J-C PlausibleDeniability
68 China Jilin University tjmts chm517 yaoyan5
69 Iran University of Tehran A.Elahi Leyla NIWIS
70 Canada University of Calgary yum EACoder karklenator
71 Brazil Federal University of Minas Gerais gpoesia
72 Australia University of New South Wales junkbot yujinwunz KKOrange
73 Egypt Arab Academy for Science and Technology (Alexandria) adelnobel MoustafaMaher Haytham.Breaka
74 Brazil Universidade Federal de Campina Grande deMatos rafaelclp Manoel
75 India Indian Institute of Technology — Kharagpur anuraganand biswajitsc sayhellotoanshu
76 United States University of California at Berkeley jx_wuyi Jby_Yeah xfastx
77 United States University of Minnesota — Twin Cities HidenoriS GoldenGopher nil_mo
78 China National University of Defense Technology clavichord93 alpc128 qwdqkh1
79 Denmark University of Copenhagen Tejs Thomas_Ahle JakobTejs
80 South Africa University of Cape Town h4tguy rspencer MrHamdulay
81 Belarus Belarusian State Economic University sas4eka Liaksiejka hired777
82 United States Virginia Tech Wertle miraziz spruett3
83 Russia Kazan (Volga Region) Federal University dinarisio RamTararam OmniLRenegadE
84 Egypt Faculty of Computer and Information Sciences, Ain Shams University zetamoo ahmedameen xa.mohsen
85 Cuba Universidad de La Habana mnaeraxr jcg otero1991
86 Russia Moscow Aviation Institute Timus lester
87 Iran Yazd University of Iran A.K.Goharshady saeedtame
88 Venezuela Universidad Simón Bolívar p-space avatar_tp josegpg
89 United States University of Maryland Solej
90 Egypt Cairo University — Faculty of Computers and Information moh.amr mc_mosa AhmedHamed
91 China University of Science and Technology of China wilsonlym mynameisverylong ufo172849z
92 United States University of California Los Angeles lcch MatRush gaoxin
93 United States University of Chicago hweigel528
94 Argentina Facultad de Ciencias Exactas-Universidad Nacional de Rosario karupayun mariano22 martinv
95 Egypt Faculty of Engineering, Ain Shams University TsunamiNoLetGo ahmed_fathy_aly Alwahsh
96 Georgia Georgia Institute of Technology oioi98
97 China Hangzhou Dianzi University HunDunDM zhouxianjie
98 Brazil Universidade Federal do Rio de Janeiro rodrigozhou filipe.zhou diegoximenes
99 India Amrita School of Engineering, Kollam ash1794 lighters Skr379
100 Brazil Universidade Estadual de Campinas igorwr soneca ruansilva
101 Mexico Escuela Superior De Computo Instituto Politecnico Nacional Garo9521 ChOmPs
102 Egypt German University in Cairo TheSavageKoder Mohamed.Bassem .Khaled.
103 Peru Universidad Católica San Pablo jainor alculquicondor darkloz
104 India Indian Institute of Technology — Delhi TheTerminalGuy knsn
105 Bolivia Universidad Privada de Santa Cruz de la Sierra alexpizarroj josemanuel101 Ademord
106 Australia The Australian National University aandrew
107 Cuba Universidad de Oriente — Sede Antonio Maceo gilcu3 JoMoPinyol
108 Morocco Al Akhawayn University magieNoire __builtin__wolfy CloverAsta
109 Syria Tishreen University Pepe.Chess samiemad majd.gda1
110 Mexico Universidad Autónoma de Aguascalientes flavio FraNkoAL jarl93
111 Iran Shahid Beheshti University m.haghpanah farzad.shbfn nima.sh
112 United States Cornell University edufgf victoreis marinheiro
113 Morocco ENSA Marrakech, UCA noblesse DieAnderen yahya.elfakir
114 United States University of Illinois at Urbana-Champaign jmseo2 muramasa_912 tsmith13
115 Australia The University of Western Australia
116 China South China Agricultural University
117 Colombia Universidad de los Andes, Colombia
118 India Indian Institute of Technology — Bombay
119 Mexico ITESM Campus Monterrey
120 Russia National University of Science and Technology "MISiS"
121 United States Carleton College
122 United States Harvard University
123 United States Iowa State University
124 United States Messiah College
125 United States Northwestern University
126 United States Princeton University
127 United States Rice University
128 United States University of Wisconsin — Madison

Full text and comments »

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

By Avalanche, 10 years ago, translation, In English

Hi Codeforces!

My name is Maxim Gusarov and I joined the Codeforces developer team in September and am recently working with Vitaly kuviman Kudasov on improving the Polygon system.

Today I would like to introduce you to the new potential of the system where all problems for the Codeforces rounds and many other programming contests are prepared.

Update 1

As a user logs into the system, she can now use either the login or the email given at the registration. You can also attach the session to the IP address to enhance security.

Update 2

Any user who has the access to edit a problem can become its supervisor. The supervisor will always get email notifications about the changes committed to the problem even if they were committed as “Minor changes”. What you need to do is to open the problem, go to the “Manage Access” tab and set “Supervisor” after your name.

This option can be used for the problem author or the contest coordinator not to miss a single change.

Full text and comments »

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

By MikeMirzayanov, 10 years ago, translation, In English

Hello, Codeforces!

In late December and early January, I wrote a proof-of-concept of separate service in C ++, to take out heavy data from the Codeforces Java-code to C++. Long time I have not written in C ++, experienced a funny sense of immersion into another world.

I was surprised to find the lack of open-addressing hashmap in the C++ standard library, and indeed in the boost, and in other popular libraries. It is strange somehow, because often open addressing should be better than separate chaining both in time and memory. And since I intend to keep small objects, then sure.

I quickly sketched a prototype that actually shows that open addressing in 2-3 times faster than the standard std::unordered_map. Here's the output of the benchmark on my laptop:

std :: map takes 15779 ms
std :: unordered_map takes 4698 ms
oaht :: hash_map takes 1473 ms

I think that there is no good implementation of such container in stl-style with the support of C++11 (move semantics). Maybe someone will show, but I have not found.

Here is my prototype on github: https://github.com/MikeMirzayanov/open_addressing_hash_table Unfortunately, I'm not cool C ++ expert, and I have no time to implement.

On the other hand, on Codeforces where were many C ++- discussions, and seems there many users who understand modern C ++. Also algorithms are water and air of Codeforces!

Full text and comments »

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

By hogloid, 10 years ago, In English

Hello Codeforces!

evima, yosupo and I would like you to participate in Codeforces Round #286. It will be held on Sunday, January 18th at 16:00 MSK. Please note that this round starts on unusual time.

Great thanks to Zlobober who helped us prepare this round, Delinur who translated statements into Russian and MikeMirzayanov who created Codeforces and polygon.

This is the 3rd time(following #162 and #263) for me, and the 1st time for evima and yosupo to prepare a Codeforces Round.

Scores of the problems will be

500-1000-1750-1750-2500 for Div.1, and

500-1000-1500-2000-2750 for Div.2.

In this round, you'll help a man named Mr. kitayuta. I hope he will participate :)

The system tests are now over! The top-5 are as follows:

Div.1:

1.ilyakor

2.kcm1700

3.LayCurse

4.RomaWhite

5.TankEngineer

Div.2:

1.Konijntje

2.cpcpc

3.zgzjsxshycxksxhsh

4.Ronnie007

5.sha384

Also, special congrats on Petr, who solved problem E in Div.1, which anyone else could not solve.

Here are the editorials

Full text and comments »

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