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
( 666 ) I A Vital Problem PROGRAMMING 1900

B'Polycarp has a strict daily schedule. He has n alarms set for each day, and the i-th alarm rings each day at the same time during exactly one minute. Determine the longest time segment when Polycarp can sleep, i. e. no alarm rings in that period. It is possible that Polycarp begins to sleep in one day, and wakes up in another. The first line contains a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the number of alarms. Each of the next n lines contains a description of one alarm. Each description has a format "hh:mm", where hh is the hour when the alarm rings, and mm is the minute of that hour when the alarm rings. The number of hours is between 0 and 23, and the number of minutes is between 0 and 59. All alarm times are distinct. The order of the alarms is arbitrary. Each alarm starts ringing in the beginning of the corresponding minute and rings for exactly one minute (i. e. stops ringing in the beginning of the next minute). Polycarp can start sleeping instantly when no alarm is ringing, and he wakes up at the moment when some alarm starts ringing. Print a line in format "hh:mm", denoting the maximum time Polycarp can sleep continuously. hh denotes the number of hours, and mm denotes the number of minutes. The number of minutes should be between 0 and 59. Look through examples to understand the format better. In the first example there is only one alarm which rings during one minute of a day, and then rings again on the next day, 23 hours and 59 minutes later. Polycarp can sleep all this time. '...

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
36367659 Darui99 I March 17, 2018, 5:39 p.m. OK D TESTS 45 30 4300800 1900
40004614 Scampish Valentin_E I July 5, 2018, 6:17 p.m. OK D TESTS 45 31 0 1900
36364373 redimer ovProphet I March 17, 2018, 4:54 p.m. OK D TESTS 45 31 4300800 1900
36367997 balsoft75 I March 17, 2018, 5:50 p.m. OK D TESTS 45 31 4403200 1900
36447811 xionix I March 21, 2018, 7:24 a.m. OK D TESTS 45 31 4608000 1900
36361400 olderor Gotthit I March 17, 2018, 4:18 p.m. OK D TESTS 45 31 4608000 1900
36361121 eraztuna Chromansty I March 17, 2018, 4:14 p.m. OK D TESTS 45 31 4608000 1900
36361500 OutSpace I March 17, 2018, 4:19 p.m. OK D TESTS 45 31 4710400 1900
36359558 eriksa Lana01 I March 17, 2018, 3:55 p.m. OK D TESTS 45 31 4710400 1900
36362701 4cd87a didenko.ilia I March 17, 2018, 4:34 p.m. OK Delphi TESTS 45 31 3993600 1900
36363810 Wert48 vmos1999 I March 17, 2018, 4:47 p.m. OK Delphi TESTS 45 31 3993600 1900
36359108 daniil-eshkin alexmuratidi I March 17, 2018, 3:50 p.m. OK Delphi TESTS 45 31 3993600 1900
36366121 formalist I March 17, 2018, 5:17 p.m. OK FPC TESTS 45 31 3072000 1900
36366656 little_misfortune hagai I March 17, 2018, 5:25 p.m. OK FPC TESTS 45 31 3174400 1900
36364310 Programmer 00YoYYYYoYYoYYYYoY00 I March 17, 2018, 4:53 p.m. OK FPC TESTS 45 31 3174400 1900
36360700 Klift Fred_Flintstone I March 17, 2018, 4:10 p.m. OK FPC TESTS 45 31 3174400 1900
36360121 and_lvov_sky MaRos I March 17, 2018, 4:02 p.m. OK FPC TESTS 45 31 3174400 1900
36363591 CraterS Marry_me_Marusja I March 17, 2018, 4:44 p.m. OK FPC TESTS 45 31 3481600 1900
36363779 Astralpirate Mlxa I March 17, 2018, 4:47 p.m. OK GNU C TESTS 45 30 3276800 1900
36433728 DeaphetS I March 20, 2018, 1:13 p.m. OK GNU C TESTS 45 30 3379200 1900
40978285 ReaLNero1 I July 30, 2018, 4:34 p.m. OK GNU C TESTS 45 31 0 1900
36365552 KesaShon Timonnable I March 17, 2018, 5:09 p.m. OK GNU C TESTS 45 31 3276800 1900
36620284 RccHD I March 25, 2018, 2:59 p.m. OK GNU C TESTS 45 31 3276800 1900
36370663 MarcosK I March 17, 2018, 8:03 p.m. OK GNU C TESTS 45 31 3379200 1900
36362125 dmitriyklebanov gepardo I March 17, 2018, 4:27 p.m. OK GNU C TESTS 45 31 3584000 1900
36361187 hotckiss Vasily_PML30 I March 17, 2018, 4:15 p.m. OK GNU C TESTS 45 31 3584000 1900
36364498 Physicisto mikle111 I March 17, 2018, 4:55 p.m. OK GNU C++ TESTS 45 31 3481600 1900
36365302 msatskevich oleg76 I March 17, 2018, 5:06 p.m. OK GNU C++ TESTS 45 31 5939200 1900
36363991 Tropos mak_1920 I March 17, 2018, 4:49 p.m. OK GNU C11 TESTS 45 15 3276800 1900
36363080 KhayaleevT MOPKOBKA228 I March 17, 2018, 4:38 p.m. OK GNU C11 TESTS 45 15 3276800 1900
36361815 AdvancerMan FluFFka I March 17, 2018, 4:23 p.m. OK GNU C11 TESTS 45 15 3276800 1900
36420689 escepta I March 19, 2018, 8:54 p.m. OK GNU C11 TESTS 45 30 3276800 1900
36362328 tipy I March 17, 2018, 4:29 p.m. OK GNU C11 TESTS 45 30 3276800 1900
36363911 vnastia lesswrong I March 17, 2018, 4:48 p.m. OK GNU C11 TESTS 45 30 3276800 1900
36367098 GShark I March 17, 2018, 5:31 p.m. OK GNU C11 TESTS 45 30 3379200 1900
36366218 Dmitriy.Belichenko Z8N I March 17, 2018, 5:19 p.m. OK GNU C11 TESTS 45 30 3379200 1900
36362692 r_chesnokov 17gaziz I March 17, 2018, 4:33 p.m. OK GNU C11 TESTS 45 30 3584000 1900
36362860 Left567 gooddoog I March 17, 2018, 4:36 p.m. OK GNU C11 TESTS 45 30 3584000 1900
53152708 LIKEIKE I April 22, 2019, 3:58 p.m. OK GNU C++11 TESTS 45 30 0 1900
36365062 RubenAshughyan sparik I March 17, 2018, 5:03 p.m. OK GNU C++11 TESTS 45 30 3276800 1900
36364288 DenXman111 I March 17, 2018, 4:53 p.m. OK GNU C++11 TESTS 45 30 3481600 1900
36365315 AlmostRED M1v1savva1601 I March 17, 2018, 5:06 p.m. OK GNU C++11 TESTS 45 30 3584000 1900
36365407 watson sasha181100 I March 17, 2018, 5:07 p.m. OK GNU C++11 TESTS 45 30 7577600 1900
68102522 eason2012 I Jan. 3, 2020, 4:37 a.m. OK GNU C++11 TESTS 45 31 0 1900
55501611 bhaag_milkha I June 12, 2019, 3:23 p.m. OK GNU C++11 TESTS 45 31 0 1900
36366946 zaber.eng noguide I March 17, 2018, 5:29 p.m. OK GNU C++11 TESTS 45 31 3481600 1900
36421234 _Otabek I March 19, 2018, 9:45 p.m. OK GNU C++11 TESTS 45 31 3481600 1900
36365821 XRater a-n-cl-r-e-y I March 17, 2018, 5:13 p.m. OK GNU C++11 TESTS 45 31 3481600 1900
36389671 bktl1love I March 18, 2018, 1:24 p.m. OK GNU C++14 TESTS 45 15 3379200 1900
36363372 Petro1488 olegdatskiv I March 17, 2018, 4:41 p.m. OK GNU C++14 TESTS 45 15 3379200 1900
36366658 Karasick Ekaterina_Saenko I March 17, 2018, 5:25 p.m. OK GNU C++14 TESTS 45 15 11366400 1900
36365270 PGSStanislav Vadim I March 17, 2018, 5:05 p.m. OK GNU C++14 TESTS 45 30 3379200 1900
36365226 vl4ddos balanda_135iq I March 17, 2018, 5:05 p.m. OK GNU C++14 TESTS 45 30 3379200 1900
36366057 RoltoN DaNiil_Orel I March 17, 2018, 5:17 p.m. OK GNU C++14 TESTS 45 30 3379200 1900
36365659 JAGUAR_108 kisa_is_bdsm I March 17, 2018, 5:11 p.m. OK GNU C++14 TESTS 45 30 3379200 1900
36365186 bonzai I March 17, 2018, 5:04 p.m. OK GNU C++14 TESTS 45 30 3481600 1900
36361307 dewitast Reiva5 I March 17, 2018, 4:17 p.m. OK GNU C++14 TESTS 45 30 3686400 1900
36366294 furys Booty I March 17, 2018, 5:20 p.m. OK GNU C++14 TESTS 45 30 3788800 1900
36365529 Accio Solvation I March 17, 2018, 5:09 p.m. OK GNU C++17 TESTS 45 15 3379200 1900
36361894 alexanderanchishkin Stasis I March 17, 2018, 4:24 p.m. OK GNU C++17 TESTS 45 30 3379200 1900
36365369 Tomukaro I March 17, 2018, 5:07 p.m. OK GNU C++17 TESTS 45 30 3379200 1900
36365662 wafemand I March 17, 2018, 5:11 p.m. OK GNU C++17 TESTS 45 30 3379200 1900
36468242 ViciousCoder I March 22, 2018, 3:33 a.m. OK GNU C++17 TESTS 45 30 3379200 1900
68316023 Soren_15 I Jan. 6, 2020, 1:14 p.m. OK GNU C++17 TESTS 45 31 0 1900
51575183 wzw19991105 I March 20, 2019, 12:44 p.m. OK GNU C++17 TESTS 45 31 0 1900
54408611 ZhihuiLiu I May 20, 2019, 8:12 a.m. OK GNU C++17 TESTS 45 31 0 1900
55681795 nic6200 I June 17, 2019, 1:26 p.m. OK GNU C++17 TESTS 45 31 0 1900
58136316 Anar I Aug. 1, 2019, 4:15 p.m. OK GNU C++17 TESTS 45 31 0 1900
36366557 1000scores jolex009 I March 17, 2018, 5:24 p.m. OK Go TESTS 45 31 24268800 1900
36366940 nezametdinov OMA I March 17, 2018, 5:29 p.m. OK Go TESTS 45 31 24371200 1900
36365809 zpix AzazKamaz I March 17, 2018, 5:13 p.m. OK Go TESTS 45 31 24371200 1900
36363946 UnstoppableChillMachine sanitar1 I March 17, 2018, 4:49 p.m. OK Go TESTS 45 31 24371200 1900
59491604 Nazarbek. I Aug. 25, 2019, 7:33 p.m. OK Java 8 TESTS 45 124 0 1900
36362199 IDzekh armoking I March 17, 2018, 4:28 p.m. OK Java 8 TESTS 45 124 20684800 1900
36365058 Vest. slavvc I March 17, 2018, 5:03 p.m. OK Java 8 TESTS 45 139 20684800 1900
36362444 akvasha achulkov2 I March 17, 2018, 4:30 p.m. OK Java 8 TESTS 45 139 20787200 1900
36361194 TheWebKot KoMiI I March 17, 2018, 4:15 p.m. OK Java 8 TESTS 45 139 20787200 1900
36362914 Constantor Kaktus23 I March 17, 2018, 4:36 p.m. OK Java 8 TESTS 45 140 20787200 1900
36686913 dalt I March 28, 2018, 8:45 a.m. OK Java 8 TESTS 45 140 20889600 1900
36364984 taras_ska Garuda_1 I March 17, 2018, 5:01 p.m. OK Java 8 TESTS 45 155 20684800 1900
36366889 baytserv IT999 I March 17, 2018, 5:28 p.m. OK Java 8 TESTS 45 155 20992000 1900
36365870 KAZINAK_1488 I March 17, 2018, 5:14 p.m. OK Java 8 TESTS 45 155 20992000 1900
36432851 Big_black_jujube I March 20, 2018, 12:46 p.m. OK JavaScript TESTS 45 30 6144000 1900
36368176 S0vA I March 17, 2018, 5:56 p.m. OK JavaScript TESTS 45 31 5939200 1900
36366711 drunya I March 17, 2018, 5:26 p.m. OK JavaScript TESTS 45 31 6144000 1900
36366177 FominSergey dzhaba I March 17, 2018, 5:18 p.m. OK JavaScript TESTS 45 31 6144000 1900
36363689 andreumat gamezovladislav I March 17, 2018, 4:45 p.m. OK JavaScript TESTS 45 31 6144000 1900
36363102 skateray17 Alfa_di I March 17, 2018, 4:38 p.m. OK JavaScript TESTS 45 31 6144000 1900
36360504 Lerto garbart I March 17, 2018, 4:07 p.m. OK JavaScript TESTS 45 31 6144000 1900
36363998 Alexxx unreal.eugene I March 17, 2018, 4:49 p.m. OK JavaScript TESTS 45 31 6553600 1900
36361407 flygrounder hokeroid I March 17, 2018, 4:18 p.m. OK JavaScript TESTS 45 46 6144000 1900
52518187 slava_sundukov_2014 I April 9, 2019, 7:05 a.m. OK Kotlin TESTS 45 171 1331200 1900
36400769 PavelChadnov I March 19, 2018, 12:02 a.m. OK Kotlin TESTS 45 171 21401600 1900
36367613 pltanton I March 17, 2018, 5:38 p.m. OK Kotlin TESTS 45 187 22835200 1900
36362414 Qumeric I March 17, 2018, 4:30 p.m. OK Kotlin TESTS 45 217 23040000 1900
36399730 ShJ I March 18, 2018, 9:56 p.m. OK Kotlin TESTS 45 233 22937600 1900
36364145 Namioko annyrtd I March 17, 2018, 4:51 p.m. OK Mono C# TESTS 45 31 7884800 1900
36366773 re_eVVorld chb19 I March 17, 2018, 5:27 p.m. OK Mono C# TESTS 45 31 7884800 1900
36359641 aalekseev AnjoAnjo I March 17, 2018, 3:56 p.m. OK Mono C# TESTS 45 46 7884800 1900
36420403 vebgor I March 19, 2018, 8:33 p.m. OK Mono C# TESTS 45 46 7884800 1900
36369503 cjoa I March 17, 2018, 6:56 p.m. OK Mono C# TESTS 45 46 7884800 1900
36367326 ironchat Redisko I March 17, 2018, 5:33 p.m. OK Mono C# TESTS 45 46 7884800 1900
36366687 Revolt Atomik I March 17, 2018, 5:26 p.m. OK Mono C# TESTS 45 46 7884800 1900
36366176 Nipel NoDesire I March 17, 2018, 5:18 p.m. OK Mono C# TESTS 45 46 7884800 1900
36365113 vlad1112 artem28 I March 17, 2018, 5:03 p.m. OK Mono C# TESTS 45 46 7884800 1900
36361909 Alexit NVBabichev I March 17, 2018, 4:24 p.m. OK Mono C# TESTS 45 46 7884800 1900
36367903 sid0adams I March 17, 2018, 5:47 p.m. OK MS C++ TESTS 45 31 3481600 1900
36365178 Sasha_Rom MishaSm I March 17, 2018, 5:04 p.m. OK MS C++ TESTS 45 31 3481600 1900
36365962 lindlind Kek_us I March 17, 2018, 5:15 p.m. OK MS C++ TESTS 45 31 3481600 1900
36367335 MaxWithGames asurkis I March 17, 2018, 5:34 p.m. OK PascalABC.NET TESTS 45 46 13209600 1900
36365072 FunnyGoblin Jostic11 I March 17, 2018, 5:03 p.m. OK PascalABC.NET TESTS 45 46 13209600 1900
36363809 rust strizh78 I March 17, 2018, 4:47 p.m. OK PascalABC.NET TESTS 45 46 13209600 1900
36366190 Octotentacle magneet I March 17, 2018, 5:19 p.m. OK PascalABC.NET TESTS 45 46 13312000 1900
36365757 Eva crusty I March 17, 2018, 5:12 p.m. OK PascalABC.NET TESTS 45 46 16896000 1900
36361977 4EPHAR_KPRKBA PO3OBAR_Bblnb I March 17, 2018, 4:25 p.m. OK PascalABC.NET TESTS 45 46 17612800 1900
36364777 Dimm27 Timm27 I March 17, 2018, 4:59 p.m. OK PascalABC.NET TESTS 45 61 17612800 1900
36362268 sdl okwedook I March 17, 2018, 4:28 p.m. OK Perl TESTS 45 31 2662400 1900
36363056 El_Presidente MagicD I March 17, 2018, 4:38 p.m. OK PHP TESTS 45 31 6041600 1900
36364216 ZloyNegr AleksandraZh I March 17, 2018, 4:52 p.m. OK PHP TESTS 45 31 6041600 1900
36361735 pasvord123 ionagamed1 I March 17, 2018, 4:22 p.m. OK PHP TESTS 45 31 6144000 1900
36360756 The.Fusy CurtizJ I March 17, 2018, 4:10 p.m. OK PHP TESTS 45 31 6144000 1900
36367777 TanyaCheremkhina I March 17, 2018, 5:42 p.m. OK PyPy 3 TESTS 45 109 21401600 1900
36367185 unranked kyky225 I March 17, 2018, 5:32 p.m. OK PyPy 3 TESTS 45 109 21401600 1900
36364405 pseudowolf.vn irusya I March 17, 2018, 4:54 p.m. OK PyPy 3 TESTS 45 109 21401600 1900
36362269 taxicoo I March 17, 2018, 4:28 p.m. OK PyPy 3 TESTS 45 124 21708800 1900
36368735 Bruce_Willis I March 17, 2018, 6:20 p.m. OK PyPy 3 TESTS 45 296 27852800 1900
36368138 PolyProgrammist I March 17, 2018, 5:55 p.m. OK Python 2 TESTS 45 109 6041600 1900
36365607 yurii.skatarenko I March 17, 2018, 5:10 p.m. OK Python 2 TESTS 45 109 6041600 1900
36360822 48683 lokofan46 I March 17, 2018, 4:11 p.m. OK Python 2 TESTS 45 109 6041600 1900
36455553 aman_shahi2 I March 21, 2018, 1:46 p.m. OK Python 2 TESTS 45 109 6144000 1900
36360409 Mervap ARMv8 I March 17, 2018, 4:06 p.m. OK Python 2 TESTS 45 124 6041600 1900
36365379 Dron642 LeoSko I March 17, 2018, 5:07 p.m. OK Python 3 TESTS 45 78 7065600 1900
36363886 Mikhail_Amirov I March 17, 2018, 4:48 p.m. OK Python 3 TESTS 45 78 7065600 1900
36361852 Feechka_ Hedgehogushka I March 17, 2018, 4:24 p.m. OK Python 3 TESTS 45 78 7065600 1900
36363597 magnickolas maxxaon I March 17, 2018, 4:44 p.m. OK Python 3 TESTS 45 92 7065600 1900
36362898 rizhiy I March 17, 2018, 4:36 p.m. OK Python 3 TESTS 45 92 7065600 1900
36382924 Andrew_Machine I March 18, 2018, 9:01 a.m. OK Python 3 TESTS 45 93 7065600 1900
36366555 Barvikha_coder Gudleyd I March 17, 2018, 5:24 p.m. OK Python 3 TESTS 45 93 7065600 1900
36512792 fedimser I March 22, 2018, 6:32 p.m. OK Python 3 TESTS 45 93 7065600 1900
36396672 nevgen I March 18, 2018, 6:12 p.m. OK Python 3 TESTS 45 93 7065600 1900
36367446 amiro ErzhaNN I March 17, 2018, 5:34 p.m. OK Python 3 TESTS 45 93 7065600 1900
36359419 sergovoy I March 17, 2018, 3:53 p.m. OK Ruby TESTS 45 62 6451200 1900
36364141 DAyamaCTF ShinyaKato I March 17, 2018, 4:51 p.m. OK Ruby TESTS 45 77 6451200 1900
36369701 kadNaN I March 17, 2018, 7:06 p.m. OK Scala TESTS 45 561 39628800 1900

remove filters

Back to search problems