Codeforces Beta Round 14 (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
14 Codeforces Beta Round 14 (Div. 2) FINISHED False 7200 457540199 May 19, 2010, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1716 ) E Camels PROGRAMMING dp 2000

B"Bob likes to draw camels: with a single hump, two humps, three humps, etc. He draws a camel by connecting points on a coordinate plane. Now he's drawing camels with t humps, representing them as polylines in the plane. Each polyline consists of n vertices with coordinates (x1, xe2 x80 x89y1), (x2, xe2 x80 x89y2), ..., (xn, xe2 x80 x89yn). The first vertex has a coordinate x1 xe2 x80 x89= xe2 x80 x891, the second -- x2 xe2 x80 x89= xe2 x80 x892, etc. Coordinates yi might be any, but should satisfy the following conditions: For a series of his drawings of camels with t humps Bob wants to buy a notebook, but he doesn't know how many pages he will need. Output the amount of different polylines that can be drawn to represent camels with t humps for a given number n. The first line contains a pair of integers n and t (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8920, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910). Output the required amount of camels with t humps. In the first sample test sequences of y-coordinates for six camels are: 123421, 123431, 123432, 124321, 134321 xd0 xb8 234321 (each digit corresponds to one value of yi)."...

Tutorials

Codeforces Beta Round #14 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3207462 MrJigan1488 E Feb. 28, 2013, 1:30 p.m. OK Delphi TESTS 40 15 31846400 2000
22141424 upfeed E Nov. 10, 2016, 4:03 a.m. OK Delphi TESTS 40 30 102400 2000
63876 sankear E May 22, 2010, 12:42 p.m. OK Delphi TESTS 40 30 921600 2000
4136132 PeterTong97 E July 22, 2013, 2:17 p.m. OK FPC TESTS 40 15 0 2000
2830174 vubinh E Dec. 26, 2012, 4:58 p.m. OK FPC TESTS 40 15 0 2000
3014180 con_nha_ngheo E Jan. 26, 2013, 8:13 p.m. OK FPC TESTS 40 15 512000 2000
65046 sevenkplus E Dec. 9, 2010, 11:25 a.m. OK FPC TESTS 40 30 819200 2000
890654 memphis0603 E Nov. 25, 2011, 8:09 a.m. OK FPC TESTS 40 30 1024000 2000
889593 phidang E Nov. 24, 2011, 3:18 p.m. OK FPC TESTS 40 30 1024000 2000
793866 oinf-club E Oct. 24, 2011, 5:19 p.m. OK FPC TESTS 40 30 1024000 2000
65109 CherryTree E Jan. 2, 2011, 4:21 p.m. OK FPC TESTS 40 30 1024000 2000
63110 flash_mt E May 19, 2010, 5:24 p.m. OK FPC TESTS 40 30 1024000 2000
63063 flashmt E May 19, 2010, 5:21 p.m. OK FPC TESTS 40 30 1024000 2000
14747537 supersayajeans E Dec. 10, 2015, 4:54 p.m. OK GNU C TESTS 40 30 0 2000
63789 china.zhangchenzi E May 21, 2010, 2:06 p.m. OK GNU C TESTS 40 30 1331200 2000
1114591 yefarzihai E Jan. 24, 2012, 1:05 p.m. OK GNU C TESTS 40 30 1433600 2000
1497167 cpy E April 8, 2012, 7:12 a.m. OK GNU C TESTS 40 30 1638400 2000
14309515 kwakwa E Nov. 17, 2015, 8:30 a.m. OK GNU C TESTS 40 62 0 2000
1328934 lunae E March 9, 2012, 7:45 p.m. OK GNU C++ TESTS 40 10 1536000 2000
313768 vlad107 E March 1, 2011, 9:20 p.m. OK GNU C++ TESTS 40 10 1740800 2000
61922 Orfest E May 19, 2010, 4:14 p.m. OK GNU C++ TESTS 40 10 3481600 2000
3558965 vjudge2 E April 18, 2013, 5:37 a.m. OK GNU C++ TESTS 40 15 0 2000
3321225 cxlove E March 15, 2013, 1:27 p.m. OK GNU C++ TESTS 40 15 0 2000
3320844 hdujudge10 E March 15, 2013, 12:25 p.m. OK GNU C++ TESTS 40 15 0 2000
3267618 aiiYuu E March 8, 2013, 11:08 p.m. OK GNU C++ TESTS 40 15 0 2000
2954924 SHX E Jan. 18, 2013, 2:01 a.m. OK GNU C++ TESTS 40 15 0 2000
2929068 vjudge3 E Jan. 16, 2013, 8:59 a.m. OK GNU C++ TESTS 40 15 0 2000
2926785 vjudge3 E Jan. 15, 2013, 11:35 a.m. OK GNU C++ TESTS 40 15 0 2000
3238598 lovefly1983 E March 4, 2013, 2:50 p.m. OK GNU C++0x TESTS 40 15 0 2000
3237878 lovefly1983 E March 4, 2013, 12:31 p.m. OK GNU C++0x TESTS 40 15 0 2000
2998943 lemur E Jan. 23, 2013, 6:54 p.m. OK GNU C++0x TESTS 40 15 0 2000
6516264 marat.snowbear E May 1, 2014, 12:36 p.m. OK GNU C++0x TESTS 40 30 0 2000
9968441 simple.simon E Feb. 23, 2015, 11:20 a.m. OK GNU C++0x TESTS 40 30 0 2000
9702518 aliasadiiii E Feb. 3, 2015, 2:44 p.m. OK GNU C++0x TESTS 40 30 0 2000
9872188 strawbreey E Feb. 16, 2015, 2:26 p.m. OK GNU C++0x TESTS 40 30 307200 2000
8677208 zeyuanxy E Nov. 13, 2014, 3:01 a.m. OK GNU C++0x TESTS 40 30 307200 2000
6993062 wanbo E July 1, 2014, 4:27 p.m. OK GNU C++0x TESTS 40 30 307200 2000
9450122 ulyanin E Jan. 17, 2015, 12:31 p.m. OK GNU C++0x TESTS 40 30 819200 2000
59492185 rainboy E Aug. 25, 2019, 7:48 p.m. OK GNU C11 TESTS 40 62 307200 2000
30749859 jingtian777 E Sept. 26, 2017, 12:12 p.m. OK GNU C++11 TESTS 40 30 0 2000
29506035 Blimeo E Aug. 16, 2017, 1:10 p.m. OK GNU C++11 TESTS 40 30 0 2000
22928495 Deemo E Dec. 13, 2016, 2:26 p.m. OK GNU C++11 TESTS 40 30 0 2000
22366708 avenger07 E Nov. 20, 2016, 2:52 p.m. OK GNU C++11 TESTS 40 30 0 2000
18748565 Tuandl E June 27, 2016, 8:14 a.m. OK GNU C++11 TESTS 40 30 0 2000
17317321 top34051 E April 14, 2016, 4:43 p.m. OK GNU C++11 TESTS 40 30 0 2000
17317320 top34051 E April 14, 2016, 4:43 p.m. OK GNU C++11 TESTS 40 30 0 2000
16720611 TrueGod E March 14, 2016, 7:38 p.m. OK GNU C++11 TESTS 40 30 0 2000
15754029 vjudge5 E Feb. 2, 2016, 4:20 p.m. OK GNU C++11 TESTS 40 30 0 2000
30998880 cmd2do E Oct. 4, 2017, 5:09 p.m. OK GNU C++11 TESTS 40 30 0 2000
31064829 Stronger2020 E Oct. 6, 2017, 12:07 p.m. OK GNU C++14 TESTS 40 30 0 2000
32526163 Combi E Nov. 21, 2017, 1:10 p.m. OK GNU C++14 TESTS 40 30 0 2000
31157591 Stronger2020 E Oct. 9, 2017, 2:01 a.m. OK GNU C++14 TESTS 40 30 102400 2000
31154825 danya.smelskiy E Oct. 8, 2017, 9:14 p.m. OK GNU C++14 TESTS 40 30 102400 2000
31150325 Stronger2020 E Oct. 8, 2017, 4:56 p.m. OK GNU C++14 TESTS 40 30 102400 2000
39288487 satvik007 E June 16, 2018, 1:21 p.m. OK GNU C++14 TESTS 40 30 102400 2000
39629428 atlasworld E June 24, 2018, 6:41 p.m. OK GNU C++14 TESTS 40 30 204800 2000
63065008 khanh100204 E Oct. 21, 2019, 10:29 a.m. OK GNU C++14 TESTS 40 30 307200 2000
36049771 MergesortVN E March 7, 2018, 3:42 p.m. OK GNU C++14 TESTS 40 30 1843200 2000
36050323 MergesortVN E March 7, 2018, 3:59 p.m. OK GNU C++14 TESTS 40 30 1843200 2000
46279936 kenimo E Nov. 27, 2018, 12:51 p.m. OK GNU C++17 TESTS 40 60 0 2000
54434677 hkyiitd E May 21, 2019, 4:15 a.m. OK GNU C++17 TESTS 40 60 0 2000
65924615 GioChkhaidze E Nov. 28, 2019, 5:42 p.m. OK GNU C++17 TESTS 40 60 409600 2000
37739069 deadRabbit E April 30, 2018, 4:20 a.m. OK GNU C++17 TESTS 40 60 3481600 2000
36782089 Georgia_001 E March 31, 2018, 7:04 p.m. OK GNU C++17 TESTS 40 60 3584000 2000
53620694 Curnurx E May 1, 2019, 3 p.m. OK GNU C++17 TESTS 40 62 0 2000
49871596 usertab34 E Feb. 13, 2019, 2:06 p.m. OK GNU C++17 TESTS 40 62 0 2000
45060736 185217 E Oct. 29, 2018, 2:42 p.m. OK GNU C++17 TESTS 40 62 0 2000
65696759 JBer E Nov. 25, 2019, 8:39 a.m. OK GNU C++17 TESTS 40 62 102400 2000
58620226 vjudge4 E Aug. 11, 2019, 3:51 p.m. OK GNU C++17 TESTS 40 62 102400 2000
6051753 erikr E March 17, 2014, 3:18 a.m. OK Haskell TESTS 40 30 0 2000
6051511 erikr E March 17, 2014, 2:30 a.m. OK Haskell TESTS 40 30 0 2000
65034 watashi E Dec. 8, 2010, 6:20 p.m. OK Haskell TESTS 40 30 1536000 2000
35840358 ______n______ E March 2, 2018, 2:15 p.m. OK Haskell TESTS 40 30 53248000 2000
35840356 ______u______ E March 2, 2018, 2:15 p.m. OK Haskell TESTS 40 30 53248000 2000
35840021 _____k_____ E March 2, 2018, 2:09 p.m. OK Haskell TESTS 40 30 53248000 2000
35840018 _____i_____ E March 2, 2018, 2:09 p.m. OK Haskell TESTS 40 30 53248000 2000
35834964 ______h______ E March 2, 2018, 12:16 p.m. OK Haskell TESTS 40 30 53248000 2000
35834935 ______k______ E March 2, 2018, 12:16 p.m. OK Haskell TESTS 40 30 53248000 2000
35834764 ______i______ E March 2, 2018, 12:10 p.m. OK Haskell TESTS 40 30 53248000 2000
64693 kiko91_7 E June 27, 2010, 5:13 p.m. OK Java 6 TESTS 40 60 42905600 2000
63642 shindo E May 20, 2010, 9:59 a.m. OK Java 6 TESTS 40 80 33792000 2000
63315 fetetriste E May 19, 2010, 5:40 p.m. OK Java 6 TESTS 40 80 33792000 2000
62845 yaro E May 19, 2010, 5:08 p.m. OK Java 6 TESTS 40 80 33792000 2000
62584 mastersobg E May 19, 2010, 4:48 p.m. OK Java 6 TESTS 40 80 33792000 2000
62505 ChuckNorris E May 19, 2010, 4:42 p.m. OK Java 6 TESTS 40 80 33792000 2000
62504 alexey.enkov E May 19, 2010, 4:42 p.m. OK Java 6 TESTS 40 80 33792000 2000
64050 choice E May 25, 2010, 4:44 p.m. OK Java 6 TESTS 40 80 42188800 2000
995036 ahmad_mamdouh E Jan. 2, 2012, 5:08 p.m. OK Java 6 TESTS 40 80 43110400 2000
63373 RosyIsh E May 19, 2010, 6 p.m. OK Java 6 TESTS 40 90 33792000 2000
2850685 niyaznigmatul E Dec. 28, 2012, 8:49 p.m. OK Java 7 TESTS 40 93 0 2000
10375634 vjudge5 E March 21, 2015, 8:07 a.m. OK Java 7 TESTS 40 154 0 2000
5187667 earlda E Nov. 21, 2013, 8:18 p.m. OK Java 7 TESTS 40 156 0 2000
12691505 kws4679 E Aug. 25, 2015, 4:45 a.m. OK Java 7 TESTS 40 184 0 2000
9366162 bendyna.ivan E Jan. 5, 2015, 1:56 p.m. OK Java 7 TESTS 40 184 0 2000
6086751 Cricycle E March 20, 2014, 6:02 a.m. OK Java 7 TESTS 40 186 0 2000
10829518 dspstanky E April 22, 2015, 11:24 p.m. OK Java 7 TESTS 40 216 47206400 2000
10227434 vjudge2 E March 10, 2015, 2:23 p.m. OK Java 7 TESTS 40 218 0 2000
17922471 alibaba E May 15, 2016, 4:48 p.m. OK Java 8 TESTS 40 184 26112000 2000
68160343 yaoct E Jan. 4, 2020, 10:36 a.m. OK Java 8 TESTS 40 218 3379200 2000
45255249 thanhnam.csc E Nov. 3, 2018, 7:16 p.m. OK Java 8 TESTS 40 218 3584000 2000
59492186 Dukkha E Aug. 25, 2019, 7:48 p.m. OK Java 8 TESTS 40 218 3686400 2000
26132478 poikniok E April 4, 2017, 9:46 p.m. OK Java 8 TESTS 40 218 26009600 2000
26132482 poikniok E April 4, 2017, 9:47 p.m. OK Java 8 TESTS 40 218 26112000 2000
10976454 ProjectYoung E May 2, 2015, 4:28 p.m. OK Java 8 TESTS 40 218 28569600 2000
12709569 jetblack20 E Aug. 26, 2015, 3:10 p.m. OK Java 8 TESTS 40 248 0 2000
41134766 Lannister96 E Aug. 2, 2018, 7:53 p.m. OK Java 8 TESTS 40 248 3174400 2000
20765002 pitfall E Sept. 19, 2016, 9:18 p.m. OK Java 8 TESTS 40 248 4096000 2000
498692 wrong E June 20, 2011, 11:02 a.m. OK Mono C# TESTS 40 110 6041600 2000
62996 Hadi_Asiaie E May 19, 2010, 5:17 p.m. OK Mono C# TESTS 40 130 6451200 2000
20798161 polphit E Sept. 21, 2016, 2:43 p.m. OK MS C# TESTS 40 124 102400 2000
18108409 azukun E May 26, 2016, 6:01 p.m. OK MS C# TESTS 40 124 9625600 2000
24298534 Mem E Jan. 31, 2017, 2:49 p.m. OK MS C# TESTS 40 124 11571200 2000
8980016 Mem E Dec. 4, 2014, 10:42 a.m. OK MS C# TESTS 40 154 2150400 2000
3959524 Schullz E June 25, 2013, 12:01 p.m. OK MS C++ TESTS 40 15 0 2000
2980573 stevil E Jan. 21, 2013, 5:37 p.m. OK MS C++ TESTS 40 15 204800 2000
2980570 stevil E Jan. 21, 2013, 5:36 p.m. OK MS C++ TESTS 40 15 204800 2000
2980468 nevets E Jan. 21, 2013, 5:12 p.m. OK MS C++ TESTS 40 15 204800 2000
2849515 amr_mahdi E Dec. 28, 2012, 2:41 p.m. OK MS C++ TESTS 40 15 307200 2000
2850249 ahmedsaad E Dec. 28, 2012, 5:49 p.m. OK MS C++ TESTS 40 15 1843200 2000
3092235 xa.mohsen E Feb. 11, 2013, 4:13 a.m. OK MS C++ TESTS 40 15 6348800 2000
7802369 egor_bb E Sept. 15, 2014, 3:20 p.m. OK MS C++ TESTS 40 30 0 2000
7802368 egor_bb E Sept. 15, 2014, 3:20 p.m. OK MS C++ TESTS 40 30 0 2000
7909575 hey_boris E Sept. 22, 2014, 1:09 p.m. OK MS C++ TESTS 40 30 0 2000
56253591 JackF E June 29, 2019, 5:05 a.m. OK MS C++ 2017 TESTS 40 62 102400 2000
7666247 ShingRay E Sept. 2, 2014, 8:35 a.m. OK Ocaml TESTS 40 30 0 2000
46436327 moss3s E Dec. 1, 2018, 9:19 a.m. OK PHP TESTS 40 92 0 2000
62511 devil.alex.dante E May 19, 2010, 4:43 p.m. OK Python 2 TESTS 40 60 2764800 2000
562671 DDDDDDDDDDDDDDDDDDDDDDDD E July 23, 2011, 1:13 p.m. OK Python 2 TESTS 40 60 2867200 2000
3474541 birdsman E April 4, 2013, 7:49 p.m. OK Python 2 TESTS 40 62 0 2000
3474517 birdsman E April 4, 2013, 7:42 p.m. OK Python 2 TESTS 40 62 0 2000
10337972 agnusmaximus E March 18, 2015, 1:32 p.m. OK Python 2 TESTS 40 124 0 2000
11198880 darrensun E May 22, 2015, 8:14 a.m. OK Python 3 TESTS 40 124 0 2000

remove filters

Back to search problems