VK Cup 2018 - Wild-card Round 1

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
926 VK Cup 2018 - Wild-card Round 1 FINISHED False 7200 210522299 March 17, 2018, 3:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 934 ) D Choose Place PROGRAMMING 1800

B"A classroom in a school has six rows with 3 desks in each row. Two people can use the same desk: one sitting on the left and one sitting on the right. Some places are already occupied, and some places are vacant. Petya has just entered the class and wants to occupy the most convenient place. The conveniences of the places are shown on the picture: Here, the desks in the top row are the closest to the blackboard, while the desks in the bottom row are the furthest from the blackboard. You are given a plan of the class, where '*' denotes an occupied place, '.' denotes a vacant place, and the aisles are denoted by '-'. Find any of the most convenient vacant places for Petya. The input consists of 6 lines. Each line describes one row of desks, starting from the closest to the blackboard. Each line is given in the following format: two characters, each is '*' or '.' -- the description of the left desk in the current row; a character '-' -- the aisle; two characters, each is '*' or '.' -- the description of the center desk in the current row; a character '-' -- the aisle; two characters, each is '*' or '.' -- the description of the right desk in the current row. So, the length of each of the six lines is 8. It is guaranteed that there is at least one vacant place in the classroom. Print the plan of the classroom after Petya takes one of the most convenient for him places. Mark this place with the letter 'P'. There should be exactly one letter 'P' in the plan. Petya can only take a vacant place. In all other places the output should coincide with the input. If there are multiple answers, print any. In the first example the maximum convenience is 3. In the second example the maximum convenience is 2. In the third example the maximum convenience is 4. "...

Tutorials

Разбор VK Cup 2018 — Уайлд-кард Раунд 1

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
36363521 Qumeric D March 17, 2018, 4:43 p.m. OK D TESTS 32 31 4300800 1800
36366090 jenya261995 D March 17, 2018, 5:17 p.m. OK D TESTS 32 31 4300800 1800
36363167 lukomskiy Daryusz D March 17, 2018, 4:39 p.m. OK FPC TESTS 32 15 3174400 1800
36362489 Karasick Ekaterina_Saenko D March 17, 2018, 4:31 p.m. OK FPC TESTS 32 30 3072000 1800
36364449 taras_ska Garuda_1 D March 17, 2018, 4:55 p.m. OK FPC TESTS 32 30 3072000 1800
36362997 Avonazhrets DoomzGay D March 17, 2018, 4:37 p.m. OK FPC TESTS 32 30 3174400 1800
36364696 AlexBystrov Nike_VML D March 17, 2018, 4:58 p.m. OK FPC TESTS 32 30 3174400 1800
36363256 XDIMANX007 dryush97 D March 17, 2018, 4:40 p.m. OK FPC TESTS 32 30 3174400 1800
36367125 mozhayka2000 hckray D March 17, 2018, 5:31 p.m. OK FPC TESTS 32 30 3276800 1800
61763830 disposrestfuIly disposrestfuIIy D Oct. 3, 2019, 7:58 a.m. OK FPC TESTS 32 31 102400 1800
36363753 Art Dimasichek D March 17, 2018, 4:46 p.m. OK FPC TESTS 32 31 3072000 1800
36363619 Saz_a shN D March 17, 2018, 4:44 p.m. OK FPC TESTS 32 31 3072000 1800
36414962 sun-ruo-feng D March 19, 2018, 3:39 p.m. OK GNU C TESTS 32 15 3379200 1800
36366168 DenisPushkin heimdall D March 17, 2018, 5:18 p.m. OK GNU C TESTS 32 15 3379200 1800
38530189 ntoni_boss D May 22, 2018, 9:35 a.m. OK GNU C TESTS 32 30 0 1800
36368902 vladislav_k D March 17, 2018, 6:27 p.m. OK GNU C TESTS 32 30 3276800 1800
36368247 alavrov D March 17, 2018, 5:59 p.m. OK GNU C TESTS 32 30 3276800 1800
36364937 boddiul iSerya D March 17, 2018, 5:01 p.m. OK GNU C TESTS 32 30 3276800 1800
36364896 taxicoo D March 17, 2018, 5 p.m. OK GNU C TESTS 32 30 3276800 1800
36360134 skate1998 D March 17, 2018, 4:03 p.m. OK GNU C TESTS 32 30 3276800 1800
40003549 Scampish Valentin_E D July 5, 2018, 6:05 p.m. OK GNU C TESTS 32 31 0 1800
36367640 rust D March 17, 2018, 5:39 p.m. OK GNU C TESTS 32 31 3276800 1800
36427146 vjudge1 D March 20, 2018, 7:51 a.m. OK GNU C++ TESTS 32 15 3481600 1800
36531579 denas410 D March 23, 2018, 1:19 p.m. OK GNU C++ TESTS 32 31 3481600 1800
36376110 danteshka D March 18, 2018, 4:21 a.m. OK GNU C++ TESTS 32 31 3481600 1800
36367436 Rainwalker D March 17, 2018, 5:34 p.m. OK GNU C++ TESTS 32 31 3481600 1800
36410895 Nick.Wilde D March 19, 2018, 12:58 p.m. OK GNU C++ TESTS 32 31 3686400 1800
36362132 chenyx2001 D March 17, 2018, 4:27 p.m. OK GNU C++ TESTS 32 31 3788800 1800
36366440 Wert48 vmos1999 D March 17, 2018, 5:22 p.m. OK GNU C11 TESTS 32 15 3276800 1800
36366142 Alexxx unreal.eugene D March 17, 2018, 5:18 p.m. OK GNU C11 TESTS 32 15 3276800 1800
36359634 ZloyNegr AleksandraZh D March 17, 2018, 3:56 p.m. OK GNU C11 TESTS 32 15 3584000 1800
36365263 Krisha I_love_QMsh D March 17, 2018, 5:05 p.m. OK GNU C11 TESTS 32 30 3276800 1800
36360597 magnickolas maxxaon D March 17, 2018, 4:08 p.m. OK GNU C11 TESTS 32 30 3584000 1800
36362538 applese Samsara_Karma D March 17, 2018, 4:32 p.m. OK GNU C11 TESTS 32 30 3584000 1800
36362143 yakub ABazdyrev D March 17, 2018, 4:27 p.m. OK GNU C11 TESTS 32 30 3584000 1800
36361398 Octotentacle magneet D March 17, 2018, 4:18 p.m. OK GNU C11 TESTS 32 30 3584000 1800
58694697 wuhuang D Aug. 13, 2019, 5:26 a.m. OK GNU C11 TESTS 32 31 0 1800
58694866 wuhuang1 D Aug. 13, 2019, 5:31 a.m. OK GNU C11 TESTS 32 31 0 1800
36367626 nagasawa D March 17, 2018, 5:39 p.m. OK GNU C++11 TESTS 32 15 3276800 1800
51302826 vjudge1 D March 14, 2019, 3:16 p.m. OK GNU C++11 TESTS 32 31 0 1800
68362691 A_man909 D Jan. 7, 2020, 2:43 p.m. OK GNU C++11 TESTS 32 31 0 1800
47620655 Bohoty D Dec. 28, 2018, 12:39 p.m. OK GNU C++11 TESTS 32 31 0 1800
36364344 mvgrass D March 17, 2018, 4:53 p.m. OK GNU C++11 TESTS 32 31 3481600 1800
36365578 Polynom gol9 D March 17, 2018, 5:10 p.m. OK GNU C++11 TESTS 32 31 3481600 1800
36366973 Lerto garbart D March 17, 2018, 5:30 p.m. OK GNU C++11 TESTS 32 31 3481600 1800
36369870 Borisov D March 17, 2018, 7:15 p.m. OK GNU C++11 TESTS 32 31 3481600 1800
36364335 Porky Citizen404 D March 17, 2018, 4:53 p.m. OK GNU C++11 TESTS 32 31 3481600 1800
36367882 Rai_Fox D March 17, 2018, 5:46 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36366851 sos-myslom AkA D March 17, 2018, 5:28 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36365898 4EPHAR_KPRKBA PO3OBAR_Bblnb D March 17, 2018, 5:14 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36365280 PashaShiry Vazgen D March 17, 2018, 5:06 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36363836 ilyas_ad the_timur D March 17, 2018, 4:47 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36363062 S0vA Paul1298 D March 17, 2018, 4:38 p.m. OK GNU C++14 TESTS 32 15 3379200 1800
36362480 TerMax D March 17, 2018, 4:31 p.m. OK GNU C++14 TESTS 32 15 3686400 1800
36722859 WhaleVomit D March 29, 2018, 2:06 p.m. OK GNU C++14 TESTS 32 15 3686400 1800
69915203 Anurag_Mudgil D Jan. 31, 2020, 4:36 p.m. OK GNU C++14 TESTS 32 30 204800 1800
36444618 agamanan96 D March 21, 2018, 1:50 a.m. OK GNU C++14 TESTS 32 30 3379200 1800
36366639 Erythrocyte ifrag D March 17, 2018, 5:25 p.m. OK GNU C++17 TESTS 32 15 3379200 1800
36365770 logistic D March 17, 2018, 5:12 p.m. OK GNU C++17 TESTS 32 15 3379200 1800
36366528 pmolodyk Twelve D March 17, 2018, 5:24 p.m. OK GNU C++17 TESTS 32 15 3379200 1800
47724914 KulikAlex D Dec. 30, 2018, 1:42 p.m. OK GNU C++17 TESTS 32 30 0 1800
43497787 Chloris D Sept. 27, 2018, 3:35 p.m. OK GNU C++17 TESTS 32 31 0 1800
36366395 khazhix 4mda4mda D March 17, 2018, 5:22 p.m. OK GNU C++17 TESTS 32 31 3379200 1800
36364799 alexX512 VankaTaganai D March 17, 2018, 4:59 p.m. OK GNU C++17 TESTS 32 31 3379200 1800
36389355 Sergan4ik D March 18, 2018, 1:08 p.m. OK GNU C++17 TESTS 32 31 3379200 1800
36358878 KostasKostil D March 17, 2018, 3:46 p.m. OK GNU C++17 TESTS 32 31 3686400 1800
36365215 sergejgraf BagishovMikail D March 17, 2018, 5:05 p.m. OK Go TESTS 32 30 24371200 1800
36365371 maoritosun Vshining D March 17, 2018, 5:07 p.m. OK Go TESTS 32 31 24268800 1800
36361575 Programmer 00YoYYYYoYYoYYYYoY00 D March 17, 2018, 4:20 p.m. OK Go TESTS 32 31 24268800 1800
36383159 goodmice D March 18, 2018, 9:12 a.m. OK Go TESTS 32 31 24371200 1800
36367952 maxibonino D March 17, 2018, 5:48 p.m. OK Go TESTS 32 31 24371200 1800
36365548 sdl okwedook D March 17, 2018, 5:09 p.m. OK Go TESTS 32 31 24371200 1800
36362888 olderor Gotthit D March 17, 2018, 4:36 p.m. OK Go TESTS 32 31 39628800 1800
36362373 artsin666 D March 17, 2018, 4:29 p.m. OK Java 8 TESTS 32 124 20684800 1800
68147612 yuhta D Jan. 4, 2020, 5:22 a.m. OK Java 8 TESTS 32 139 0 1800
36365119 CraterS Marry_me_Marusja D March 17, 2018, 5:03 p.m. OK Java 8 TESTS 32 139 20684800 1800
52274207 slava_sundukov_2014 D April 3, 2019, 2:10 p.m. OK Java 8 TESTS 32 140 0 1800
36366459 Schemtschik Aphanasiy D March 17, 2018, 5:23 p.m. OK Java 8 TESTS 32 140 20684800 1800
36366309 MrProgramist Direktor D March 17, 2018, 5:20 p.m. OK Java 8 TESTS 32 140 20992000 1800
36362389 hobbit_of_madness treaptofun D March 17, 2018, 4:30 p.m. OK Java 8 TESTS 32 140 20992000 1800
36371224 MarcosK D March 17, 2018, 8:38 p.m. OK Java 8 TESTS 32 140 21094400 1800
36467816 ViciousCoder D March 22, 2018, 2:43 a.m. OK Java 8 TESTS 32 155 20992000 1800
36396986 formalist D March 18, 2018, 6:32 p.m. OK Java 8 TESTS 32 155 20992000 1800
36363443 yurii.skatarenko D March 17, 2018, 4:42 p.m. OK JavaScript TESTS 32 15 5939200 1800
36512303 fedimser D March 22, 2018, 6:14 p.m. OK JavaScript TESTS 32 30 5939200 1800
36363823 4cd87a didenko.ilia D March 17, 2018, 4:47 p.m. OK JavaScript TESTS 32 30 5939200 1800
36364376 xgreenx9999 Vulfke D March 17, 2018, 4:54 p.m. OK JavaScript TESTS 32 31 5836800 1800
36363908 The.Fusy CurtizJ D March 17, 2018, 4:48 p.m. OK JavaScript TESTS 32 31 5939200 1800
36420324 escepta D March 19, 2018, 8:27 p.m. OK JavaScript TESTS 32 31 5939200 1800
36366970 alibi teamskiy D March 17, 2018, 5:30 p.m. OK JavaScript TESTS 32 31 5939200 1800
36366651 DAyamaCTF ShinyaKato D March 17, 2018, 5:25 p.m. OK JavaScript TESTS 32 31 5939200 1800
36365531 RubenAshughyan sparik D March 17, 2018, 5:09 p.m. OK JavaScript TESTS 32 31 5939200 1800
36361680 dmitriyklebanov gepardo D March 17, 2018, 4:21 p.m. OK JavaScript TESTS 32 31 5939200 1800
36367169 EmilSilva Kharis228 D March 17, 2018, 5:32 p.m. OK Kotlin TESTS 32 155 20684800 1800
36366273 GShark D March 17, 2018, 5:20 p.m. OK Kotlin TESTS 32 186 21094400 1800
36366797 unranked kyky225 D March 17, 2018, 5:27 p.m. OK Mono C# TESTS 32 31 7884800 1800
55994886 Skeef79 D June 24, 2019, 9:47 a.m. OK Mono C# TESTS 32 46 0 1800
36365148 rizhiy D March 17, 2018, 5:04 p.m. OK Mono C# TESTS 32 46 7884800 1800
36365437 daniil-eshkin alexmuratidi D March 17, 2018, 5:08 p.m. OK Mono C# TESTS 32 46 7884800 1800
36365267 Pish4 skolandrik D March 17, 2018, 5:05 p.m. OK Mono C# TESTS 32 46 7884800 1800
36367812 kisa_is_bdsm D March 17, 2018, 5:44 p.m. OK Mono C# TESTS 32 46 7884800 1800
36366812 Vest. slavvc D March 17, 2018, 5:27 p.m. OK Mono C# TESTS 32 46 7884800 1800
36366767 yulia_pier Gladkov_Alexandr D March 17, 2018, 5:27 p.m. OK Mono C# TESTS 32 46 7884800 1800
36366704 IT_MACHINE Indevem D March 17, 2018, 5:26 p.m. OK Mono C# TESTS 32 46 7884800 1800
36366454 nezametdinov OMA D March 17, 2018, 5:23 p.m. OK Mono C# TESTS 32 46 7884800 1800
36362545 Combatcook D March 17, 2018, 4:32 p.m. OK MS C++ TESTS 32 15 3788800 1800
57082370 vjudge1 D July 15, 2019, 7:39 a.m. OK MS C++ TESTS 32 31 0 1800
36362334 pltanton D March 17, 2018, 4:29 p.m. OK PascalABC.NET TESTS 32 46 17510400 1800
36360891 Ruslan02 Alex2700 D March 17, 2018, 4:12 p.m. OK PascalABC.NET TESTS 32 46 17510400 1800
36362960 DarK2301 gle8098 D March 17, 2018, 4:36 p.m. OK PascalABC.NET TESTS 32 46 17510400 1800
36367757 JAGUAR_108 D March 17, 2018, 5:42 p.m. OK PascalABC.NET TESTS 32 61 17510400 1800
36364550 Hapsidra GooRain D March 17, 2018, 4:56 p.m. OK PascalABC.NET TESTS 32 61 17510400 1800
36362237 Alexit NVBabichev D March 17, 2018, 4:28 p.m. OK PascalABC.NET TESTS 32 61 17510400 1800
36365103 mrEDitor Manych D March 17, 2018, 5:03 p.m. OK PascalABC.NET TESTS 32 62 17510400 1800
36360269 m.levin Maus_74 D March 17, 2018, 4:04 p.m. OK PascalABC.NET TESTS 32 62 17510400 1800
59105145 kurs D Aug. 19, 2019, 5:41 p.m. OK PHP TESTS 32 31 409600 1800
36363796 Finder Mama_Bullki D March 17, 2018, 4:47 p.m. OK PHP TESTS 32 31 5939200 1800
36364323 LoDThe DarkKeks D March 17, 2018, 4:53 p.m. OK PHP TESTS 32 31 5939200 1800
36362464 harryofskyrim APELSINCHIK D March 17, 2018, 4:31 p.m. OK PHP TESTS 32 31 6041600 1800
36361638 nik1998 sid0adams D March 17, 2018, 4:21 p.m. OK PHP TESTS 32 31 6041600 1800
36360297 vl4ddos balanda_135iq D March 17, 2018, 4:05 p.m. OK PHP TESTS 32 31 6041600 1800
36396890 mayakin D March 18, 2018, 6:26 p.m. OK PHP TESTS 32 31 6041600 1800
36366527 KhayaleevT MOPKOBKA228 D March 17, 2018, 5:24 p.m. OK PHP TESTS 32 31 6041600 1800
36365696 hakeem Z2z D March 17, 2018, 5:11 p.m. OK PHP TESTS 32 31 6041600 1800
36362582 Dron642 LeoSko D March 17, 2018, 4:32 p.m. OK PHP TESTS 32 31 6144000 1800
36362153 NetMneNeLenSobaki Iseymonandrnguk D March 17, 2018, 4:27 p.m. OK PyPy 3 TESTS 32 109 21401600 1800
52546118 c1729 D April 9, 2019, 9:40 p.m. OK PyPy 3 TESTS 32 139 0 1800
36359445 belesprit 0xFED D March 17, 2018, 3:54 p.m. OK Python 2 TESTS 32 109 6041600 1800
36366052 Ksenia_Schekina D March 17, 2018, 5:16 p.m. OK Python 3 TESTS 32 77 7065600 1800
36364481 denny_sem twss D March 17, 2018, 4:55 p.m. OK Python 3 TESTS 32 78 7065600 1800
36362879 AdvancerMan FluFFka D March 17, 2018, 4:36 p.m. OK Python 3 TESTS 32 78 7065600 1800
36360040 Constantor Kaktus23 D March 17, 2018, 4:01 p.m. OK Python 3 TESTS 32 78 7065600 1800
36359846 TVBlackman1 KAin0 D March 17, 2018, 3:59 p.m. OK Python 3 TESTS 32 78 7065600 1800
36419444 vebgor D March 19, 2018, 7:33 p.m. OK Python 3 TESTS 32 92 7065600 1800
36366405 peterder72 ilya101master D March 17, 2018, 5:22 p.m. OK Python 3 TESTS 32 92 7065600 1800
36363780 Evg293 _ant_ant D March 17, 2018, 4:47 p.m. OK Python 3 TESTS 32 92 7065600 1800
36403542 xionix D March 19, 2018, 6:08 a.m. OK Python 3 TESTS 32 93 7065600 1800
36367323 Dmitriy.Belichenko Z8N D March 17, 2018, 5:33 p.m. OK Python 3 TESTS 32 93 7065600 1800
36365572 balsoft75 cpp17 D March 17, 2018, 5:10 p.m. OK Ruby TESTS 32 62 6348800 1800
36365713 Saken D March 17, 2018, 5:11 p.m. OK Ruby TESTS 32 62 6451200 1800
36364956 eg322 Aleks5d D March 17, 2018, 5:01 p.m. OK Ruby TESTS 32 62 6451200 1800
36363360 little_misfortune hagai D March 17, 2018, 4:41 p.m. OK Ruby TESTS 32 62 6451200 1800
36359622 JustLive D March 17, 2018, 3:56 p.m. OK Ruby TESTS 32 62 6451200 1800
36366436 zaber.eng noguide D March 17, 2018, 5:22 p.m. OK Ruby TESTS 32 77 6451200 1800
36366739 kilayt D March 17, 2018, 5:26 p.m. OK Rust TESTS 32 30 2867200 1800
36365007 MaxWithGames asurkis D March 17, 2018, 5:02 p.m. OK Rust TESTS 32 30 2867200 1800
36360293 Meegoo RikeVoltz D March 17, 2018, 4:05 p.m. OK Scala TESTS 32 514 30924800 1800
36365096 romech Bruce_Willis D March 17, 2018, 5:03 p.m. OK Scala TESTS 32 545 39731200 1800

remove filters

Back to search problems