Codeforces Round 182 (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
301 Codeforces Round 182 (Div. 1) FINISHED False 7200 364053299 May 5, 2013, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 366 ) E Yaroslav and Arrangements PROGRAMMING dp 2900

B'Yaroslav calls an array of r integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89ar good, if it meets the following conditions: |a1 xe2 x80 x89- xe2 x80 x89a2| xe2 x80 x89= xe2 x80 x891, xe2 x80 x89|a2 xe2 x80 x89- xe2 x80 x89a3| xe2 x80 x89= xe2 x80 x891, xe2 x80 x89..., xe2 x80 x89|ar xe2 x80 x89- xe2 x80 x891 xe2 x80 x89- xe2 x80 x89ar| xe2 x80 x89= xe2 x80 x891, xe2 x80 x89|ar xe2 x80 x89- xe2 x80 x89a1| xe2 x80 x89= xe2 x80 x891, at that . An array of integers b1, xe2 x80 x89b2, xe2 x80 x89..., xe2 x80 x89br is called great, if it meets the following conditions: Yaroslav has three integers n, xe2 x80 x89m, xe2 x80 x89k. He needs to count the number of distinct great arrays. Help Yaroslav! As the answer may be rather large, print the remainder after dividing it by 1000000007 (109 xe2 x80 x89+ xe2 x80 x897). Two arrays are considered distinct if there is a position in which they have distinct numbers. The single line contains three integers n, m, k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). In a single line print the remainder after dividing the answer to the problem by number 1000000007 (109 xe2 x80 x89+ xe2 x80 x897).'...

Tutorials

Codeforces Round #182 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
12822628 ImNotGay E Sept. 3, 2015, 2:07 a.m. OK FPC TESTS 28 124 77619200 2900
8082569 sddyzjh E Oct. 5, 2014, 6:18 a.m. OK GNU C++ TESTS 28 30 36864000 2900
8082474 sddyzjh E Oct. 5, 2014, 6:04 a.m. OK GNU C++ TESTS 28 30 36864000 2900
8075347 faebdc E Oct. 4, 2014, 7:50 a.m. OK GNU C++ TESTS 28 30 36864000 2900
8074946 faebdc E Oct. 4, 2014, 6:59 a.m. OK GNU C++ TESTS 28 30 36864000 2900
3695522 BSBandme E May 9, 2013, 9:10 a.m. OK GNU C++ TESTS 28 31 146841600 2900
3690338 konstantanter E May 7, 2013, 12:27 p.m. OK GNU C++ TESTS 28 46 57548800 2900
4039675 heyihong E July 8, 2013, 4:44 p.m. OK GNU C++ TESTS 28 46 59187200 2900
3696578 error202 E May 9, 2013, 2:58 p.m. OK GNU C++ TESTS 28 46 70041600 2900
28130920 gzz E June 29, 2017, 3:51 a.m. OK GNU C++ TESTS 28 62 23142400 2900
4504682 zhj E Sept. 19, 2013, 3:47 p.m. OK GNU C++ TESTS 28 62 57548800 2900
6001656 FancyCoder E March 12, 2014, 9 a.m. OK GNU C++0x TESTS 28 92 62054400 2900
8905259 equation314 E Dec. 1, 2014, 1:35 p.m. OK GNU C++0x TESTS 28 92 70041600 2900
3688945 roosephu E May 7, 2013, 3:15 a.m. OK GNU C++0x TESTS 28 234 11776000 2900
4085377 itytwt E July 17, 2013, 8:23 a.m. OK GNU C++0x TESTS 28 250 146841600 2900
9267115 zshi E Dec. 25, 2014, 11:57 a.m. OK GNU C++0x TESTS 28 404 18534400 2900
3683153 permin E May 5, 2013, 8:29 p.m. OK GNU C++0x TESTS 28 1125 10854400 2900
35716435 luogu_bot2 E Feb. 26, 2018, 1:04 a.m. OK GNU C++11 TESTS 28 62 38809600 2900
61316582 sorry_im_smurfing E Sept. 26, 2019, 11:17 a.m. OK GNU C++11 TESTS 28 62 73420800 2900
35858611 ______u______ E March 2, 2018, 9:02 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35858583 ______n______ E March 2, 2018, 9:02 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35858144 _____i_____ E March 2, 2018, 8:54 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35857789 _____k_____ E March 2, 2018, 8:46 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35853593 ______h______ E March 2, 2018, 7:20 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35853586 ______k______ E March 2, 2018, 7:20 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35849231 ______i______ E March 2, 2018, 5:11 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
35844351 ______M______ E March 2, 2018, 3:27 p.m. OK GNU C++11 TESTS 28 62 75468800 2900
23661532 Ali.Pi E Jan. 9, 2017, 7:16 a.m. OK GNU C++14 TESTS 28 62 75366400 2900
29446117 wangyenjen E Aug. 14, 2017, 1:48 a.m. OK GNU C++14 TESTS 28 92 81408000 2900
29427154 wangyenjen E Aug. 13, 2017, 7:38 a.m. OK GNU C++14 TESTS 28 92 81408000 2900
64883916 I_Love_Nguyen_Phuong E Nov. 14, 2019, 12:30 p.m. OK GNU C++14 TESTS 28 122 146739200 2900
33380657 gkevinyen5418 E Dec. 18, 2017, 1:21 p.m. OK GNU C++14 TESTS 28 122 257126400 2900
27448774 Anti_Nhi_Thuan E May 30, 2017, 1:11 p.m. OK GNU C++14 TESTS 28 124 118476800 2900
33700640 _SHENZHEBEI_ E Dec. 28, 2017, 4:50 a.m. OK GNU C++14 TESTS 28 124 148684800 2900
51850719 mayaohua2003 E March 26, 2019, 7:47 a.m. OK GNU C++14 TESTS 28 186 9318400 2900
23920032 jasonvictoryan E Jan. 18, 2017, 11:05 a.m. OK GNU C++14 TESTS 28 218 11264000 2900
23920016 jasonvictoryan E Jan. 18, 2017, 11:04 a.m. OK GNU C++14 TESTS 28 278 11264000 2900
64870742 rosi E Nov. 14, 2019, 8:04 a.m. OK GNU C++17 TESTS 28 92 146739200 2900
41590312 mrsrz E Aug. 14, 2018, 1:42 p.m. OK GNU C++17 TESTS 28 278 9318400 2900
48935636 Shayan.P E Jan. 25, 2019, 2:07 p.m. OK GNU C++17 TESTS 28 466 9011200 2900
59925797 Zory E Sept. 3, 2019, 3:56 a.m. OK GNU C++17 TESTS 28 498 10752000 2900
58146452 Benq E Aug. 1, 2019, 9:49 p.m. OK GNU C++17 TESTS 28 560 8294400 2900
42854260 ddpag E Sept. 14, 2018, 8:09 a.m. OK GNU C++17 TESTS 28 624 10649600 2900
52809174 ruo E April 16, 2019, 7:23 a.m. OK GNU C++17 TESTS 28 842 18636800 2900
46459559 Smaug E Dec. 1, 2018, 7:03 p.m. OK GNU C++17 TESTS 28 1404 17612800 2900
67304249 Markellonchik E Dec. 20, 2019, 8:14 p.m. OK GNU C++17 TESTS 28 1652 8704000 2900
3680855 ivan.popelyshev E May 5, 2013, 5:33 p.m. OK Java 6 TESTS 28 265 102400 2900
3688872 FattyPenguin E May 7, 2013, 1:37 a.m. OK Java 7 TESTS 28 1296 102400 2900
4675512 antofik E Oct. 4, 2013, 9:23 p.m. OK MS C# TESTS 28 248 117760000 2900
3690357 iroro E May 7, 2013, 12:31 p.m. OK MS C++ TESTS 28 46 61337600 2900
3696179 SlavaSSU E May 9, 2013, 12:44 p.m. OK MS C++ TESTS 28 203 149606400 2900
3682464 KADR E May 5, 2013, 6:04 p.m. OK MS C++ TESTS 28 2812 12492800 2900

remove filters

Back to search problems