Codeforces Round 160 (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
261 Codeforces Round 160 (Div. 1) FINISHED False 7200 379607397 Jan. 13, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 418 ) E Maxim and Calculator PROGRAMMING brute force dp two pointers 2800

B'Maxim has got a calculator. The calculator has two integer cells. Initially, the first cell contains number 1, and the second cell contains number 0. In one move you can perform one of the following operations: Maxim is wondering, how many integers x (l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r) are there, such that we can write the number x to the first cell of the calculator, having performed at most p moves. The first line contains three integers: l, r, p (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). The numbers in the line are separated by single spaces. In a single line print a single integer -- the answer to the problem.'...

Tutorials

Codeforces Round #160 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
2946417 Furko E Jan. 16, 2013, 9:43 p.m. OK Delphi TESTS 74 2343 36044800 2800
10217396 louisja1 E March 9, 2015, 12:30 p.m. OK FPC TESTS 74 2214 27033600 2800
11602875 Ioser E June 16, 2015, 6:36 a.m. OK GNU C++ TESTS 74 778 252313600 2800
2929602 konstantanter E Jan. 16, 2013, 12:12 p.m. OK GNU C++ TESTS 74 1328 27033600 2800
2927241 NuM E Jan. 15, 2013, 2:30 p.m. OK GNU C++ TESTS 74 1328 27033600 2800
17371070 Ioser E April 18, 2016, 3:39 a.m. OK GNU C++ TESTS 74 1340 254566400 2800
8294847 hta E Oct. 18, 2014, 2:20 p.m. OK GNU C++ TESTS 74 1402 27033600 2800
8277596 wwx E Oct. 17, 2014, 7:10 a.m. OK GNU C++ TESTS 74 1434 27033600 2800
2945871 dasko1 E Jan. 16, 2013, 7:12 p.m. OK GNU C++ TESTS 74 1453 134144000 2800
23548310 ShinFeb E Jan. 5, 2017, 5:55 a.m. OK GNU C++ TESTS 74 1466 26521600 2800
7936038 Edward2173 E Sept. 24, 2014, 12:21 p.m. OK GNU C++ TESTS 74 1466 36044800 2800
2924455 hariprasath E Jan. 14, 2013, 3:30 p.m. OK GNU C++ TESTS 74 1468 27955200 2800
8841464 pwecar E Nov. 25, 2014, 1:54 a.m. OK GNU C++0x TESTS 74 1526 27033600 2800
9561296 superfish E Jan. 26, 2015, 2:21 p.m. OK GNU C++0x TESTS 74 2402 36044800 2800
4055891 harhrayr E July 12, 2013, 5:24 p.m. OK GNU C++0x TESTS 74 2734 27033600 2800
9977863 bhadra E Feb. 24, 2015, 7:34 a.m. OK GNU C++0x TESTS 74 2900 27033600 2800
9704515 pavel.savchenkov E Feb. 3, 2015, 5:34 p.m. OK GNU C++0x TESTS 74 3556 39116800 2800
8024191 zshi E Sept. 29, 2014, 11:37 a.m. OK GNU C++0x TESTS 74 3992 36659200 2800
54499918 WOSHIGEPACHONG2 E May 22, 2019, 8:04 p.m. OK GNU C++11 TESTS 74 1340 27033600 2800
52622461 frodakcin E April 11, 2019, 11:13 p.m. OK GNU C++11 TESTS 74 1404 27033600 2800
39355143 tqyaaaaaaaang E June 18, 2018, 11:46 a.m. OK GNU C++11 TESTS 74 1902 36147200 2800
62895958 luogu_bot5 E Oct. 18, 2019, 11:59 p.m. OK GNU C++11 TESTS 74 1902 41881600 2800
62673278 JiangZhuoyu E Oct. 16, 2019, 10:35 a.m. OK GNU C++11 TESTS 74 1964 27033600 2800
62673196 JZYshuraK E Oct. 16, 2019, 10:33 a.m. OK GNU C++11 TESTS 74 1964 27033600 2800
62672292 0724zcs E Oct. 16, 2019, 10:14 a.m. OK GNU C++11 TESTS 74 1964 27033600 2800
62672202 EM-LGH E Oct. 16, 2019, 10:12 a.m. OK GNU C++11 TESTS 74 1994 36044800 2800
50773196 xielinhan E March 4, 2019, 6:33 a.m. OK GNU C++11 TESTS 74 1996 60928000 2800
62668953 ysy20021208 E Oct. 16, 2019, 8:59 a.m. OK GNU C++11 TESTS 74 2028 50892800 2800
56271203 RedStar_13 E June 29, 2019, 12:10 p.m. OK GNU C++14 TESTS 74 1778 36147200 2800
29834794 LiChenKoh E Aug. 27, 2017, 8:55 p.m. OK GNU C++14 TESTS 74 1778 201932800 2800
56260875 RedStar_13 E June 29, 2019, 8:01 a.m. OK GNU C++14 TESTS 74 1808 40448000 2800
56260888 RedStar_13 E June 29, 2019, 8:01 a.m. OK GNU C++14 TESTS 74 1994 36044800 2800
49504623 sava-cska E Feb. 5, 2019, 4:55 p.m. OK GNU C++14 TESTS 74 2026 36044800 2800
24012142 YxuanwKeith E Jan. 21, 2017, 1:26 p.m. OK GNU C++14 TESTS 74 2028 28979200 2800
33634032 ksun48 E Dec. 25, 2017, 11:59 p.m. OK GNU C++14 TESTS 74 2214 51200000 2800
23662270 Ali.Pi E Jan. 9, 2017, 8:08 a.m. OK GNU C++14 TESTS 74 2432 37990400 2800
67198482 ElangBondol E Dec. 19, 2019, 10:02 a.m. OK GNU C++14 TESTS 74 2464 28979200 2800
56274199 RedStar_13 E June 29, 2019, 1:27 p.m. OK GNU C++14 TESTS 74 2558 36147200 2800
58787791 Benq E Aug. 14, 2019, 12:26 a.m. OK GNU C++17 TESTS 74 1466 28979200 2800
38255876 rushcheyo E May 15, 2018, 4:23 a.m. OK GNU C++17 TESTS 74 2370 30412800 2800
51554145 ruo E March 20, 2019, 3:25 a.m. OK GNU C++17 TESTS 74 3306 98611200 2800
40606107 vjudge1 E July 21, 2018, 11:29 a.m. OK GNU C++17 TESTS 74 3462 26521600 2800
67140461 hjk1030 E Dec. 18, 2019, 6:31 a.m. OK GNU C++17 TESTS 74 3462 27033600 2800
40360793 DennisPraet E July 15, 2018, 1:06 a.m. OK GNU C++17 TESTS 74 3462 60211200 2800
40360883 cbb E July 15, 2018, 1:12 a.m. OK GNU C++17 TESTS 74 3492 70144000 2800
49537013 alexX512 E Feb. 6, 2019, 4:28 p.m. OK GNU C++17 TESTS 74 3554 49561600 2800
64090308 ivan100sic E Nov. 2, 2019, 12:26 p.m. OK GNU C++17 TESTS 74 3960 18022400 2800
3067881 emo E Feb. 3, 2013, 4:56 p.m. OK Java 6 TESTS 74 3031 67891200 2800
2924025 FattyChicken E Jan. 14, 2013, 1:10 p.m. OK Java 7 TESTS 74 3421 22528000 2800
2921764 OgieKako E Jan. 13, 2013, 6:56 p.m. OK Java 7 TESTS 74 3671 29900800 2800
8039602 mmaxio E Sept. 30, 2014, 6:11 p.m. OK Java 8 TESTS 74 3868 59187200 2800
8039537 mmaxio E Sept. 30, 2014, 6:05 p.m. OK Java 8 TESTS 74 3960 54988800 2800
8039608 mmaxio E Sept. 30, 2014, 6:12 p.m. OK Java 8 TESTS 74 3960 59084800 2800
8039598 mmaxio E Sept. 30, 2014, 6:10 p.m. OK Java 8 TESTS 74 3992 54886400 2800
2927259 NuM E Jan. 15, 2013, 2:36 p.m. OK MS C++ TESTS 74 1406 27033600 2800
2954468 caustique E Jan. 17, 2013, 8:11 p.m. OK MS C++ TESTS 74 1562 27033600 2800
19383490 dwp E July 24, 2016, 12:09 p.m. OK MS C++ TESTS 74 2058 27033600 2800
2927137 NuM E Jan. 15, 2013, 2:01 p.m. OK MS C++ TESTS 74 2296 27033600 2800
2927099 NuM E Jan. 15, 2013, 1:48 p.m. OK MS C++ TESTS 74 2890 27033600 2800
4891375 pps789 E Oct. 25, 2013, 6:11 p.m. OK MS C++ TESTS 74 3120 26316800 2800
4866554 csehydrogen E Oct. 24, 2013, 5:29 p.m. OK MS C++ TESTS 74 3120 26521600 2800
3735930 XilinX E May 19, 2013, 8:34 a.m. OK MS C++ TESTS 74 3354 150118400 2800
2924363 lasten E Jan. 14, 2013, 2:52 p.m. OK MS C++ TESTS 74 3406 36044800 2800
4834362 kcm1700 E Oct. 20, 2013, 3:47 p.m. OK MS C++ TESTS 74 3462 35532800 2800

remove filters

Back to search problems