Codeforces Round 284 (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
498 Codeforces Round 284 (Div. 1) FINISHED False 7200 312384599 Dec. 24, 2014, 4:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 477 ) E Stairs and Lines PROGRAMMING dp matrices 2600

B"You are given a figure on a grid representing stairs consisting of 7 steps. The width of the stair on height i is wi squares. Formally, the figure is created by consecutively joining rectangles of size wi xe2 x80 x89 xc3 x97 xe2 x80 x89i so that the wi sides lie on one straight line. Thus, for example, if all wi xe2 x80 x89= xe2 x80 x891, the figure will look like that (different colors represent different rectangles): And if w xe2 x80 x89= xe2 x80 x89{5, xe2 x80 x891, xe2 x80 x890, xe2 x80 x893, xe2 x80 x890, xe2 x80 x890, xe2 x80 x891}, then it looks like that: Find the number of ways to color some borders of the figure's inner squares so that no square had all four borders colored. The borders of the squares lying on the border of the figure should be considered painted. The ways that differ with the figure's rotation should be considered distinct. The single line of the input contains 7 numbers w1, xe2 x80 x89w2, xe2 x80 x89..., xe2 x80 x89w7 (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89wi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). It is guaranteed that at least one of the wi's isn't equal to zero. In the single line of the output display a single number -- the answer to the problem modulo 109 xe2 x80 x89+ xe2 x80 x897. All the possible ways of painting the third sample are given below:"...

Tutorials

Codeforces Round #284 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
9258359 Alex_2oo8 E Dec. 24, 2014, 6:25 p.m. OK Delphi TESTS 50 1824 0 2600
9275273 fruwajacybyk E Dec. 26, 2014, 12:16 p.m. OK GNU C++ TESTS 50 280 7065600 2600
9333272 meshanya E Dec. 31, 2014, 1:43 p.m. OK GNU C++ TESTS 50 295 204800 2600
13918937 130705009 E Oct. 28, 2015, 4:27 p.m. OK GNU C++ TESTS 50 343 102400 2600
9259213 wjh720 E Dec. 24, 2014, 7:11 p.m. OK GNU C++ TESTS 50 358 307200 2600
9306280 AltF4 E Dec. 30, 2014, 2:47 p.m. OK GNU C++ TESTS 50 405 102400 2600
9261628 ainta E Dec. 24, 2014, 9:34 p.m. OK GNU C++ TESTS 50 405 204800 2600
9295889 wwt15 E Dec. 29, 2014, 6:57 a.m. OK GNU C++ TESTS 50 421 102400 2600
9255134 rng_58 E Dec. 24, 2014, 5:49 p.m. OK GNU C++ TESTS 50 436 716800 2600
11112529 ForImp E May 16, 2015, 1:52 a.m. OK GNU C++ TESTS 50 436 17203200 2600
38764954 Scut82 E May 30, 2018, 8:09 a.m. OK GNU C++ TESTS 50 483 4198400 2600
9257774 KADR E Dec. 24, 2014, 6:19 p.m. OK GNU C++0x TESTS 50 202 307200 2600
9342936 FatalEagle E Jan. 2, 2015, 2:11 a.m. OK GNU C++0x TESTS 50 280 4812800 2600
9258634 zeliboba E Dec. 24, 2014, 6:28 p.m. OK GNU C++0x TESTS 50 343 512000 2600
9260432 krisits E Dec. 24, 2014, 7:43 p.m. OK GNU C++0x TESTS 50 390 102400 2600
10156209 Remilia-Scarlet E March 5, 2015, 5:02 a.m. OK GNU C++0x TESTS 50 436 102400 2600
9266927 k0st1a E Dec. 25, 2014, 11:32 a.m. OK GNU C++0x TESTS 50 436 819200 2600
9439984 zhj E Jan. 16, 2015, 3:16 a.m. OK GNU C++0x TESTS 50 592 204800 2600
9261629 andrew.volchek E Dec. 24, 2014, 9:34 p.m. OK GNU C++0x TESTS 50 639 614400 2600
9273462 I_love_Hoang_Yen E Dec. 26, 2014, 7:29 a.m. OK GNU C++0x TESTS 50 686 4710400 2600
9252750 ecnerwala E Dec. 24, 2014, 5:25 p.m. OK GNU C++0x TESTS 50 702 921600 2600
17159374 freebsdx E April 4, 2016, 2:40 p.m. OK GNU C++11 TESTS 50 436 2355200 2600
55720026 KMAASZRAA E June 18, 2019, 2:47 p.m. OK GNU C++11 TESTS 50 514 512000 2600
11743841 vepifanov E June 24, 2015, 5:11 p.m. OK GNU C++11 TESTS 50 529 204800 2600
63069130 vjudge1 E Oct. 21, 2019, 11:51 a.m. OK GNU C++11 TESTS 50 561 5120000 2600
18607940 065583 E June 20, 2016, 2:42 a.m. OK GNU C++11 TESTS 50 639 204800 2600
31731992 vjudge2 E Oct. 26, 2017, 8:11 a.m. OK GNU C++11 TESTS 50 670 1024000 2600
63066821 vjudge1 E Oct. 21, 2019, 11:09 a.m. OK GNU C++11 TESTS 50 685 1024000 2600
31732209 vjudge3 E Oct. 26, 2017, 8:22 a.m. OK GNU C++11 TESTS 50 686 204800 2600
11719996 WHITE2302 E June 23, 2015, 9:12 a.m. OK GNU C++11 TESTS 50 686 34713600 2600
63066816 MonkeyKing E Oct. 21, 2019, 11:08 a.m. OK GNU C++11 TESTS 50 701 819200 2600
58706582 Scut82 E Aug. 13, 2019, 10:02 a.m. OK GNU C++14 TESTS 50 499 204800 2600
58702621 Scut82 E Aug. 13, 2019, 8:22 a.m. OK GNU C++14 TESTS 50 499 204800 2600
58702411 Scut82 E Aug. 13, 2019, 8:17 a.m. OK GNU C++14 TESTS 50 499 204800 2600
58702663 Scut82 E Aug. 13, 2019, 8:22 a.m. OK GNU C++14 TESTS 50 514 204800 2600
58706733 Scut82 E Aug. 13, 2019, 10:12 a.m. OK GNU C++14 TESTS 50 529 204800 2600
58942611 Scut82 E Aug. 17, 2019, 7:34 a.m. OK GNU C++14 TESTS 50 530 204800 2600
58706712 Scut82 E Aug. 13, 2019, 10:10 a.m. OK GNU C++14 TESTS 50 530 204800 2600
58706600 Scut82 E Aug. 13, 2019, 10:03 a.m. OK GNU C++14 TESTS 50 530 204800 2600
50322777 MrDecomposition E Feb. 22, 2019, 3:14 p.m. OK GNU C++14 TESTS 50 530 1228800 2600
46724331 4l5n3 E Dec. 7, 2018, 2:21 p.m. OK GNU C++14 TESTS 50 561 512000 2600
65358247 hjk1030 E Nov. 19, 2019, 2:52 p.m. OK GNU C++17 TESTS 50 264 307200 2600
63105423 shurongwang E Oct. 22, 2019, 4:18 a.m. OK GNU C++17 TESTS 50 467 1024000 2600
67990961 xiaowuc1 E Dec. 31, 2019, 4:47 a.m. OK GNU C++17 TESTS 50 468 409600 2600
63837598 llbra9z E Oct. 30, 2019, 2:46 p.m. OK GNU C++17 TESTS 50 498 2355200 2600
51863275 EmilConst E March 26, 2019, 2:04 p.m. OK GNU C++17 TESTS 50 514 512000 2600
63069131 charlieyan E Oct. 21, 2019, 11:51 a.m. OK GNU C++17 TESTS 50 514 5120000 2600
62932249 AM. E Oct. 19, 2019, 1:02 p.m. OK GNU C++17 TESTS 50 546 1536000 2600
51863545 EmilConst E March 26, 2019, 2:10 p.m. OK GNU C++17 TESTS 50 561 512000 2600
51828870 Andreasyan E March 25, 2019, 3:13 p.m. OK GNU C++17 TESTS 50 561 11776000 2600
47001485 Shayan.Kashefi_A E Dec. 14, 2018, 11:47 a.m. OK GNU C++17 TESTS 50 577 716800 2600
9256660 uwi E Dec. 24, 2014, 6:07 p.m. OK Java 7 TESTS 50 374 0 2600
9279875 edorundo E Dec. 27, 2014, 12:39 a.m. OK Java 7 TESTS 50 1638 0 2600
9258480 mmaxio E Dec. 24, 2014, 6:26 p.m. OK Java 8 TESTS 50 608 0 2600
9255463 Egor E Dec. 24, 2014, 5:53 p.m. OK Java 8 TESTS 50 717 0 2600
9258584 pashka E Dec. 24, 2014, 6:27 p.m. OK Java 8 TESTS 50 1185 0 2600
9274698 fetetriste E Dec. 26, 2014, 10:52 a.m. OK Java 8 TESTS 50 1466 0 2600
9256545 ilyakor E Dec. 24, 2014, 6:05 p.m. OK Java 8 TESTS 50 1559 0 2600
13821205 StarWix E Oct. 24, 2015, 9:07 a.m. OK Java 8 TESTS 50 1575 0 2600
9252765 winger E Dec. 24, 2014, 5:25 p.m. OK Java 8 TESTS 50 1669 0 2600
9262016 AlexFetisov E Dec. 24, 2014, 10:45 p.m. OK Java 8 TESTS 50 1747 0 2600
9267512 Milanin E Dec. 25, 2014, 12:47 p.m. OK MS C++ TESTS 50 264 102400 2600
40987499 ReaLNero1 E July 30, 2018, 9:18 p.m. OK MS C++ TESTS 50 296 102400 2600
11991627 pacu E July 10, 2015, 12:30 a.m. OK MS C++ TESTS 50 1153 409600 2600
9381004 NALP E Jan. 7, 2015, 4:58 p.m. OK MS C++ TESTS 50 1231 5836800 2600
10176085 Manul E March 6, 2015, 11:35 a.m. OK MS C++ TESTS 50 1232 5324800 2600
13303087 ch_egor E Sept. 29, 2015, 6 p.m. OK MS C++ TESTS 50 1372 409600 2600
9340238 Taube E Jan. 1, 2015, 4:17 p.m. OK MS C++ TESTS 50 1497 1433600 2600

remove filters

Back to search problems