Codeforces Beta Round 5

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
5 Codeforces Beta Round 5 FINISHED False 7200 467992785 March 20, 2010, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1744 ) D Follow Traffic Rules PROGRAMMING implementation math 2100

B"Everybody knows that the capital of Berland is connected to Bercouver (the Olympic capital) by a direct road. To improve the road's traffic capacity, there was placed just one traffic sign, limiting the maximum speed. Traffic signs in Berland are a bit peculiar, because they limit the speed only at that point on the road where they are placed. Right after passing the sign it is allowed to drive at any speed. It is known that the car of an average Berland citizen has the acceleration (deceleration) speed of a km/h2, and has maximum speed of v km/h. The road has the length of l km, and the speed sign, limiting the speed to w km/h, is placed d km (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89d xe2 x80 x89< xe2 x80 x89l) away from the capital of Berland. The car has a zero speed at the beginning of the journey. Find the minimum time that an average Berland citizen will need to get from the capital to Bercouver, if he drives at the optimal speed. The car can enter Bercouver at any speed. The first line of the input file contains two integer numbers a and v (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89v xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000). The second line contains three integer numbers l, d and w (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89d xe2 x80 x89< xe2 x80 x89l; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89w xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000). Print the answer with at least five digits after the decimal point."...

Tutorials

C, D и E с CBR5 - разбор

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4128422 Misha100896 D July 21, 2013, 10:19 a.m. OK Delphi TESTS 60 15 0 2100
474612 ruban D June 2, 2011, 4:49 p.m. OK Delphi TESTS 60 30 819200 2100
624442 qwerty787788 D Aug. 21, 2011, 9:42 a.m. OK Delphi TESTS 60 30 921600 2100
550642 Sender D July 18, 2011, 4:40 p.m. OK Delphi TESTS 60 30 921600 2100
25029 bearf D April 30, 2010, 3:04 p.m. OK Delphi TESTS 60 30 921600 2100
8041456 Vitaha D Sept. 30, 2014, 11:23 p.m. OK Delphi TESTS 60 60 102400 2100
4035449 PeterTong97 D July 7, 2013, 4:14 p.m. OK FPC TESTS 60 15 0 2100
3961431 Nik_Storm_2010 D June 25, 2013, 7:43 p.m. OK FPC TESTS 60 15 0 2100
3503029 edified D April 11, 2013, 10:53 a.m. OK FPC TESTS 60 15 0 2100
17275685 Ahriman D April 11, 2016, 9:50 a.m. OK FPC TESTS 60 30 0 2100
5451081 graceoflives D Dec. 16, 2013, 3:40 p.m. OK FPC TESTS 60 30 0 2100
24242 jx_wuyi D March 21, 2010, 9:12 a.m. OK FPC TESTS 60 30 512000 2100
2085041 ccad2015 D Sept. 1, 2012, 1:30 a.m. OK FPC TESTS 60 30 614400 2100
25044 sevenkplus D May 2, 2010, 4:34 a.m. OK FPC TESTS 60 30 921600 2100
472202 vlad107 D May 29, 2011, 2:51 p.m. OK FPC TESTS 60 30 1024000 2100
471472 Sereja D May 28, 2011, 7:34 a.m. OK FPC TESTS 60 30 1024000 2100
23085 LayCurse D March 20, 2010, 5:11 p.m. OK GNU C TESTS 60 10 716800 2100
11544049 sanketM D June 12, 2015, 1:20 p.m. OK GNU C TESTS 60 30 0 2100
10412442 Danek D March 23, 2015, 4:24 p.m. OK GNU C TESTS 60 30 0 2100
24059 Pratham D March 20, 2010, 8:50 p.m. OK GNU C TESTS 60 30 716800 2100
36303270 rainboy D March 15, 2018, 1:48 p.m. OK GNU C TESTS 60 30 1843200 2100
9812218 Angellore D Feb. 12, 2015, 11:24 p.m. OK GNU C TESTS 60 60 0 2100
36287538 rainboy D March 14, 2018, 10:16 p.m. OK GNU C TESTS 60 60 1843200 2100
10806939 CX3201 D April 21, 2015, 7:28 a.m. OK GNU C TESTS 60 60 1843200 2100
19174123 kkk666 D July 16, 2016, 1:26 p.m. OK GNU C TESTS 60 62 0 2100
12534227 kwakwa D Aug. 14, 2015, 5:33 p.m. OK GNU C TESTS 60 62 0 2100
24373 Orfest D March 21, 2010, 6:47 p.m. OK GNU C++ TESTS 60 10 716800 2100
24290 UC2 D March 21, 2010, 1:03 p.m. OK GNU C++ TESTS 60 10 716800 2100
24244 antoniowyn D March 21, 2010, 9:15 a.m. OK GNU C++ TESTS 60 10 716800 2100
24133 wcwswswws D March 21, 2010, 1:24 a.m. OK GNU C++ TESTS 60 10 716800 2100
24117 Charles_Chen D March 21, 2010, 12:36 a.m. OK GNU C++ TESTS 60 10 716800 2100
24101 turuthok D March 20, 2010, 11:14 p.m. OK GNU C++ TESTS 60 10 716800 2100
24043 liuzhe1117 D March 20, 2010, 8:23 p.m. OK GNU C++ TESTS 60 10 716800 2100
23670 kefir D March 20, 2010, 5:54 p.m. OK GNU C++ TESTS 60 10 716800 2100
23521 keleffe D March 20, 2010, 5:42 p.m. OK GNU C++ TESTS 60 10 716800 2100
23487 Steps09 D March 20, 2010, 5:39 p.m. OK GNU C++ TESTS 60 10 716800 2100
4912893 LetItFail D Oct. 27, 2013, 12:37 p.m. OK GNU C++0x TESTS 60 15 0 2100
3967880 zekyll D June 27, 2013, 4:25 p.m. OK GNU C++0x TESTS 60 15 0 2100
3062601 shivawu D Feb. 2, 2013, 8:32 a.m. OK GNU C++0x TESTS 60 15 0 2100
10242596 foxermen D March 12, 2015, 12:17 a.m. OK GNU C++0x TESTS 60 30 0 2100
9433102 lin375691011 D Jan. 15, 2015, 3:01 a.m. OK GNU C++0x TESTS 60 30 0 2100
9427908 akaiNeko paulwang eddy1021 D Jan. 14, 2015, 7:54 a.m. OK GNU C++0x TESTS 60 30 0 2100
9202790 mareksom D Dec. 20, 2014, 1:53 a.m. OK GNU C++0x TESTS 60 30 0 2100
8546267 menato D Nov. 4, 2014, 12:07 p.m. OK GNU C++0x TESTS 60 30 0 2100
7683163 marat.snowbear D Sept. 4, 2014, 3:46 p.m. OK GNU C++0x TESTS 60 30 0 2100
7297962 zimpha D July 31, 2014, 8:21 a.m. OK GNU C++0x TESTS 60 30 0 2100
48721965 luogu_bot5 D Jan. 22, 2019, 1:55 p.m. OK GNU C++11 TESTS 60 30 0 2100
32129326 a1s3a D Nov. 7, 2017, 7:35 p.m. OK GNU C++11 TESTS 60 30 0 2100
30574168 230575 D Sept. 21, 2017, 10:41 a.m. OK GNU C++11 TESTS 60 30 0 2100
27231680 suda1527405128 D May 20, 2017, 8:42 a.m. OK GNU C++11 TESTS 60 30 0 2100
27231669 vjudge5 D May 20, 2017, 8:42 a.m. OK GNU C++11 TESTS 60 30 0 2100
22859049 tuanalt D Dec. 10, 2016, 3:15 p.m. OK GNU C++11 TESTS 60 30 0 2100
22660278 Gegowarrior D Dec. 2, 2016, 3:25 p.m. OK GNU C++11 TESTS 60 30 0 2100
22482168 .I. D Nov. 25, 2016, 4:34 a.m. OK GNU C++11 TESTS 60 30 0 2100
21815874 Duxar D Oct. 27, 2016, 9:23 a.m. OK GNU C++11 TESTS 60 30 0 2100
20755947 timeout D Sept. 19, 2016, 1:08 p.m. OK GNU C++11 TESTS 60 30 0 2100
32012738 BATM4N D Nov. 3, 2017, 3:52 p.m. OK GNU C++14 TESTS 60 30 0 2100
30329479 cry752264997 D Sept. 14, 2017, 1:24 p.m. OK GNU C++14 TESTS 60 30 0 2100
22707486 vectar31 D Dec. 5, 2016, 8:49 a.m. OK GNU C++14 TESTS 60 30 0 2100
21772043 Punstoppable D Oct. 25, 2016, 1:29 p.m. OK GNU C++14 TESTS 60 30 0 2100
27166422 .tx D May 16, 2017, 5:59 p.m. OK GNU C++14 TESTS 60 30 102400 2100
22705736 ___---___ D Dec. 5, 2016, 6:27 a.m. OK GNU C++14 TESTS 60 30 102400 2100
20364617 syt D Sept. 3, 2016, 3:06 p.m. OK GNU C++14 TESTS 60 30 102400 2100
32369970 sudoBug D Nov. 17, 2017, 5:27 a.m. OK GNU C++14 TESTS 60 30 204800 2100
31268514 teamskiy D Oct. 13, 2017, 8:18 a.m. OK GNU C++14 TESTS 60 30 204800 2100
29860415 vjudge5 D Aug. 29, 2017, 7:42 a.m. OK GNU C++14 TESTS 60 30 204800 2100
67441231 Monogon D Dec. 22, 2019, 7:25 p.m. OK GNU C++17 TESTS 60 30 204800 2100
35670538 vjudge1 D Feb. 25, 2018, 6:59 a.m. OK GNU C++17 TESTS 60 30 1945600 2100
35670525 Ts. D Feb. 25, 2018, 6:58 a.m. OK GNU C++17 TESTS 60 30 1945600 2100
35340976 Georgia_001 D Feb. 16, 2018, 2:43 p.m. OK GNU C++17 TESTS 60 30 2048000 2100
66107630 vjudge4 D Dec. 1, 2019, 9:04 a.m. OK GNU C++17 TESTS 60 60 102400 2100
44721782 q234rty D Oct. 23, 2018, 5:40 a.m. OK GNU C++17 TESTS 60 60 204800 2100
43625018 Emon_Dip D Sept. 30, 2018, 9:38 p.m. OK GNU C++17 TESTS 60 60 204800 2100
44721801 q234rty D Oct. 23, 2018, 5:41 a.m. OK GNU C++17 TESTS 60 60 307200 2100
48941044 827852427 D Jan. 25, 2019, 4:32 p.m. OK GNU C++17 TESTS 60 60 409600 2100
69656367 ConanYu D Jan. 28, 2020, 7:37 a.m. OK GNU C++17 TESTS 60 62 0 2100
29307829 WangJialei D Aug. 9, 2017, 2:23 p.m. OK Go TESTS 60 30 23142400 2100
32789367 risenrigel D Nov. 29, 2017, 7:53 p.m. OK Go TESTS 60 30 24883200 2100
286436 ShingRay D Feb. 17, 2011, 5:55 a.m. OK Haskell TESTS 60 30 1638400 2100
329449 alexlz661 D March 9, 2011, 1:57 p.m. OK Haskell TESTS 60 30 2048000 2100
2289609 DimsFromDergachy D Oct. 2, 2012, 5:25 a.m. OK Haskell TESTS 60 31 0 2100
24036 Vasya.V D March 20, 2010, 8:17 p.m. OK Java 6 TESTS 60 60 30003200 2100
23552 Egor D March 20, 2010, 5:45 p.m. OK Java 6 TESTS 60 60 30003200 2100
23471 Efgen D March 20, 2010, 5:38 p.m. OK Java 6 TESTS 60 60 30003200 2100
23290 izbyshev D March 20, 2010, 5:25 p.m. OK Java 6 TESTS 60 60 30003200 2100
23172 ivan.popelyshev D March 20, 2010, 5:16 p.m. OK Java 6 TESTS 60 60 30003200 2100
23102 wata D March 20, 2010, 5:12 p.m. OK Java 6 TESTS 60 60 30003200 2100
22501 Petr D March 20, 2010, 4:36 p.m. OK Java 6 TESTS 60 60 30003200 2100
24760 vot D March 26, 2010, 7:37 p.m. OK Java 6 TESTS 60 60 30720000 2100
23980 yiuyuho D March 20, 2010, 7:16 p.m. OK Java 6 TESTS 60 80 30003200 2100
23645 Shafer D March 20, 2010, 5:52 p.m. OK Java 6 TESTS 60 80 30003200 2100
3697162 Tifuera D May 9, 2013, 6:04 p.m. OK Java 7 TESTS 60 109 204800 2100
4874995 pablyxa D Oct. 25, 2013, 6:33 a.m. OK Java 7 TESTS 60 124 0 2100
1847079 mmaxio D July 1, 2012, 1:30 a.m. OK Java 7 TESTS 60 130 44953600 2100
1847075 mmaxio D July 1, 2012, 1:27 a.m. OK Java 7 TESTS 60 130 44953600 2100
11175733 mkirsche D May 20, 2015, 9:32 a.m. OK Java 7 TESTS 60 156 0 2100
10742526 dspstanky D April 16, 2015, 2:57 p.m. OK Java 7 TESTS 60 156 0 2100
7794876 darrensun D Sept. 14, 2014, 2:08 p.m. OK Java 7 TESTS 60 156 0 2100
9262743 AnishS D Dec. 25, 2014, 1:57 a.m. OK Java 7 TESTS 60 186 0 2100
6552324 ProjectYoung D May 5, 2014, 9:31 a.m. OK Java 7 TESTS 60 186 0 2100
6358975 slycelote D April 14, 2014, 7:33 p.m. OK Java 7 TESTS 60 186 0 2100
54393471 brandon71901 D May 19, 2019, 6:04 p.m. OK Java 8 TESTS 60 186 3174400 2100
48553523 Mandir_Wahi_Banayenge D Jan. 19, 2019, 3:43 a.m. OK Java 8 TESTS 60 186 3174400 2100
60900527 Oom D Sept. 19, 2019, 9:07 p.m. OK Java 8 TESTS 60 186 3276800 2100
20955172 coolmaksat D Sept. 27, 2016, 7:38 p.m. OK Java 8 TESTS 60 216 3481600 2100
20672432 lehar D Sept. 17, 2016, 3:58 a.m. OK Java 8 TESTS 60 218 3686400 2100
16274573 alibaba D Feb. 22, 2016, 10 a.m. OK Java 8 TESTS 60 248 0 2100
32955542 tomdmitriev D Dec. 5, 2017, 6:25 p.m. OK Java 8 TESTS 60 248 20275200 2100
17687529 mr.bjerre D May 2, 2016, 10:10 a.m. OK Java 8 TESTS 60 248 26214400 2100
11707083 Slayer_29 D June 22, 2015, 9:28 a.m. OK Java 8 TESTS 60 280 0 2100
10536061 msaldivar D March 31, 2015, 6:35 p.m. OK Java 8 TESTS 60 280 0 2100
10450159 rgtbctltpx D March 25, 2015, 4:14 p.m. OK JavaScript TESTS 60 62 0 2100
5607905 LowB D Jan. 3, 2014, 2:24 a.m. OK JavaScript TESTS 60 62 0 2100
14566357 asdanilenko D Nov. 30, 2015, 6:52 a.m. OK Mono C# TESTS 60 124 2457600 2100
18289392 fsb4000 D June 7, 2016, 7:14 p.m. OK Mono C# TESTS 60 124 11673600 2100
475114 wrong D June 3, 2011, 12:57 p.m. OK Mono C# TESTS 60 130 5632000 2100
25037 Eugene D May 1, 2010, 7:40 p.m. OK Mono C# TESTS 60 140 6041600 2100
20970630 AnatolyTolstobrov D Sept. 28, 2016, 2:51 p.m. OK MS C# TESTS 60 122 102400 2100
8072928 di7778 D Oct. 3, 2014, 10:06 p.m. OK MS C# TESTS 60 122 204800 2100
20143480 polphit D Aug. 25, 2016, 4:44 a.m. OK MS C# TESTS 60 124 9011200 2100
18003836 azukun D May 20, 2016, 11:32 a.m. OK MS C# TESTS 60 154 9523200 2100
23457 dened D March 20, 2010, 5:37 p.m. OK MS C++ TESTS 60 10 716800 2100
22732 RAD D March 20, 2010, 4:48 p.m. OK MS C++ TESTS 60 10 716800 2100
22725 RAVEman D March 20, 2010, 4:48 p.m. OK MS C++ TESTS 60 10 716800 2100
24253 xyz666 D March 21, 2010, 9:30 a.m. OK MS C++ TESTS 60 10 716800 2100
3920838 Kazim D June 19, 2013, 2:41 p.m. OK MS C++ TESTS 60 15 0 2100
3699322 vjudge2 D May 10, 2013, 1:28 p.m. OK MS C++ TESTS 60 15 0 2100
3407675 NALP D March 26, 2013, 10:51 a.m. OK MS C++ TESTS 60 15 0 2100
3552052 htzfun D April 16, 2013, 11:24 a.m. OK MS C++ TESTS 60 15 819200 2100
16120484 jk_qq D Feb. 17, 2016, 9:59 p.m. OK MS C++ TESTS 60 30 0 2100
22218872 alastochkin D Nov. 15, 2016, 8:51 a.m. OK MS C++ TESTS 60 30 0 2100
62039971 wby D Oct. 7, 2019, 5:35 a.m. OK MS C++ 2017 TESTS 60 62 0 2100
56764104 Bilol_Hakimov D July 9, 2019, 5:20 p.m. OK MS C++ 2017 TESTS 60 62 0 2100
62039712 wby D Oct. 7, 2019, 5:29 a.m. OK MS C++ 2017 TESTS 60 62 0 2100
61449111 Saber4096 D Sept. 29, 2019, 12:33 a.m. OK MS C++ 2017 TESTS 60 62 102400 2100
41279299 fruha D Aug. 6, 2018, 3:08 p.m. OK PascalABC.NET TESTS 60 122 102400 2100
25978027 kunal_64 D March 31, 2017, 12:13 p.m. OK PyPy 2 TESTS 60 154 21913600 2100
46005591 Skybytskyi.Nikita D Nov. 20, 2018, 4:46 p.m. OK PyPy 3 TESTS 60 280 0 2100
3087674 m1_k3 D Feb. 9, 2013, 6:41 p.m. OK Python 2 TESTS 60 46 0 2100
23240 rajatgoel D March 20, 2010, 5:22 p.m. OK Python 2 TESTS 60 50 2355200 2100
444141 sbzlyessit D May 10, 2011, 4 a.m. OK Python 2 TESTS 60 60 2867200 2100
301250 lyrics D Feb. 24, 2011, 2:24 a.m. OK Python 2 TESTS 60 60 2867200 2100
3967379 E478 D June 27, 2013, 1:39 p.m. OK Python 2 TESTS 60 62 0 2100
3222665 daidailanlan D March 1, 2013, 6:04 a.m. OK Python 2 TESTS 60 62 0 2100
2863917 lemur D Jan. 1, 2013, 2:39 p.m. OK Python 2 TESTS 60 62 0 2100
2530829 logicaltby D Nov. 10, 2012, 3:28 p.m. OK Python 2 TESTS 60 62 0 2100
3958544 houxianxu D June 25, 2013, 8:51 a.m. OK Python 2 TESTS 60 62 307200 2100
3782273 busyjay D May 27, 2013, 5:15 a.m. OK Python 2 TESTS 60 62 307200 2100
11011225 darrensun D May 6, 2015, 8:45 a.m. OK Python 3 TESTS 60 124 0 2100
6322468 critical27 D April 11, 2014, 1:20 p.m. OK Python 3 TESTS 60 124 0 2100
28878616 handsome_89244 D July 25, 2017, 2:34 p.m. OK Python 3 TESTS 60 124 4915200 2100
28814555 BinZhao D July 24, 2017, 5:05 a.m. OK Python 3 TESTS 60 124 4915200 2100
17767005 hmoribe D May 6, 2016, 7:42 p.m. OK Python 3 TESTS 60 124 5120000 2100
36065822 mathkang D March 8, 2018, 9:21 a.m. OK Python 3 TESTS 60 156 5632000 2100
57915053 lopare D July 29, 2019, 12:29 a.m. OK Python 3 TESTS 60 218 0 2100
45550950 Tauzn D Nov. 11, 2018, 5:13 a.m. OK Python 3 TESTS 60 218 0 2100
24643670 sbandjohn D Feb. 14, 2017, 7:17 a.m. OK Python 3 TESTS 60 218 6041600 2100
59490383 winless D Aug. 25, 2019, 7:04 p.m. OK Python 3 TESTS 60 248 0 2100
2744797 sambaek D Dec. 9, 2012, 8:13 p.m. OK Ruby TESTS 60 109 0 2100
6571609 jetblack20 D May 8, 2014, 10:36 a.m. OK Scala TESTS 60 468 0 2100
11273412 Amr_Hassan D May 26, 2015, 5:07 a.m. OK Scala TESTS 60 530 102400 2100
10974342 Toshik D May 2, 2015, 12:28 p.m. OK Scala TESTS 60 590 48230400 2100
6313310 zkw D April 10, 2014, 3:57 p.m. OK Scala TESTS 60 622 102400 2100

remove filters

Back to search problems