Codeforces Beta Round 18 (Div. 2 Only)

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
18 Codeforces Beta Round 18 (Div. 2 Only) FINISHED False 7200 460393185 June 16, 2010, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2172 ) B Platforms PROGRAMMING brute force math 1700

B"In one one-dimensional world there are n platforms. Platform with index k (platforms are numbered from 1) is a segment with coordinates [(k xe2 x80 x89- xe2 x80 x891)m, xe2 x80 x89(k xe2 x80 x89- xe2 x80 x891)m xe2 x80 x89+ xe2 x80 x89l], and l xe2 x80 x89< xe2 x80 x89m. Grasshopper Bob starts to jump along the platforms from point 0, with each jump he moves exactly d units right. Find out the coordinate of the point, where Bob will fall down. The grasshopper falls down, if he finds himself not on the platform, but if he finds himself on the edge of the platform, he doesn't fall down. The first input line contains 4 integer numbers n, d, m, l (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89d, xe2 x80 x89m, xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106, xe2 x80 x89l xe2 x80 x89< xe2 x80 x89m) -- respectively: amount of platforms, length of the grasshopper Bob's jump, and numbers m and l needed to find coordinates of the k-th platform: [(k xe2 x80 x89- xe2 x80 x891)m, xe2 x80 x89(k xe2 x80 x89- xe2 x80 x891)m xe2 x80 x89+ xe2 x80 x89l]. Output the coordinates of the point, where the grosshopper will fall down. Don't forget that if Bob finds himself on the platform edge, he doesn't fall down."...

Tutorials

Codeforces Beta Round #18(Div. 2) Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
7364099 hos.lyric B Aug. 7, 2014, 12:58 a.m. OK D TESTS 35 62 1433600 1700
80886 brainail B June 16, 2010, 4:01 p.m. OK Delphi TESTS 35 80 16896000 1700
81835 Andrbw B June 16, 2010, 4:46 p.m. OK Delphi TESTS 35 390 921600 1700
81713 eldar B June 16, 2010, 4:41 p.m. OK Delphi TESTS 35 410 819200 1700
457452 ruban B May 17, 2011, 2:57 a.m. OK Delphi TESTS 35 420 819200 1700
84156 knock-knock B Aug. 1, 2010, 5:14 p.m. OK Delphi TESTS 35 420 921600 1700
82865 Waiter B June 17, 2010, 7:50 a.m. OK Delphi TESTS 35 420 921600 1700
80459 sankear B June 16, 2010, 3:44 p.m. OK Delphi TESTS 35 420 921600 1700
82766 ErzhanDS B June 17, 2010, 5:26 a.m. OK Delphi TESTS 35 420 16896000 1700
81500 Babanin_Ivan B June 16, 2010, 4:28 p.m. OK Delphi TESTS 35 420 16896000 1700
2531212 AleksanderBalobanov B Nov. 10, 2012, 6:26 p.m. OK Delphi TESTS 35 437 102400 1700
83399 kozima B June 19, 2010, 12:22 p.m. OK F# TESTS 35 270 6246400 1700
82772 igor_kz B June 17, 2010, 5:42 a.m. OK FPC TESTS 35 60 9011200 1700
2391497 kuchumovaMary B Oct. 20, 2012, 6:31 p.m. OK FPC TESTS 35 62 3993600 1700
80647 scenetree B June 16, 2010, 3:51 p.m. OK FPC TESTS 35 80 921600 1700
2107754 wangxin_n B Sept. 10, 2012, 3:07 a.m. OK FPC TESTS 35 90 1228800 1700
2107649 Leon_C B Sept. 10, 2012, 2:15 a.m. OK FPC TESTS 35 90 1228800 1700
2107620 ATM_oTTo B Sept. 10, 2012, 1:50 a.m. OK FPC TESTS 35 90 1228800 1700
545524 vilcheuski B July 14, 2011, 6:31 p.m. OK FPC TESTS 35 90 33075200 1700
9010336 Felix_Mate B Dec. 7, 2014, 1:55 p.m. OK FPC TESTS 35 92 0 1700
27392417 luckystars B May 27, 2017, 3:22 p.m. OK FPC TESTS 35 92 102400 1700
4027459 Berzhik B July 5, 2013, 2:49 p.m. OK FPC TESTS 35 93 0 1700
82533 o948 B June 16, 2010, 7:39 p.m. OK GNU C TESTS 35 30 1331200 1700
2977870 vjudge3 B Jan. 21, 2013, 11:07 a.m. OK GNU C TESTS 35 31 0 1700
2861125 cpy B Dec. 31, 2012, 1:04 p.m. OK GNU C TESTS 35 31 0 1700
727538 kawatea B Sept. 27, 2011, 5:24 p.m. OK GNU C TESTS 35 50 1331200 1700
83645 cielavenir B June 22, 2010, 11:59 p.m. OK GNU C TESTS 35 50 1331200 1700
82272 o948 B June 16, 2010, 5:26 p.m. OK GNU C TESTS 35 50 1331200 1700
80568 china.zhangchenzi B June 16, 2010, 3:48 p.m. OK GNU C TESTS 35 50 1331200 1700
1723366 vjudge2 B May 27, 2012, 6:20 a.m. OK GNU C TESTS 35 50 1433600 1700
22151421 salah_bouziane B Nov. 10, 2016, 4:02 p.m. OK GNU C TESTS 35 60 0 1700
18620995 rainboy B June 20, 2016, 8:52 p.m. OK GNU C TESTS 35 60 0 1700
82831 ProjectYoung B June 17, 2010, 7 a.m. OK GNU C++ TESTS 35 10 1331200 1700
4143273 shopnobaj_raju B July 23, 2013, 9:25 p.m. OK GNU C++ TESTS 35 15 0 1700
3753013 pankajb23 B May 21, 2013, 12:19 p.m. OK GNU C++ TESTS 35 15 0 1700
31188962 Omnia.Saleh B Oct. 10, 2017, 12:11 p.m. OK GNU C++ TESTS 35 30 0 1700
27233672 Cmise B May 20, 2017, 10:31 a.m. OK GNU C++ TESTS 35 30 0 1700
14938955 alishaterian B Dec. 23, 2015, 1:20 p.m. OK GNU C++ TESTS 35 30 0 1700
12082121 vjudge2 B July 16, 2015, 10:31 a.m. OK GNU C++ TESTS 35 30 0 1700
12082096 vjudge5 B July 16, 2015, 10:27 a.m. OK GNU C++ TESTS 35 30 0 1700
10233171 Mohamed_Ayman B March 11, 2015, 3:29 a.m. OK GNU C++ TESTS 35 30 0 1700
7677205 mmaks B Sept. 3, 2014, 7:24 p.m. OK GNU C++ TESTS 35 30 0 1700
5032076 Aidos B Nov. 8, 2013, 8:16 p.m. OK GNU C++0x TESTS 35 30 0 1700
1570238 jiangzhijie B April 18, 2012, 9:48 a.m. OK GNU C++0x TESTS 35 30 1433600 1700
992461 AleksBannikov B Dec. 30, 2011, 8:11 p.m. OK GNU C++0x TESTS 35 30 1433600 1700
5699853 atetubou B Jan. 16, 2014, 12:21 a.m. OK GNU C++0x TESTS 35 30 4403200 1700
3197847 cihatbas B Feb. 26, 2013, 8:25 a.m. OK GNU C++0x TESTS 35 31 0 1700
3033775 lemur B Jan. 29, 2013, 2:12 p.m. OK GNU C++0x TESTS 35 46 0 1700
6255104 marat.snowbear B April 4, 2014, 2:05 a.m. OK GNU C++0x TESTS 35 60 0 1700
652587 Archon.JK B Aug. 30, 2011, 4:05 p.m. OK GNU C++0x TESTS 35 60 1331200 1700
10220685 Yousry B March 9, 2015, 6:46 p.m. OK GNU C++0x TESTS 35 62 0 1700
10184613 a1s3a B March 7, 2015, 1:06 a.m. OK GNU C++0x TESTS 35 62 0 1700
27547544 arcanae B June 3, 2017, 3:15 p.m. OK GNU C++11 TESTS 35 30 0 1700
16476043 Sherbi7y B March 3, 2016, 3:19 a.m. OK GNU C++11 TESTS 35 30 0 1700
15286139 ITDOI B Jan. 11, 2016, 9:54 a.m. OK GNU C++11 TESTS 35 30 0 1700
15100288 eagle93 B Dec. 30, 2015, 12:54 p.m. OK GNU C++11 TESTS 35 30 0 1700
13834976 warlock51 B Oct. 25, 2015, 7:38 a.m. OK GNU C++11 TESTS 35 30 0 1700
10641632 farseer000 B April 9, 2015, 3:39 p.m. OK GNU C++11 TESTS 35 30 0 1700
28940166 cjt123 B July 28, 2017, 1:32 a.m. OK GNU C++11 TESTS 35 30 1945600 1700
33574403 animalcoder B Dec. 23, 2017, 5:39 p.m. OK GNU C++11 TESTS 35 30 2048000 1700
25214707 hpfdf B March 4, 2017, 1:35 p.m. OK GNU C++11 TESTS 35 30 2048000 1700
20095906 PKUItachi B Aug. 24, 2016, 12:22 a.m. OK GNU C++11 TESTS 35 30 2048000 1700
31036646 daljitsingh B Oct. 5, 2017, 2:10 p.m. OK GNU C++14 TESTS 35 30 0 1700
30545517 Mystery27 B Sept. 20, 2017, 12:49 p.m. OK GNU C++14 TESTS 35 30 0 1700
29459846 feleb B Aug. 14, 2017, 2:22 p.m. OK GNU C++14 TESTS 35 30 1945600 1700
28588275 mohit28rawat B July 16, 2017, 6 a.m. OK GNU C++14 TESTS 35 30 1945600 1700
26490180 Darkdawn B April 19, 2017, 7:02 a.m. OK GNU C++14 TESTS 35 30 1945600 1700
23391116 rdiachenko B Dec. 29, 2016, 6:09 a.m. OK GNU C++14 TESTS 35 30 1945600 1700
56301423 rc7 B June 30, 2019, 9:06 a.m. OK GNU C++14 TESTS 35 60 0 1700
29733144 iLoveIOI B Aug. 24, 2017, 2:12 p.m. OK GNU C++14 TESTS 35 60 0 1700
27352147 ilikebarryallen B May 26, 2017, 9:02 a.m. OK GNU C++14 TESTS 35 60 0 1700
20329966 Arpa B Sept. 1, 2016, 7:40 p.m. OK GNU C++14 TESTS 35 60 0 1700
42911778 _op.z B Sept. 16, 2018, 7:47 a.m. OK GNU C++17 TESTS 35 30 0 1700
35839776 shiyanrui B March 2, 2018, 2:06 p.m. OK GNU C++17 TESTS 35 30 1843200 1700
55740320 no_one_07 B June 19, 2019, 7:03 a.m. OK GNU C++17 TESTS 35 60 0 1700
39436911 verngutz B June 20, 2018, 1:19 p.m. OK GNU C++17 TESTS 35 60 0 1700
68162565 harshchhatbar B Jan. 4, 2020, 11:32 a.m. OK GNU C++17 TESTS 35 62 0 1700
62428109 ilya-rv B Oct. 12, 2019, 2:54 p.m. OK GNU C++17 TESTS 35 62 0 1700
61780060 AbradolfLincler B Oct. 3, 2019, 12:55 p.m. OK GNU C++17 TESTS 35 62 0 1700
61779062 sammithkanur B Oct. 3, 2019, 12:38 p.m. OK GNU C++17 TESTS 35 62 0 1700
60833541 mind_changer B Sept. 19, 2019, 8:02 a.m. OK GNU C++17 TESTS 35 62 0 1700
56519035 vjudge2 B July 4, 2019, 2:07 p.m. OK GNU C++17 TESTS 35 62 0 1700
39082737 WangJialei B June 10, 2018, 4:06 a.m. OK Go TESTS 35 92 204800 1700
2846159 AstroConjecture B Dec. 28, 2012, 12:21 a.m. OK Haskell TESTS 35 93 102400 1700
83975 rizar B July 3, 2010, 9:15 a.m. OK Haskell TESTS 35 1060 2048000 1700
79833 Egor B June 16, 2010, 3:20 p.m. OK Java 6 TESTS 35 60 42393600 1700
2263437 uwi B Sept. 27, 2012, 6:36 p.m. OK Java 6 TESTS 35 78 0 1700
82472 fetetriste B June 16, 2010, 6:47 p.m. OK Java 6 TESTS 35 80 42393600 1700
80484 Kandyman B June 16, 2010, 3:45 p.m. OK Java 6 TESTS 35 80 42393600 1700
83296 yoshibo- B June 18, 2010, 3:26 p.m. OK Java 6 TESTS 35 80 42905600 1700
83039 ykt836 B June 17, 2010, 2:24 p.m. OK Java 6 TESTS 35 90 42393600 1700
80844 Mex-Mans B June 16, 2010, 3:59 p.m. OK Java 6 TESTS 35 90 42393600 1700
84351 satoshii B Sept. 6, 2010, 1:12 a.m. OK Java 6 TESTS 35 90 42905600 1700
84320 anhdt B Sept. 3, 2010, 3:13 p.m. OK Java 6 TESTS 35 90 42905600 1700
3552609 vjudge3 B April 16, 2013, 1:13 p.m. OK Java 6 TESTS 35 109 0 1700
5631133 tiny_code B Jan. 7, 2014, 6:55 a.m. OK Java 7 TESTS 35 124 0 1700
5569895 upsolving B Dec. 30, 2013, 3:06 p.m. OK Java 7 TESTS 35 124 0 1700
4396918 Zyflair B Sept. 2, 2013, 12:12 p.m. OK Java 7 TESTS 35 156 0 1700
4275368 santjuan B Aug. 14, 2013, 2:02 a.m. OK Java 7 TESTS 35 156 0 1700
4270309 ssohn B Aug. 12, 2013, 4:23 p.m. OK Java 7 TESTS 35 156 0 1700
4207591 trunghieu11 B July 31, 2013, 6:50 a.m. OK Java 7 TESTS 35 156 0 1700
8750885 zerenopus B Nov. 18, 2014, 10:34 p.m. OK Java 7 TESTS 35 186 0 1700
6850509 sousnake B June 8, 2014, 7:17 p.m. OK Java 7 TESTS 35 186 0 1700
6384881 mr_caos B April 17, 2014, 1:42 p.m. OK Java 7 TESTS 35 186 0 1700
6163482 tomash_em B March 27, 2014, 6:40 p.m. OK Java 7 TESTS 35 186 0 1700
48907844 _bacali B Jan. 24, 2019, 10:10 p.m. OK Java 8 TESTS 35 156 3276800 1700
53709657 mennafadali B May 3, 2019, 2:56 p.m. OK Java 8 TESTS 35 186 3174400 1700
53745687 abdelrahman.ismail B May 4, 2019, 4:36 p.m. OK Java 8 TESTS 35 186 3276800 1700
51459149 jlewis6 B March 18, 2019, 6:36 p.m. OK Java 8 TESTS 35 186 3276800 1700
50697542 parthsingh287 B March 2, 2019, 6:55 p.m. OK Java 8 TESTS 35 218 3584000 1700
25207201 pitfall B March 4, 2017, 10:02 a.m. OK Java 8 TESTS 35 218 26009600 1700
12151320 AlexErofeev B July 21, 2015, 4:58 p.m. OK Java 8 TESTS 35 248 0 1700
11367087 ProjectYoung B May 31, 2015, 1:09 p.m. OK Java 8 TESTS 35 248 0 1700
11084449 poikniok B May 13, 2015, 12:04 a.m. OK Java 8 TESTS 35 248 0 1700
67422590 paridhi.saxenaa B Dec. 22, 2019, 12:16 p.m. OK Java 8 TESTS 35 248 3686400 1700
15929764 agat00 B Feb. 10, 2016, 1:41 p.m. OK JavaScript TESTS 35 218 1126400 1700
5809834 Eeyore B Jan. 26, 2014, 1:11 a.m. OK JavaScript TESTS 35 436 18534400 1700
46452749 moss3s B Dec. 1, 2018, 4:22 p.m. OK Kotlin TESTS 35 248 4915200 1700
3035071 stifff B Jan. 29, 2013, 9:10 p.m. OK Mono C# TESTS 35 46 1024000 1700
59890327 mk000mk B Sept. 2, 2019, 10:05 a.m. OK Mono C# TESTS 35 156 0 1700
81881 Tactic B June 16, 2010, 4:48 p.m. OK Mono C# TESTS 35 160 5939200 1700
82914 rito B June 17, 2010, 9:16 a.m. OK Mono C# TESTS 35 190 5939200 1700
82294 Hadi_Asiaie B June 16, 2010, 5:29 p.m. OK Mono C# TESTS 35 200 5939200 1700
81395 tanzaku B June 16, 2010, 4:23 p.m. OK Mono C# TESTS 35 220 5939200 1700
512282 wrong B June 27, 2011, 4:54 p.m. OK Mono C# TESTS 35 230 6656000 1700
83945 DNNX B June 29, 2010, 8:19 p.m. OK Mono C# TESTS 35 250 7065600 1700
84100 Utka B July 23, 2010, 5:40 a.m. OK Mono C# TESTS 35 280 6041600 1700
81477 Scalar B June 16, 2010, 4:27 p.m. OK Mono C# TESTS 35 280 6963200 1700
18126182 azukun B May 28, 2016, 5:40 a.m. OK MS C# TESTS 35 124 10342400 1700
19423815 fr0st B July 26, 2016, 1:45 p.m. OK MS C# TESTS 35 154 2560000 1700
16069545 zazak B Feb. 17, 2016, 11:11 a.m. OK MS C# TESTS 35 216 0 1700
8989954 Mem B Dec. 5, 2014, 11:02 a.m. OK MS C# TESTS 35 248 2150400 1700
5519586 serglag B Dec. 25, 2013, 2:38 p.m. OK MS C++ TESTS 35 30 0 1700
81847 matsu B June 16, 2010, 4:47 p.m. OK MS C++ TESTS 35 30 1331200 1700
255233 RAVEman B Jan. 19, 2011, 5:33 p.m. OK MS C++ TESTS 35 30 1331200 1700
82494 ddd B June 16, 2010, 7 p.m. OK MS C++ TESTS 35 30 1331200 1700
80780 liuyubobobo B June 16, 2010, 3:56 p.m. OK MS C++ TESTS 35 30 1331200 1700
80764 ryry56 B June 16, 2010, 3:56 p.m. OK MS C++ TESTS 35 30 1331200 1700
80774 geka666 B June 16, 2010, 3:56 p.m. OK MS C++ TESTS 35 30 1331200 1700
1723288 vjudge4 B May 27, 2012, 5:34 a.m. OK MS C++ TESTS 35 30 1433600 1700
757689 Timur_Sitdikov B June 16, 2010, 3:27 p.m. OK MS C++ TESTS 35 30 1433600 1700
80495 good_mood B June 16, 2010, 3:46 p.m. OK MS C++ TESTS 35 30 2355200 1700
60392136 ICboom B Sept. 11, 2019, 1:40 p.m. OK MS C++ 2017 TESTS 35 62 0 1700
49208226 dharaniv1999 B Jan. 30, 2019, 2:37 p.m. OK MS C++ 2017 TESTS 35 62 0 1700
63785354 Saber4096 B Oct. 30, 2019, 12:10 p.m. OK MS C++ 2017 TESTS 35 62 409600 1700
53538369 Peinot B April 30, 2019, 4:42 a.m. OK MS C++ 2017 TESTS 35 92 0 1700
53538536 Peinot B April 30, 2019, 4:50 a.m. OK MS C++ 2017 TESTS 35 92 0 1700
7680271 ShingRay B Sept. 4, 2014, 8:56 a.m. OK Ocaml TESTS 35 374 204800 1700
20937696 polphit B Sept. 27, 2016, 4:27 a.m. OK PyPy 2 TESTS 35 1028 614400 1700
49120041 mhorst B Jan. 28, 2019, 6:48 p.m. OK PyPy 2 TESTS 35 1090 409600 1700
52328003 teitoku B April 5, 2019, 2:46 a.m. OK PyPy 3 TESTS 35 372 204800 1700
1130466 cebrusfspy B Feb. 1, 2012, 11:37 a.m. OK Python 2 TESTS 35 330 2867200 1700
82957 pheonix B June 17, 2010, 10:51 a.m. OK Python 2 TESTS 35 380 2764800 1700
2357272 atubo B Oct. 14, 2012, 5:40 a.m. OK Python 2 TESTS 35 406 16179200 1700
22656483 franckmy B Dec. 2, 2016, 11:33 a.m. OK Python 2 TESTS 35 560 0 1700
81423 shiumachi B June 16, 2010, 4:25 p.m. OK Python 2 TESTS 35 1080 49152000 1700
1130411 cebrusfspy B Feb. 1, 2012, 11:16 a.m. OK Python 2 TESTS 35 1480 2867200 1700
684025 pasin30055 B Sept. 8, 2011, 11:26 p.m. OK Python 2 TESTS 35 1480 19046400 1700
12898966 kwakwa B Sept. 8, 2015, 2:31 p.m. OK Python 2 TESTS 35 1496 29081600 1700
35843644 ______u______ B March 2, 2018, 3:16 p.m. OK Python 2 TESTS 35 1496 33689600 1700
35843622 ______n______ B March 2, 2018, 3:15 p.m. OK Python 2 TESTS 35 1496 33689600 1700
24670644 sbandjohn B Feb. 14, 2017, 1:03 p.m. OK Python 3 TESTS 35 748 4710400 1700
49313870 vinilivramento B Feb. 1, 2019, 9:22 a.m. OK Python 3 TESTS 35 872 0 1700
15260798 merolish B Jan. 8, 2016, 9:01 p.m. OK Python 3 TESTS 35 1060 0 1700
51400691 meicholtz B March 17, 2019, 7:10 a.m. OK Python 3 TESTS 35 1090 0 1700
46045970 Shiisui B Nov. 22, 2018, 1:57 a.m. OK Python 3 TESTS 35 1090 0 1700
51400665 meicholtz B March 17, 2019, 7:10 a.m. OK Python 3 TESTS 35 1120 0 1700
35761942 Qumeric B Feb. 27, 2018, 12:41 p.m. OK Python 3 TESTS 35 1122 5632000 1700
55736960 tushusavaliya B June 19, 2019, 4:53 a.m. OK Python 3 TESTS 35 1152 0 1700
55736704 tusharsavaliya B June 19, 2019, 4:40 a.m. OK Python 3 TESTS 35 1152 0 1700
42121933 Mk_Python_v1 B Aug. 26, 2018, 12:56 p.m. OK Python 3 TESTS 35 1152 0 1700
7448015 mysterion B Aug. 14, 2014, 8:27 p.m. OK Scala TESTS 35 280 0 1700
2900217 mishagam B Jan. 9, 2013, 5:58 p.m. OK Scala TESTS 35 484 102400 1700
3107205 Nick B Feb. 12, 2013, 11:14 a.m. OK Scala TESTS 35 812 41062400 1700

remove filters

Back to search problems