Codeforces Round 301 (Div. 2)

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
540 Codeforces Round 301 (Div. 2) FINISHED False 7200 307114223 April 30, 2015, 4:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5617 ) D Bad Luck Island PROGRAMMING dp probabilities 2100

B"The Bad Luck Island is inhabited by three kinds of species: r rocks, s scissors and p papers. At some moments of time two random individuals meet (all pairs of individuals can meet equiprobably), and if they belong to different species, then one individual kills the other one: a rock kills scissors, scissors kill paper, and paper kills a rock. Your task is to determine for each species what is the probability that this species will be the only one to inhabit this island after a long enough period of time. The single line contains three integers r, s and p (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r, xe2 x80 x89s, xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the original number of individuals in the species of rock, scissors and paper, respectively. Print three space-separated real numbers: the probabilities, at which the rocks, the scissors and the paper will be the only surviving species, respectively. The answer will be considered correct if the relative or absolute error of each number doesn't exceed 10 xe2 x80 x89- xe2 x80 x899."...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
45119542 vjudge4 D Oct. 31, 2018, 2:38 a.m. OK Clang++17 Diagnostics TESTS 96 140 7680000 2100
41327760 cpy D Aug. 8, 2018, 6:47 a.m. OK D TESTS 96 233 12288000 2100
14135331 LanHuong D Nov. 8, 2015, 3:03 a.m. OK FPC TESTS 96 31 8499200 2100
14142483 minhduclvtk55 D Nov. 8, 2015, 2:34 p.m. OK FPC TESTS 96 31 9011200 2100
13402426 jiangyx D Oct. 4, 2015, 12:55 p.m. OK FPC TESTS 96 46 11673600 2100
15882259 scorcher D Feb. 7, 2016, 4:47 p.m. OK GNU C TESTS 96 46 8192000 2100
12031084 sanketM D July 13, 2015, 3:47 p.m. OK GNU C TESTS 96 46 8294400 2100
15641832 TsReaper D Jan. 29, 2016, 8:27 a.m. OK GNU C TESTS 96 46 10649600 2100
16391998 i_love_Mari D Feb. 27, 2016, 7:49 p.m. OK GNU C++ TESTS 96 30 10649600 2100
26450850 vjudge3 D April 17, 2017, 9:45 a.m. OK GNU C++ TESTS 96 30 11366400 2100
12909677 PlayWithWind D Sept. 9, 2015, 12:59 p.m. OK GNU C++ TESTS 96 31 8089600 2100
14788928 dhoni91 D Dec. 13, 2015, 6:18 p.m. OK GNU C++ TESTS 96 31 8192000 2100
11705734 svs192219 D June 22, 2015, 7:04 a.m. OK GNU C++ TESTS 96 31 8192000 2100
19542263 bnuvjudge D July 31, 2016, 4:58 p.m. OK GNU C++ TESTS 96 31 8294400 2100
30810110 vjudge1 D Sept. 28, 2017, 4:13 p.m. OK GNU C++ TESTS 96 31 8294400 2100
18595719 dheeraj_1997 D June 19, 2016, 10:19 a.m. OK GNU C++ TESTS 96 31 8294400 2100
16715795 saintqdd D March 14, 2016, 2:27 p.m. OK GNU C++ TESTS 96 31 8294400 2100
15062781 ggok D Dec. 27, 2015, 11:10 p.m. OK GNU C++ TESTS 96 31 8294400 2100
31186144 saberuster D Oct. 10, 2017, 9:59 a.m. OK GNU C11 TESTS 96 31 10649600 2100
58267572 rainboy D Aug. 4, 2019, 3:17 p.m. OK GNU C11 TESTS 96 46 8294400 2100
31185766 saberuster D Oct. 10, 2017, 9:38 a.m. OK GNU C11 TESTS 96 46 10752000 2100
14869470 dionysios D Dec. 19, 2015, 12:51 a.m. OK GNU C++11 TESTS 96 31 7987200 2100
49826829 luogu_bot4 D Feb. 12, 2019, 12:04 p.m. OK GNU C++11 TESTS 96 31 8089600 2100
12105809 nona1314 D July 18, 2015, 12:16 p.m. OK GNU C++11 TESTS 96 31 8089600 2100
57169837 luogu_bot4 D July 17, 2019, 2:20 a.m. OK GNU C++11 TESTS 96 31 8294400 2100
57017172 vjudge4 D July 14, 2019, 12:11 p.m. OK GNU C++11 TESTS 96 31 8294400 2100
52764234 vjudge5 D April 15, 2019, 12:57 a.m. OK GNU C++11 TESTS 96 31 8294400 2100
52764155 vjudge5 D April 15, 2019, 12:49 a.m. OK GNU C++11 TESTS 96 31 8294400 2100
52750139 vjudge4 D April 14, 2019, 1:37 p.m. OK GNU C++11 TESTS 96 31 8294400 2100
31095077 maratonando D Oct. 6, 2017, 11:22 p.m. OK GNU C++11 TESTS 96 31 8294400 2100
31094829 maratonando3 D Oct. 6, 2017, 10:57 p.m. OK GNU C++11 TESTS 96 31 8294400 2100
27123756 alyaxey D May 15, 2017, 2:31 p.m. OK GNU C++14 TESTS 96 31 307200 2100
27123427 alyaxey D May 15, 2017, 2:14 p.m. OK GNU C++14 TESTS 96 31 819200 2100
39973016 yuhta D July 5, 2018, 4:38 a.m. OK GNU C++14 TESTS 96 31 8192000 2100
63615571 sriniman D Oct. 27, 2019, 7:18 p.m. OK GNU C++14 TESTS 96 31 8192000 2100
31090639 annesa11 D Oct. 6, 2017, 6:43 p.m. OK GNU C++14 TESTS 96 31 8192000 2100
21853246 kgaurav847226 D Oct. 28, 2016, 5:07 p.m. OK GNU C++14 TESTS 96 31 8294400 2100
21853449 kgaurav847226 D Oct. 28, 2016, 5:17 p.m. OK GNU C++14 TESTS 96 31 8294400 2100
32561074 MiHon D Nov. 22, 2017, 8:19 p.m. OK GNU C++14 TESTS 96 31 8294400 2100
27157673 ovis96 D May 16, 2017, 11:18 a.m. OK GNU C++14 TESTS 96 31 8294400 2100
21845173 LAGBOYDaD3zZ D Oct. 28, 2016, 11:34 a.m. OK GNU C++14 TESTS 96 31 8294400 2100
53085748 burning_code D April 21, 2019, 8:49 a.m. OK GNU C++17 TESTS 96 31 8294400 2100
56749649 vjudge3 D July 9, 2019, 11:23 a.m. OK GNU C++17 TESTS 96 31 8499200 2100
65630367 vjudge3 D Nov. 24, 2019, 8:21 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
68717591 9957 D Jan. 13, 2020, 3:02 p.m. OK GNU C++17 TESTS 96 31 9318400 2100
67255382 m.hasan01 D Dec. 19, 2019, 9:40 p.m. OK GNU C++17 TESTS 96 31 9318400 2100
57006543 vjudge2 D July 14, 2019, 7:05 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
57005847 vjudge2 D July 14, 2019, 6:43 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
57003669 vjudge1 D July 14, 2019, 5:25 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
56742852 vjudge3 D July 9, 2019, 8:26 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
56739468 vjudge2 D July 9, 2019, 7:01 a.m. OK GNU C++17 TESTS 96 31 9318400 2100
24712912 omarfarhat97 D Feb. 16, 2017, 8:18 a.m. OK Go TESTS 96 77 33280000 2100
28209324 sl0th D July 2, 2017, 11:37 a.m. OK Haskell TESTS 96 280 103833600 2100
67454904 zhanyi_xiaolu D Dec. 23, 2019, 6:24 a.m. OK Java 11 TESTS 96 280 6451200 2100
67576946 Oom D Dec. 25, 2019, 3:16 a.m. OK Java 11 TESTS 96 280 39526400 2100
65319609 rohithsajith D Nov. 18, 2019, 6:59 p.m. OK Java 11 TESTS 96 295 18534400 2100
67604410 Oom D Dec. 25, 2019, 1:03 p.m. OK Java 11 TESTS 96 296 39526400 2100
13012839 sak_93 D Sept. 15, 2015, 7:08 p.m. OK Java 7 TESTS 96 108 0 2100
12114079 LuuNhatPhi D July 19, 2015, 7:44 a.m. OK Java 7 TESTS 96 109 0 2100
13191585 suigingin D Sept. 23, 2015, 4:18 p.m. OK Java 7 TESTS 96 124 0 2100
12892700 lyang D Sept. 8, 2015, 5:56 a.m. OK Java 7 TESTS 96 124 0 2100
12663755 dpk7jn D Aug. 22, 2015, 7:13 p.m. OK Java 7 TESTS 96 124 0 2100
14686518 DukeOfYork D Dec. 7, 2015, 1:27 p.m. OK Java 7 TESTS 96 140 0 2100
16943864 Code.coding D March 26, 2016, 5:05 a.m. OK Java 7 TESTS 96 155 47206400 2100
13004168 saboteur D Sept. 15, 2015, 7:52 a.m. OK Java 7 TESTS 96 156 0 2100
18903300 pycat D July 5, 2016, 3:14 p.m. OK Java 7 TESTS 96 171 7168000 2100
16536685 niting112 D March 5, 2016, 3:18 p.m. OK Java 7 TESTS 96 202 0 2100
61942471 Vishal_dhanani D Oct. 5, 2019, 8:35 p.m. OK Java 8 TESTS 96 124 5017600 2100
25329379 kunalk D March 7, 2017, 8:27 p.m. OK Java 8 TESTS 96 124 27340800 2100
16337948 flyman3046 D Feb. 25, 2016, 9:22 p.m. OK Java 8 TESTS 96 140 0 2100
16230537 wolf3001 D Feb. 20, 2016, 2:20 p.m. OK Java 8 TESTS 96 140 0 2100
11540609 Yury_Bandarchuk D June 12, 2015, 7:06 a.m. OK Java 8 TESTS 96 140 0 2100
49384070 boltUsain D Feb. 3, 2019, 5:23 a.m. OK Java 8 TESTS 96 140 4403200 2100
57087184 AryssonFigueiredo D July 15, 2019, 9:20 a.m. OK Java 8 TESTS 96 140 4608000 2100
45493998 K_B_C_S D Nov. 9, 2018, 9:24 p.m. OK Java 8 TESTS 96 140 4710400 2100
56472523 himanshubhardwaj169 D July 3, 2019, 11:47 a.m. OK Java 8 TESTS 96 140 4812800 2100
66000777 FluffyPotato D Nov. 29, 2019, 7:03 p.m. OK Java 8 TESTS 96 140 4915200 2100
12643778 olif D Aug. 22, 2015, 2:29 p.m. OK MS C# TESTS 96 77 8192000 2100
12643749 olif D Aug. 22, 2015, 2:27 p.m. OK MS C# TESTS 96 77 8499200 2100
12643662 olif D Aug. 22, 2015, 2:21 p.m. OK MS C# TESTS 96 77 8601600 2100
15755545 og.kostya D Feb. 2, 2016, 5:53 p.m. OK MS C# TESTS 96 124 25395200 2100
34521703 vjudge5 D Jan. 24, 2018, 3:37 p.m. OK MS C++ TESTS 96 30 11366400 2100
44772266 vjudge2 D Oct. 24, 2018, 12:51 p.m. OK MS C++ TESTS 96 31 8294400 2100
16372371 vjudge5 D Feb. 27, 2016, 5:41 a.m. OK MS C++ TESTS 96 31 8294400 2100
12562018 Ram_iL D Aug. 16, 2015, 2:13 p.m. OK MS C++ TESTS 96 31 8294400 2100
11723449 ReaverSe D June 23, 2015, 1:09 p.m. OK MS C++ TESTS 96 31 8294400 2100
11543881 vovuh D June 12, 2015, 1:06 p.m. OK MS C++ TESTS 96 31 8294400 2100
12594058 vjudge5 D Aug. 18, 2015, 8:53 p.m. OK MS C++ TESTS 96 31 8499200 2100
49825663 vjudge1 D Feb. 12, 2019, 11:29 a.m. OK MS C++ TESTS 96 31 9318400 2100
41450529 vjudge2 D Aug. 11, 2018, 3:32 a.m. OK MS C++ TESTS 96 31 9318400 2100
27526705 Daario D June 2, 2017, 3:16 p.m. OK MS C++ TESTS 96 31 9420800 2100
68988417 vjudge1 D Jan. 17, 2020, 1:21 p.m. OK MS C++ 2017 TESTS 96 46 8499200 2100
61452310 Timonnable D Sept. 29, 2019, 4:03 a.m. OK MS C++ 2017 TESTS 96 46 9011200 2100
65624037 vjudge2 D Nov. 24, 2019, 7:16 a.m. OK MS C++ 2017 TESTS 96 46 9318400 2100
69006715 vjudge1 D Jan. 18, 2020, 12:16 a.m. OK MS C++ 2017 TESTS 96 61 9318400 2100
57004296 vjudge5 D July 14, 2019, 5:47 a.m. OK MS C++ 2017 TESTS 96 93 25907200 2100
12404989 Misaki_Nakahara D Aug. 7, 2015, 4:41 p.m. OK PyPy 2 TESTS 96 171 12902400 2100
34892460 Misaki_Nakahara D Feb. 3, 2018, 11 a.m. OK PyPy 2 TESTS 96 171 33996800 2100
12404990 Misaki_Nakahara D Aug. 7, 2015, 4:41 p.m. OK PyPy 2 TESTS 96 186 12902400 2100
14666015 kfx D Dec. 5, 2015, 4:31 p.m. OK PyPy 2 TESTS 96 202 10854400 2100
34268457 latsyrc1123 D Jan. 18, 2018, 6:35 a.m. OK PyPy 2 TESTS 96 233 36556800 2100
11585611 allanyin D June 14, 2015, 6:01 p.m. OK PyPy 2 TESTS 96 1138 124723200 2100
60526402 junior08 D Sept. 14, 2019, 10:34 a.m. OK PyPy 3 TESTS 96 249 17408000 2100
60417639 tiwariayush D Sept. 12, 2019, 3:30 a.m. OK PyPy 3 TESTS 96 264 17408000 2100
68201506 smoke_bellew D Jan. 4, 2020, 4:04 p.m. OK PyPy 3 TESTS 96 607 83763200 2100
31463170 yugle7 D Oct. 17, 2017, 9:32 p.m. OK PyPy 3 TESTS 96 639 61235200 2100
31463663 yugle7 D Oct. 17, 2017, 9:46 p.m. OK PyPy 3 TESTS 96 670 58880000 2100
12150443 minimario D July 21, 2015, 3:36 p.m. OK PyPy 3 TESTS 96 1404 95232000 2100

remove filters

Back to search problems