Codeforces Round 364 (Div. 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
700 Codeforces Round 364 (Div. 1) FINISHED False 7200 268406704 July 22, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3206 ) A As Fast As Possible PROGRAMMING binary search math 1900

B"On vacations n pupils decided to go on excursion and gather all together. They need to overcome the path with the length l meters. Each of the pupils will go with the speed equal to v1. To get to the excursion quickly, it was decided to rent a bus, which has seats for k people (it means that it can't fit more than k people at the same time) and the speed equal to v2. In order to avoid seasick, each of the pupils want to get into the bus no more than once. Determine the minimum time required for all n pupils to reach the place of excursion. Consider that the embarkation and disembarkation of passengers, as well as the reversal of the bus, take place immediately and this time can be neglected. The first line of the input contains five positive integers n, l, v1, v2 and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910 xe2 x80 x89000, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89v1 xe2 x80 x89< xe2 x80 x89v2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- the number of pupils, the distance from meeting to the place of excursion, the speed of each pupil, the speed of bus and the number of seats in the bus. Print the real number -- the minimum time in which all pupils can reach the place of excursion. Your answer will be considered correct if its absolute or relative error won't exceed 10 xe2 x80 x89- xe2 x80 x896. In the first sample we should immediately put all five pupils to the bus. The speed of the bus equals 2 and the distance is equal to 10, so the pupils will reach the place of excursion in time 10 xe2 x80 x89/ xe2 x80 x892 xe2 x80 x89= xe2 x80 x895. "...

Tutorials

46283

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
19335272 Gassa A July 22, 2016, 5:07 p.m. OK D TESTS 42 15 0 1900
22186135 bzh A Nov. 13, 2016, 2:18 a.m. OK FPC TESTS 42 15 0 1900
19871751 thethithoi1 A Aug. 14, 2016, 4:03 p.m. OK FPC TESTS 42 15 1638400 1900
19361859 ice_tea A July 23, 2016, 9:43 a.m. OK FPC TESTS 42 30 0 1900
19589431 LanHuong A Aug. 3, 2016, 1:50 a.m. OK FPC TESTS 42 30 0 1900
68742419 Maselun A Jan. 14, 2020, 2:15 a.m. OK FPC TESTS 42 31 307200 1900
21513299 duachuotcc A Oct. 17, 2016, 7:24 a.m. OK FPC TESTS 42 46 1638400 1900
21515107 toida12chu A Oct. 17, 2016, 9:13 a.m. OK FPC TESTS 42 46 1740800 1900
21510475 LanHuong A Oct. 17, 2016, 3:46 a.m. OK FPC TESTS 42 61 1638400 1900
20979922 reyad A Sept. 28, 2016, 10:11 p.m. OK GNU C TESTS 42 15 0 1900
19442620 liv_curious A July 27, 2016, 1:14 p.m. OK GNU C TESTS 42 15 0 1900
23265390 MajAK A Dec. 24, 2016, 6:49 a.m. OK GNU C TESTS 42 15 1945600 1900
19353694 TsReaper A July 23, 2016, 2:47 a.m. OK GNU C TESTS 42 46 0 1900
30692601 squirrel_K A Sept. 25, 2017, 12:15 a.m. OK GNU C++ TESTS 42 15 0 1900
27425530 Scut82 A May 29, 2017, 8:13 a.m. OK GNU C++ TESTS 42 15 0 1900
27148858 vjudge5 A May 16, 2017, 3:03 a.m. OK GNU C++ TESTS 42 15 0 1900
26974695 _D41_ A May 9, 2017, 1:30 p.m. OK GNU C++ TESTS 42 15 0 1900
26829788 RNS3 A May 4, 2017, 7:18 a.m. OK GNU C++ TESTS 42 15 0 1900
26829723 RNS3 A May 4, 2017, 7:13 a.m. OK GNU C++ TESTS 42 15 0 1900
23000689 Joker1010123 A Dec. 15, 2016, 8:23 a.m. OK GNU C++ TESTS 42 15 0 1900
22509249 vjudge2 A Nov. 26, 2016, 12:41 p.m. OK GNU C++ TESTS 42 15 0 1900
22403345 vjudge5 A Nov. 22, 2016, 12:51 p.m. OK GNU C++ TESTS 42 15 0 1900
22316408 vjudge3 A Nov. 18, 2016, 11:32 p.m. OK GNU C++ TESTS 42 15 0 1900
36393661 wyj1046 A March 18, 2018, 3:13 p.m. OK GNU C11 TESTS 42 31 3379200 1900
47168023 trinhdieu9b A Dec. 17, 2018, 1:30 p.m. OK GNU C11 TESTS 42 46 0 1900
46370785 trinhdieu9b A Nov. 29, 2018, 3:40 p.m. OK GNU C11 TESTS 42 46 0 1900
46370441 trinhdieu9b A Nov. 29, 2018, 3:27 p.m. OK GNU C11 TESTS 42 46 0 1900
46370289 trinhdieu9b A Nov. 29, 2018, 3:22 p.m. OK GNU C11 TESTS 42 46 0 1900
46370183 trinhdieu9b A Nov. 29, 2018, 3:18 p.m. OK GNU C11 TESTS 42 46 0 1900
47186013 trinhdieu9b A Dec. 18, 2018, 4:32 a.m. OK GNU C11 TESTS 42 46 0 1900
27670012 Ghost_lzp A June 8, 2017, 11:28 a.m. OK GNU C++11 TESTS 42 15 0 1900
27670007 vjudge5 A June 8, 2017, 11:27 a.m. OK GNU C++11 TESTS 42 15 0 1900
27319312 h10 A May 24, 2017, 11:57 a.m. OK GNU C++11 TESTS 42 15 0 1900
30301363 wineColoredDays A Sept. 13, 2017, 7:47 a.m. OK GNU C++11 TESTS 42 15 0 1900
38482045 Heisenberg4269 A May 21, 2018, 11:42 a.m. OK GNU C++11 TESTS 42 15 0 1900
30284105 Amaryllis A Sept. 12, 2017, 11 a.m. OK GNU C++11 TESTS 42 15 0 1900
29860711 meowforlife A Aug. 29, 2017, 8 a.m. OK GNU C++11 TESTS 42 15 0 1900
29849531 .ahuja A Aug. 28, 2017, 3:59 p.m. OK GNU C++11 TESTS 42 15 0 1900
27691151 Umi A June 9, 2017, 2:33 p.m. OK GNU C++11 TESTS 42 15 0 1900
27670027 vjudge5 A June 8, 2017, 11:28 a.m. OK GNU C++11 TESTS 42 15 0 1900
27010389 omidazadi ckodser A May 11, 2017, 10:45 a.m. OK GNU C++14 TESTS 42 15 0 1900
56005203 htamlive A June 24, 2019, 3:09 p.m. OK GNU C++14 TESTS 42 15 0 1900
39222769 WarBoy A June 13, 2018, 5:15 p.m. OK GNU C++14 TESTS 42 15 0 1900
31819874 ajira A Oct. 27, 2017, 9:39 p.m. OK GNU C++14 TESTS 42 15 0 1900
31178951 FallDream ditoly A Oct. 10, 2017, 12:15 a.m. OK GNU C++14 TESTS 42 15 0 1900
27785308 WhitePaper A June 15, 2017, 3:25 a.m. OK GNU C++14 TESTS 42 15 0 1900
27698155 SoSad A June 10, 2017, 12:52 a.m. OK GNU C++14 TESTS 42 15 0 1900
27698151 I_love_CC A June 10, 2017, 12:51 a.m. OK GNU C++14 TESTS 42 15 0 1900
27530020 aadishj02 A June 2, 2017, 6:38 p.m. OK GNU C++14 TESTS 42 15 0 1900
27290440 luccasiau danield7 MTSranger A May 22, 2017, 7:39 p.m. OK GNU C++14 TESTS 42 15 0 1900
65908735 DinhHoangHDang_17100261 A Nov. 28, 2019, 12:04 p.m. OK GNU C++17 TESTS 42 15 0 1900
52218278 yizhibaiwuya A April 2, 2019, 4:32 a.m. OK GNU C++17 TESTS 42 15 102400 1900
47896631 SHOToRSAVARE_KAZEMSHAHR A Jan. 4, 2019, 11:02 a.m. OK GNU C++17 TESTS 42 15 409600 1900
60448184 vjudge2 A Sept. 12, 2019, 2:54 p.m. OK GNU C++17 TESTS 42 30 0 1900
69566881 adamant A Jan. 26, 2020, 12:45 p.m. OK GNU C++17 TESTS 42 30 0 1900
54762474 jo_ulej A May 28, 2019, 4:11 p.m. OK GNU C++17 TESTS 42 30 102400 1900
47311218 AliShahali1382 A Dec. 20, 2018, 8 p.m. OK GNU C++17 TESTS 42 30 102400 1900
61277740 ParsaBahrami A Sept. 25, 2019, 4 p.m. OK GNU C++17 TESTS 42 30 204800 1900
68156532 m.hasan01 A Jan. 4, 2020, 9:09 a.m. OK GNU C++17 TESTS 42 30 204800 1900
69479654 _baba_yaga A Jan. 24, 2020, 5:19 p.m. OK GNU C++17 TESTS 42 31 0 1900
19532951 orb A July 31, 2016, 7:46 a.m. OK Go TESTS 42 15 0 1900
19424322 orb A July 26, 2016, 2:13 p.m. OK Go TESTS 42 15 102400 1900
26153983 yiyeshu A April 5, 2017, 5:14 p.m. OK Go TESTS 42 46 24166400 1900
19543879 physis A July 31, 2016, 7:01 p.m. OK Haskell TESTS 42 15 0 1900
19348627 heekyu83 A July 22, 2016, 7:41 p.m. OK Java 7 TESTS 42 108 0 1900
19871677 kafy83 A Aug. 14, 2016, 3:58 p.m. OK Java 8 TESTS 42 109 20480000 1900
19777621 nikolasmartincf A Aug. 11, 2016, 5:45 a.m. OK Java 8 TESTS 42 109 20480000 1900
19777367 nikolasmartincf A Aug. 11, 2016, 5:24 a.m. OK Java 8 TESTS 42 109 20480000 1900
69263661 yaoct A Jan. 21, 2020, 5:52 p.m. OK Java 8 TESTS 42 124 0 1900
42097171 KulikAlex A Aug. 25, 2018, 5:04 p.m. OK Java 8 TESTS 42 124 0 1900
31272145 HawtDawg A Oct. 13, 2017, 11:16 a.m. OK Java 8 TESTS 42 124 0 1900
19429063 kubusgol A July 26, 2016, 7:58 p.m. OK Java 8 TESTS 42 124 0 1900
19337666 Petr A July 22, 2016, 5:20 p.m. OK Java 8 TESTS 42 124 0 1900
19336878 RestlessAnchoret A July 22, 2016, 5:16 p.m. OK Java 8 TESTS 42 124 0 1900
19331372 Egor A July 22, 2016, 4:49 p.m. OK Java 8 TESTS 42 124 0 1900
22504700 og.kostya A Nov. 26, 2016, 9:04 a.m. OK MS C# TESTS 42 46 102400 1900
19333136 azukun A July 22, 2016, 4:57 p.m. OK MS C# TESTS 42 61 409600 1900
19421492 uestc_young A July 26, 2016, 11:31 a.m. OK MS C++ TESTS 42 15 0 1900
20341065 ALWAYSWANNAFLY A Sept. 2, 2016, 1:02 p.m. OK MS C++ TESTS 42 15 0 1900
19596555 venom000 A Aug. 3, 2016, 11:34 a.m. OK MS C++ TESTS 42 15 0 1900
19528595 Aikurce A July 31, 2016, 1:25 a.m. OK MS C++ TESTS 42 15 0 1900
19502431 Ezest A July 29, 2016, 7:38 p.m. OK MS C++ TESTS 42 15 0 1900
19378021 BlinKer A July 24, 2016, 6:43 a.m. OK MS C++ TESTS 42 15 0 1900
19374903 FangZhenpeng A July 24, 2016, 3 a.m. OK MS C++ TESTS 42 15 0 1900
19372225 PKUItachi A July 23, 2016, 8:59 p.m. OK MS C++ TESTS 42 15 0 1900
19342982 iamexist A July 22, 2016, 5:59 p.m. OK MS C++ TESTS 42 15 0 1900
19332623 Michael A July 22, 2016, 4:54 p.m. OK MS C++ TESTS 42 15 0 1900
61727557 CtrlAlt A Oct. 2, 2019, 3:53 p.m. OK MS C++ 2017 TESTS 42 78 0 1900
19343029 ZhouYuChen A July 22, 2016, 6 p.m. OK PyPy 3 TESTS 42 108 0 1900
19719080 vjudge3 A Aug. 8, 2016, 3:11 a.m. OK PyPy 3 TESTS 42 109 23040000 1900
28595272 rprtr258 A July 16, 2017, 11:53 a.m. OK PyPy 3 TESTS 42 109 23142400 1900
50578078 rareone0602 A Feb. 27, 2019, 7:13 p.m. OK PyPy 3 TESTS 42 124 0 1900
19456969 platypus179 A July 28, 2016, 8:06 a.m. OK PyPy 3 TESTS 42 140 307200 1900
19347013 minimario A July 22, 2016, 6:33 p.m. OK PyPy 3 TESTS 42 155 1331200 1900
19357869 Vosatorp A July 23, 2016, 6:43 a.m. OK PyPy 3 TESTS 42 186 0 1900
19340841 mikari A July 22, 2016, 5:41 p.m. OK Python 2 TESTS 42 46 0 1900
19334675 nwi A July 22, 2016, 5:04 p.m. OK Python 2 TESTS 42 46 0 1900
20075124 LiaoPengyu A Aug. 23, 2016, 1:39 a.m. OK Python 2 TESTS 42 46 4608000 1900
19428007 sovenok A July 26, 2016, 6:33 p.m. OK Python 2 TESTS 42 61 0 1900
19381268 itrushkin A July 24, 2016, 9:44 a.m. OK Python 2 TESTS 42 61 0 1900
19438027 lancifollia A July 27, 2016, 9:23 a.m. OK Python 2 TESTS 42 62 0 1900
19398840 dogbox A July 25, 2016, 8:18 a.m. OK Python 2 TESTS 42 62 0 1900
19394208 sigkill-uw A July 25, 2016, 4:28 a.m. OK Python 2 TESTS 42 62 0 1900
19393858 sigkill-uw A July 25, 2016, 3:57 a.m. OK Python 2 TESTS 42 62 0 1900
54958444 introibo A June 2, 2019, 2:03 a.m. OK Python 2 TESTS 42 202 0 1900
30495649 Kuroneko-san A Sept. 19, 2017, 11:41 a.m. OK Python 3 TESTS 42 62 0 1900
28165981 Excess_Money A June 30, 2017, 7:11 a.m. OK Python 3 TESTS 42 62 5529600 1900
20991059 metowolf A Sept. 29, 2016, 12:02 p.m. OK Python 3 TESTS 42 77 0 1900
19465497 kno0 A July 28, 2016, 5:03 p.m. OK Python 3 TESTS 42 77 0 1900
20214792 Remarque A Aug. 28, 2016, 3:59 p.m. OK Python 3 TESTS 42 93 4608000 1900
66185106 MinecraftFuns A Dec. 2, 2019, 2:10 p.m. OK Python 3 TESTS 42 124 0 1900
42118210 Mk_Python_v1 A Aug. 26, 2018, 11:02 a.m. OK Python 3 TESTS 42 124 0 1900
20170120 wholesum A Aug. 26, 2016, 7:30 a.m. OK Ruby TESTS 42 77 6451200 1900

remove filters

Back to search problems