Codeforces Round 252 (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
441 Codeforces Round 252 (Div. 2) FINISHED False 7200 335370604 June 8, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 733 ) E Valera and Number PROGRAMMING bitmasks dp math probabilities 2700

B"Valera is a coder. Recently he wrote a funny program. The pseudo code for this program is given below: Now Valera wonders: given the values x, k and p, what is the expected value of the resulting number s? The first line of the input contains three integers x, xe2 x80 x89k, xe2 x80 x89p (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x 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 x89200; 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). Print the required expected value. Your answer will be considered correct if the absolute or relative error doesn't exceed 10 xe2 x80 x89- xe2 x80 x896. If the concept of expected value is new to you, you can read about it by the link: http://en.wikipedia.org/wiki/Expected_value"...

Tutorials

12615

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
9463565 ljz E Jan. 18, 2015, 2:41 p.m. OK FPC TESTS 47 30 409600 2700
7121905 DaibaNana E July 17, 2014, 8:15 a.m. OK FPC TESTS 47 623 267161600 2700
6857252 bsnipers E June 10, 2014, 4:51 a.m. OK GNU C++ TESTS 47 15 0 2700
15142176 HappyNewYearMike E Dec. 31, 2015, 10:11 p.m. OK GNU C++ TESTS 47 15 102400 2700
13999824 130705009 E Nov. 1, 2015, 4:26 a.m. OK GNU C++ TESTS 47 15 102400 2700
12580799 TooRist E Aug. 17, 2015, 8:46 p.m. OK GNU C++ TESTS 47 15 307200 2700
11338254 Amr_Hassan E May 28, 2015, 7:35 p.m. OK GNU C++ TESTS 47 15 307200 2700
8477662 black_bear E Oct. 30, 2014, 9:28 a.m. OK GNU C++ TESTS 47 15 307200 2700
7297187 liyang21 E July 31, 2014, 6:32 a.m. OK GNU C++ TESTS 47 15 307200 2700
7112813 If_Only E July 16, 2014, 2:59 a.m. OK GNU C++ TESTS 47 15 307200 2700
7056941 Xdp E July 10, 2014, 6:45 a.m. OK GNU C++ TESTS 47 15 307200 2700
6984612 Stilwell wjh720 yjc9696 E June 30, 2014, 8:16 a.m. OK GNU C++ TESTS 47 15 307200 2700
9185975 Plumrain E Dec. 18, 2014, 11:27 a.m. OK GNU C++0x TESTS 47 15 307200 2700
9185962 vjudge2 E Dec. 18, 2014, 11:26 a.m. OK GNU C++0x TESTS 47 15 307200 2700
7664072 waterfall E Sept. 1, 2014, 9:28 p.m. OK GNU C++0x TESTS 47 15 307200 2700
7602624 LiaoPengyu E Aug. 27, 2014, 7:06 a.m. OK GNU C++0x TESTS 47 15 307200 2700
6854286 yannew E June 9, 2014, 12:27 p.m. OK GNU C++0x TESTS 47 15 307200 2700
6870918 Zuza E June 13, 2014, 3:32 a.m. OK GNU C++0x TESTS 47 15 409600 2700
6912769 Easy_ E June 19, 2014, 1:36 p.m. OK GNU C++0x TESTS 47 46 307200 2700
7073113 hehaodele E July 13, 2014, 8:57 a.m. OK GNU C++0x TESTS 47 62 109363200 2700
6854391 mruxim E June 9, 2014, 12:45 p.m. OK GNU C++0x TESTS 47 77 101171200 2700
8318055 afrizal E Oct. 19, 2014, 12:02 p.m. OK GNU C++0x TESTS 47 78 0 2700
30908618 vjudge3 E Oct. 1, 2017, 12:28 p.m. OK GNU C++11 TESTS 47 15 0 2700
11073850 algtricalgeo E May 11, 2015, 9:59 p.m. OK GNU C++11 TESTS 47 15 204800 2700
11767856 Remilia-Scarlet E June 26, 2015, 3:07 a.m. OK GNU C++11 TESTS 47 15 409600 2700
34997040 vjudge2 E Feb. 7, 2018, 11:54 a.m. OK GNU C++11 TESTS 47 15 2048000 2700
34997027 Yonda E Feb. 7, 2018, 11:54 a.m. OK GNU C++11 TESTS 47 15 2048000 2700
17146904 freebsdx E April 3, 2016, 3:01 p.m. OK GNU C++11 TESTS 47 15 2355200 2700
31470427 WizardCowboy E Oct. 18, 2017, 6:28 a.m. OK GNU C++11 TESTS 47 15 2457600 2700
31446407 dwt E Oct. 17, 2017, 11:33 a.m. OK GNU C++11 TESTS 47 15 2457600 2700
25562175 YellowTimber E March 17, 2017, 12:57 a.m. OK GNU C++11 TESTS 47 15 2457600 2700
24490803 doubility E Feb. 7, 2017, 3:16 p.m. OK GNU C++11 TESTS 47 15 2457600 2700
31832325 codex0196 E Oct. 28, 2017, 10:30 a.m. OK GNU C++14 TESTS 47 15 307200 2700
31501252 shaochengxi E Oct. 19, 2017, 8:25 a.m. OK GNU C++14 TESTS 47 15 2252800 2700
23922798 ysxxj2 E Jan. 18, 2017, 1:18 p.m. OK GNU C++14 TESTS 47 15 2252800 2700
24692528 SssssssssssssbbbBBBB E Feb. 15, 2017, 10:43 a.m. OK GNU C++14 TESTS 47 30 2867200 2700
57185968 shuai_hui E July 17, 2019, 8:42 a.m. OK GNU C++14 TESTS 47 30 3584000 2700
48156388 do_good_ E Jan. 9, 2019, 5:21 p.m. OK GNU C++14 TESTS 47 31 409600 2700
50494700 luowentao E Feb. 25, 2019, 2:41 p.m. OK GNU C++14 TESTS 47 31 3276800 2700
57189263 shuai_hui E July 17, 2019, 9:51 a.m. OK GNU C++14 TESTS 47 31 3584000 2700
57186761 shuai_hui E July 17, 2019, 8:55 a.m. OK GNU C++14 TESTS 47 31 3584000 2700
31501338 shaochengxi E Oct. 19, 2017, 8:28 a.m. OK GNU C++14 TESTS 47 31 67686400 2700
50486395 nimphy E Feb. 25, 2019, 11:44 a.m. OK GNU C++17 TESTS 47 30 716800 2700
44054172 NiceBaseballCoder E Oct. 9, 2018, 9:35 p.m. OK GNU C++17 TESTS 47 31 512000 2700
53440927 gubeiqg E April 28, 2019, 12:05 a.m. OK GNU C++17 TESTS 47 31 716800 2700
50486413 vjudge3 E Feb. 25, 2019, 11:44 a.m. OK GNU C++17 TESTS 47 31 716800 2700
64349130 hjk1030 E Nov. 6, 2019, 7:36 a.m. OK GNU C++17 TESTS 47 93 210329600 2700
35514857 vjudge5 E Feb. 20, 2018, 7:58 a.m. OK GNU C++17 TESTS 47 109 225996800 2700
35513030 vjudge2 E Feb. 20, 2018, 6:30 a.m. OK GNU C++17 TESTS 47 109 225996800 2700
61945519 ivan100sic E Oct. 5, 2019, 10:39 p.m. OK GNU C++17 TESTS 47 124 3174400 2700
35519391 vjudge1 E Feb. 20, 2018, 11:22 a.m. OK GNU C++17 TESTS 47 124 225996800 2700
37387814 vjudge1 E April 17, 2018, 6:07 a.m. OK GNU C++17 TESTS 47 186 202137600 2700
6852991 erikr E June 9, 2014, 8:25 a.m. OK Haskell TESTS 47 78 5324800 2700
6984984 Itpossible E June 30, 2014, 9:28 a.m. OK Java 6 TESTS 47 358 204800 2700
10092730 vjudge5 E March 1, 2015, 7:11 a.m. OK Java 7 TESTS 47 93 0 2700
10092645 Yukii E March 1, 2015, 7:01 a.m. OK Java 7 TESTS 47 93 0 2700
6854042 net12k44 E June 9, 2014, 11:49 a.m. OK Java 7 TESTS 47 358 0 2700
7356322 AlexFetisov E Aug. 5, 2014, 11:17 p.m. OK Java 7 TESTS 47 405 0 2700
6855001 manoprenko E June 9, 2014, 2:45 p.m. OK Java 7 TESTS 47 436 0 2700
9186933 sweiss E Dec. 18, 2014, 12:47 p.m. OK Java 7 TESTS 47 1138 35123200 2700
10092692 vjudge2 E March 1, 2015, 7:06 a.m. OK Java 8 TESTS 47 140 0 2700
10092662 vjudge4 E March 1, 2015, 7:03 a.m. OK Java 8 TESTS 47 140 0 2700
11674424 Pimpom E June 19, 2015, 8:36 p.m. OK Java 8 TESTS 47 155 0 2700
20042521 2oo7 E Aug. 22, 2016, 9:17 a.m. OK Java 8 TESTS 47 436 20787200 2700
20042525 2oo7 E Aug. 22, 2016, 9:17 a.m. OK Java 8 TESTS 47 451 20480000 2700
7356324 AlexFetisov E Aug. 5, 2014, 11:17 p.m. OK Java 8 TESTS 47 561 1228800 2700
6904902 azukun E June 18, 2014, 10:43 a.m. OK MS C# TESTS 47 109 4505600 2700
9424887 camypaper E Jan. 13, 2015, 4:59 p.m. OK MS C# TESTS 47 249 5632000 2700
7685266 Alone_L E Sept. 5, 2014, 1:30 a.m. OK MS C++ TESTS 47 15 307200 2700
7206466 csehydrogen E July 23, 2014, 6:44 a.m. OK MS C++ TESTS 47 108 193024000 2700
7244504 pps789 E July 25, 2014, 5:57 p.m. OK MS C++ TESTS 47 156 3686400 2700
6869458 Filyan E June 12, 2014, 3:59 p.m. OK MS C++ TESTS 47 202 190566400 2700
7290569 Awa149 E July 30, 2014, 7:43 a.m. OK MS C++ TESTS 47 202 256614400 2700
7112572 L_Ecry E July 16, 2014, 2 a.m. OK MS C++ TESTS 47 249 227635200 2700
6869352 Quimbee E June 12, 2014, 3:21 p.m. OK Ocaml TESTS 47 249 2048000 2700

remove filters

Back to search problems