Codeforces Round 477 (rated, Div. 2, based on VK Cup 2018 Round 3)

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
967 Codeforces Round 477 (rated, Div. 2, based on VK Cup 2018 Round 3) FINISHED False 9000 206815499 April 29, 2018, 1:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4374 ) A Mind the Gap PROGRAMMING implementation 1200

B'These days Arkady works as an air traffic controller at a large airport. He controls a runway which is usually used for landings only. Thus, he has a schedule of planes that are landing in the nearest future, each landing lasts 1 minute. He was asked to insert one takeoff in the schedule. The takeoff takes 1 minute itself, but for safety reasons there should be a time space between the takeoff and any landing of at least s minutes from both sides. Find the earliest time when Arkady can insert the takeoff. The first line of input contains two integers n and s ( 1 <= n <= 100 , 1 <= s <= 60 ) -- the number of landings on the schedule and the minimum allowed time (in minutes) between a landing and a takeoff. Each of next n lines contains two integers h and m ( 0 <= h <= 23 , 0 <= m <= 59 ) -- the time, in hours and minutes, when a plane will land, starting from current moment (i. e. the current time is 0 0 ). These times are given in increasing order. Print two integers h and m -- the hour and the minute from the current moment of the earliest time Arkady can insert the takeoff. In the first example note that there is not enough time between 1:20 and 3:21, because each landing and the takeoff take one minute. In the second example there is no gaps in the schedule, so Arkady can only add takeoff after all landings. Note that it is possible that one should wait more than 24 hours to insert the takeoff. In the third example Arkady can insert the takeoff even between the first landing. '...

Tutorials

Разбор VK 2018 Round 3 + Codeforces Round #477

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
37711680 arukuka A April 29, 2018, 1:36 p.m. OK D TESTS 34 31 4403200 1200
38313997 admire.japan A May 16, 2018, 8:25 a.m. OK D TESTS 34 31 4608000 1200
37710063 ruban A April 29, 2018, 1:28 p.m. OK Delphi TESTS 34 15 47308800 1200
37709590 infmourir A April 29, 2018, 1:26 p.m. OK FPC TESTS 34 30 3072000 1200
37743907 rabbitcxk A April 30, 2018, 8:41 a.m. OK FPC TESTS 34 30 3072000 1200
37741173 Vint666 A April 30, 2018, 6:16 a.m. OK FPC TESTS 34 30 3072000 1200
64790161 luogu_bot1 A Nov. 13, 2019, 10:52 a.m. OK FPC TESTS 34 31 102400 1200
44618527 luogu_bot3 A Oct. 21, 2018, 4:25 a.m. OK FPC TESTS 34 31 102400 1200
37721987 AHTOH._. A April 29, 2018, 2:48 p.m. OK FPC TESTS 34 31 3072000 1200
37709341 Ahriman A April 29, 2018, 1:24 p.m. OK FPC TESTS 34 31 3072000 1200
39464097 220 A June 21, 2018, 1:52 p.m. OK GNU C TESTS 34 15 0 1200
39258601 jayantasadhu4557 A June 15, 2018, 6:10 a.m. OK GNU C TESTS 34 15 0 1200
37747249 whoever A April 30, 2018, 11:53 a.m. OK GNU C TESTS 34 15 3379200 1200
37741120 chinajoker A April 30, 2018, 6:13 a.m. OK GNU C TESTS 34 15 3379200 1200
37737636 Gnest_Imp A April 30, 2018, 2:49 a.m. OK GNU C TESTS 34 15 3379200 1200
37716200 sourav_malo A April 29, 2018, 2:02 p.m. OK GNU C TESTS 34 15 3481600 1200
37877789 Musharaf_Hossain A May 4, 2018, 8:15 a.m. OK GNU C TESTS 34 15 3584000 1200
39793368 C1ariS A June 30, 2018, 9:33 a.m. OK GNU C TESTS 34 30 0 1200
37843113 Matsh A May 2, 2018, 2:37 p.m. OK GNU C TESTS 34 30 3379200 1200
37749259 ChillChill A April 30, 2018, 1:34 p.m. OK GNU C TESTS 34 30 3379200 1200
41739905 WangTianYi A Aug. 18, 2018, 4:58 a.m. OK GNU C++ TESTS 34 15 0 1200
39672886 luogu_bot2 A June 26, 2018, 10:40 a.m. OK GNU C++ TESTS 34 15 0 1200
38992679 vjudge3 A June 6, 2018, 11:13 a.m. OK GNU C++ TESTS 34 15 0 1200
38699610 Salim_jnu A May 28, 2018, 4:32 p.m. OK GNU C++ TESTS 34 15 0 1200
41543926 vjudge5 A Aug. 13, 2018, 2:40 a.m. OK GNU C++ TESTS 34 15 409600 1200
38205551 X_o_r A May 14, 2018, 4:43 a.m. OK GNU C++ TESTS 34 15 3379200 1200
38009002 vjudge5 A May 8, 2018, 1:01 a.m. OK GNU C++ TESTS 34 15 3379200 1200
37984182 vjudge1 A May 7, 2018, 3:41 a.m. OK GNU C++ TESTS 34 15 3379200 1200
37982771 vjudge4 A May 7, 2018, 1:29 a.m. OK GNU C++ TESTS 34 15 3379200 1200
37730772 AuroraPrz1809 A April 29, 2018, 6:06 p.m. OK GNU C++ TESTS 34 15 3379200 1200
37746930 nayeem1707064 A April 30, 2018, 11:36 a.m. OK GNU C11 TESTS 34 15 3379200 1200
38626023 HarvestWu A May 26, 2018, 6:53 a.m. OK GNU C11 TESTS 34 30 0 1200
37710437 york135 A April 29, 2018, 1:30 p.m. OK GNU C11 TESTS 34 30 3379200 1200
37722457 sansen A April 29, 2018, 2:52 p.m. OK GNU C11 TESTS 34 30 3379200 1200
48776714 arpitmehta.cse18 A Jan. 23, 2019, 4:35 a.m. OK GNU C11 TESTS 34 31 0 1200
52361355 MedDah A April 5, 2019, 8 p.m. OK GNU C11 TESTS 34 31 0 1200
54063195 _RibNat_ A May 13, 2019, 12:11 p.m. OK GNU C11 TESTS 34 31 0 1200
65921256 sartajekram A Nov. 28, 2019, 4:28 p.m. OK GNU C11 TESTS 34 31 0 1200
45412010 vjudge3 A Nov. 7, 2018, 12:30 p.m. OK GNU C11 TESTS 34 31 0 1200
49199955 NoSoul A Jan. 30, 2019, 12:04 p.m. OK GNU C11 TESTS 34 31 0 1200
39081406 liteng96 A June 10, 2018, 2:09 a.m. OK GNU C++11 TESTS 34 15 0 1200
48722890 luogu_bot4 A Jan. 22, 2019, 2:18 p.m. OK GNU C++11 TESTS 34 15 0 1200
39445100 logicoder A June 20, 2018, 7:37 p.m. OK GNU C++11 TESTS 34 15 0 1200
39354159 modanwalakash A June 18, 2018, 11:06 a.m. OK GNU C++11 TESTS 34 15 0 1200
39342795 fedor2612 A June 17, 2018, 7:54 p.m. OK GNU C++11 TESTS 34 15 0 1200
39257755 66666a A June 15, 2018, 5:18 a.m. OK GNU C++11 TESTS 34 15 0 1200
39190026 hdhewenbin A June 12, 2018, 11:39 a.m. OK GNU C++11 TESTS 34 15 0 1200
38741928 Shahidullah_Anik A May 29, 2018, 4:42 p.m. OK GNU C++11 TESTS 34 15 0 1200
38446672 Magical_Messi A May 20, 2018, 4:02 a.m. OK GNU C++11 TESTS 34 15 819200 1200
37710463 yzzxwz12 A April 29, 2018, 1:30 p.m. OK GNU C++11 TESTS 34 15 3276800 1200
41678998 sedrick A Aug. 17, 2018, 9:41 a.m. OK GNU C++14 TESTS 34 15 0 1200
40932330 ReaLNero1 A July 30, 2018, 1:43 a.m. OK GNU C++14 TESTS 34 15 0 1200
42317972 Killer_Mind A Aug. 31, 2018, 6:43 p.m. OK GNU C++14 TESTS 34 15 0 1200
43239367 rocky_mars A Sept. 22, 2018, 9:20 a.m. OK GNU C++14 TESTS 34 15 0 1200
43281362 LP_Cong A Sept. 23, 2018, 5:32 a.m. OK GNU C++14 TESTS 34 15 0 1200
45951947 clan A Nov. 19, 2018, 6:52 a.m. OK GNU C++14 TESTS 34 15 0 1200
46139521 Sahruz_riyad A Nov. 24, 2018, 6:45 a.m. OK GNU C++14 TESTS 34 15 0 1200
48027793 TissueRoll A Jan. 6, 2019, 10:15 a.m. OK GNU C++14 TESTS 34 15 0 1200
55915161 AnsHuman_7 A June 22, 2019, 5 a.m. OK GNU C++14 TESTS 34 15 0 1200
62760394 arpitgarg7 A Oct. 17, 2019, 6:38 a.m. OK GNU C++14 TESTS 34 15 0 1200
44115381 bluishgreen A Oct. 11, 2018, 1:52 p.m. OK GNU C++17 TESTS 34 15 0 1200
68948894 som A Jan. 16, 2020, 5:12 p.m. OK GNU C++17 TESTS 34 15 0 1200
55747864 Saurav_Paul A June 19, 2019, 11:02 a.m. OK GNU C++17 TESTS 34 15 0 1200
68885308 Sup_Segment A Jan. 15, 2020, 8:56 p.m. OK GNU C++17 TESTS 34 15 0 1200
68305141 AC_AR A Jan. 6, 2020, 8:39 a.m. OK GNU C++17 TESTS 34 15 0 1200
65939200 Casio991ms A Nov. 29, 2019, 5:01 a.m. OK GNU C++17 TESTS 34 15 0 1200
65765728 Mehedihasanprodhan A Nov. 26, 2019, 5:50 p.m. OK GNU C++17 TESTS 34 15 0 1200
58489775 shahinhakemi A Aug. 9, 2019, 9:09 a.m. OK GNU C++17 TESTS 34 15 0 1200
57316610 code_tamer A July 19, 2019, 8:26 a.m. OK GNU C++17 TESTS 34 15 0 1200
56069156 walkher8 A June 26, 2019, 9:30 a.m. OK GNU C++17 TESTS 34 15 0 1200
37788611 dabaobao521 A May 1, 2018, 5:19 a.m. OK Go TESTS 34 31 24371200 1200
37714323 nieru A April 29, 2018, 1:50 p.m. OK Haskell TESTS 34 15 44851200 1200
40936207 rzero A July 30, 2018, 5:29 a.m. OK Java 8 TESTS 34 124 0 1200
57139848 Sakhi_Java A July 16, 2019, 10:32 a.m. OK Java 8 TESTS 34 124 0 1200
48194091 wadissimo A Jan. 10, 2019, 8:02 p.m. OK Java 8 TESTS 34 124 0 1200
41558802 sooraj10 A Aug. 13, 2018, 1:01 p.m. OK Java 8 TESTS 34 124 0 1200
40371797 Jay_13 A July 15, 2018, 8:35 a.m. OK Java 8 TESTS 34 124 0 1200
39410357 Eku187 A June 19, 2018, 12:20 p.m. OK Java 8 TESTS 34 124 0 1200
39360436 Stierliz A June 18, 2018, 4:14 p.m. OK Java 8 TESTS 34 124 0 1200
38626548 sicau-csh A May 26, 2018, 7:12 a.m. OK Java 8 TESTS 34 124 0 1200
38485172 WisdenCoder A May 21, 2018, 1:55 p.m. OK Java 8 TESTS 34 124 0 1200
37733442 mouath.saadah A April 29, 2018, 8:14 p.m. OK Java 8 TESTS 34 124 20582400 1200
39203884 sorahavok A June 13, 2018, 1:29 a.m. OK Kotlin TESTS 34 171 102400 1200
39203667 sorahavok A June 13, 2018, 1:07 a.m. OK Kotlin TESTS 34 171 102400 1200
37720372 yajun A April 29, 2018, 2:35 p.m. OK Kotlin TESTS 34 187 21094400 1200
37721592 niksw7 A April 29, 2018, 2:45 p.m. OK Kotlin TESTS 34 187 22835200 1200
37709209 ymatsux A April 29, 2018, 1:23 p.m. OK Kotlin TESTS 34 202 22835200 1200
47958353 tamunsio A Jan. 5, 2019, 7:48 a.m. OK Mono C# TESTS 34 46 0 1200
38210525 merabi26 A May 14, 2018, 9:42 a.m. OK Mono C# TESTS 34 46 7987200 1200
38200829 merabi26 A May 13, 2018, 8:37 p.m. OK Mono C# TESTS 34 46 7987200 1200
37731758 fastnoise A April 29, 2018, 6:39 p.m. OK Mono C# TESTS 34 46 7987200 1200
37717601 BullSprite A April 29, 2018, 2:13 p.m. OK Mono C# TESTS 34 46 7987200 1200
37709410 kuuso A April 29, 2018, 1:25 p.m. OK Mono C# TESTS 34 46 7987200 1200
37885207 Zaczero A May 4, 2018, 2:19 p.m. OK Mono C# TESTS 34 46 11571200 1200
56540694 og.kostya A July 5, 2019, 4:56 a.m. OK Mono C# TESTS 34 61 0 1200
37744089 Dimon2305 A April 30, 2018, 8:48 a.m. OK Mono C# TESTS 34 61 7987200 1200
38722424 Gleb_Dubosarskii A May 29, 2018, 3:18 p.m. OK MS C++ TESTS 34 15 0 1200
38721842 vjudge1 A May 29, 2018, 2:51 p.m. OK MS C++ TESTS 34 15 0 1200
37710038 MenOfPassion A April 29, 2018, 1:28 p.m. OK MS C++ TESTS 34 15 3481600 1200
37845504 selk19 A May 2, 2018, 4:36 p.m. OK MS C++ TESTS 34 15 3481600 1200
37732302 repchatuy A April 29, 2018, 7:07 p.m. OK MS C++ TESTS 34 15 3481600 1200
37714432 I_love_sad_crying_cats A April 29, 2018, 1:51 p.m. OK MS C++ TESTS 34 15 3481600 1200
46267223 vjudge2 A Nov. 27, 2018, 4:31 a.m. OK MS C++ TESTS 34 30 0 1200
39449505 j4357j A June 21, 2018, 2:43 a.m. OK MS C++ TESTS 34 30 0 1200
39745898 hemant1729 A June 28, 2018, 2:32 p.m. OK MS C++ TESTS 34 30 0 1200
38072229 vjudge3 A May 9, 2018, 1:10 p.m. OK MS C++ TESTS 34 30 3481600 1200
37731521 PAG A April 29, 2018, 6:30 p.m. OK PascalABC.NET TESTS 34 31 13209600 1200
37730494 TheSeeker A April 29, 2018, 5:57 p.m. OK PascalABC.NET TESTS 34 46 17510400 1200
37725225 Timofey2001 A April 29, 2018, 3:19 p.m. OK PascalABC.NET TESTS 34 46 18636800 1200
37744591 mayakin A April 30, 2018, 9:14 a.m. OK PHP TESTS 34 31 6758400 1200
37725274 supachai_pay A April 29, 2018, 3:19 p.m. OK PyPy 2 TESTS 34 93 22835200 1200
37982310 wolffd A May 7, 2018, 12:39 a.m. OK PyPy 2 TESTS 34 93 22835200 1200
38978234 frmsaul A June 5, 2018, 7:56 p.m. OK PyPy 2 TESTS 34 93 22937600 1200
38106567 Ehzyo A May 11, 2018, 6:06 a.m. OK PyPy 2 TESTS 34 108 22835200 1200
37709182 gedymin A April 29, 2018, 1:23 p.m. OK PyPy 2 TESTS 34 109 22835200 1200
37740910 inishchith. A April 30, 2018, 6:02 a.m. OK PyPy 2 TESTS 34 139 22835200 1200
69242271 vjudge1 A Jan. 21, 2020, 11:48 a.m. OK PyPy 2 TESTS 34 170 0 1200
39607692 Pavan_Parker A June 24, 2018, 4:08 p.m. OK PyPy 2 TESTS 34 171 0 1200
48519039 vjudge1 A Jan. 18, 2019, 5:55 a.m. OK PyPy 2 TESTS 34 202 0 1200
37709349 Ferume A April 29, 2018, 1:24 p.m. OK PyPy 3 TESTS 34 108 21708800 1200
37713124 sungun1996 A April 29, 2018, 1:43 p.m. OK PyPy 3 TESTS 34 109 21401600 1200
37711085 Azimov A April 29, 2018, 1:33 p.m. OK PyPy 3 TESTS 34 109 21401600 1200
37710195 Candyman A April 29, 2018, 1:29 p.m. OK PyPy 3 TESTS 34 109 21401600 1200
37710029 pedrofreire A April 29, 2018, 1:28 p.m. OK PyPy 3 TESTS 34 109 21401600 1200
37782990 Naoki_M A April 30, 2018, 10 p.m. OK PyPy 3 TESTS 34 109 21504000 1200
37861071 neverwin A May 3, 2018, 11:55 a.m. OK PyPy 3 TESTS 34 124 21401600 1200
37714080 NewUser0 A April 29, 2018, 1:49 p.m. OK PyPy 3 TESTS 34 124 21401600 1200
37709286 yhn112 A April 29, 2018, 1:24 p.m. OK PyPy 3 TESTS 34 124 21401600 1200
37732178 kevinsogo A April 29, 2018, 6:59 p.m. OK PyPy 3 TESTS 34 124 22220800 1200
37827100 animeshnayan A May 1, 2018, 11:27 p.m. OK Python 2 TESTS 34 93 6041600 1200
37746526 shailesh_24 A April 30, 2018, 11:12 a.m. OK Python 2 TESTS 34 93 6041600 1200
37765970 251 A April 30, 2018, 3:47 p.m. OK Python 2 TESTS 34 108 6041600 1200
37747419 tnowakow A April 30, 2018, 12:03 p.m. OK Python 2 TESTS 34 109 6041600 1200
37741969 nealzane A April 30, 2018, 7:01 a.m. OK Python 2 TESTS 34 109 6041600 1200
37733215 Sehs A April 29, 2018, 8 p.m. OK Python 2 TESTS 34 109 6041600 1200
37717342 fromexptolog A April 29, 2018, 2:11 p.m. OK Python 2 TESTS 34 109 6041600 1200
37708981 WNG A April 29, 2018, 1:21 p.m. OK Python 2 TESTS 34 109 6041600 1200
38204151 fusheng1meng A May 14, 2018, 2:42 a.m. OK Python 2 TESTS 34 124 6041600 1200
37982249 WyattWismer A May 7, 2018, 12:33 a.m. OK Python 2 TESTS 34 124 6041600 1200
37783161 tarang.mahapatra A April 30, 2018, 10:16 p.m. OK Python 3 TESTS 34 77 7065600 1200
37749238 sergovoy A April 30, 2018, 1:33 p.m. OK Python 3 TESTS 34 77 7065600 1200
37713060 bober2801 A April 29, 2018, 1:43 p.m. OK Python 3 TESTS 34 77 7065600 1200
39208806 sankur A June 13, 2018, 7:20 a.m. OK Python 3 TESTS 34 78 0 1200
38210874 merabi26 A May 14, 2018, 10:01 a.m. OK Python 3 TESTS 34 78 7065600 1200
37998385 ka_tj A May 7, 2018, 2:24 p.m. OK Python 3 TESTS 34 78 7065600 1200
37992580 madn A May 7, 2018, 11:16 a.m. OK Python 3 TESTS 34 78 7065600 1200
37983084 learning.kelvin A May 7, 2018, 2:01 a.m. OK Python 3 TESTS 34 78 7065600 1200
37912934 Qumeric A May 5, 2018, 6:38 p.m. OK Python 3 TESTS 34 78 7065600 1200
37905465 Spelvin A May 5, 2018, 12:14 p.m. OK Python 3 TESTS 34 78 7065600 1200
37916302 MisterZydeco A May 6, 2018, 12:34 a.m. OK Scala TESTS 34 530 39628800 1200

remove filters

Back to search problems