Codeforces Beta Round 69 (Div. 1 Only)

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
77 Codeforces Beta Round 69 (Div. 1 Only) FINISHED False 7200 434126711 April 19, 2011, 3:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1044 ) C Beavermuncher-0xFF PROGRAMMING dfs and similar dp ds greedy trees 2300

B'"Eat a beaver, save a tree!" -- That will be the motto of ecologists ' urgent meeting in Beaverley Hills. And the whole point is that the population of beavers on the Earth has reached incredible sizes! Each day their number increases in several times and they don 't even realize how much their unhealthy obsession with trees harms the nature and the humankind. The amount of oxygen in the atmosphere has dropped to 17 per cent and, as the best minds of the world think, that is not the end. In the middle of the 50-s of the previous century a group of soviet scientists succeed in foreseeing the situation with beavers and worked out a secret technology to clean territory. The technology bears a mysterious title "Beavermuncher-0xFF". Now the fate of the planet lies on the fragile shoulders of a small group of people who has dedicated their lives to science. The prototype is ready, you now need to urgently carry out its experiments in practice. You are given a tree, completely occupied by beavers. A tree is a connected undirected graph without cycles. The tree consists of n vertices, the i-th vertex contains ki beavers. "Beavermuncher-0xFF" works by the following principle: being at some vertex u, it can go to the vertex v, if they are connected by an edge, and eat exactly one beaver located at the vertex v. It is impossible to move to the vertex v if there are no beavers left in v. "Beavermuncher-0xFF" cannot just stand at some vertex and eat beavers in it. "Beavermuncher-0xFF" must move without stops. Why does the "Beavermuncher-0xFF" works like this? Because the developers have not provided place for the battery in it and eating beavers is necessary for converting their mass into pure energy. It is guaranteed that the beavers will be shocked by what is happening, which is why they will not be able to move from a vertex of the tree to another one. As for the "Beavermuncher-0xFF", it can move along each edge in both directions while conditions described above a'...

Tutorials

Codeforces Beta Round #69 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3669038 MrJigan1488 C May 4, 2013, 12:12 p.m. OK Delphi TESTS 62 109 37068800 2300
546616 Depool C July 15, 2011, 10:38 a.m. OK Delphi TESTS 62 110 7680000 2300
737397 Nikolai C April 19, 2011, 3:59 p.m. OK Delphi TESTS 62 110 9318400 2300
405354 Mazeev C April 22, 2011, 8:55 a.m. OK Delphi TESTS 62 110 67072000 2300
405490 BaJIuK C April 22, 2011, 11:43 a.m. OK Delphi TESTS 62 130 12902400 2300
401718 tourist C April 19, 2011, 5:12 p.m. OK Delphi TESTS 62 130 67174400 2300
3473520 AleksanderBalobanov C April 4, 2013, 3:10 p.m. OK Delphi TESTS 62 156 25600000 2300
487786 vlad107 C June 14, 2011, 7:43 p.m. OK FPC TESTS 62 110 9318400 2300
833816 phidang C Nov. 4, 2011, 6:47 a.m. OK FPC TESTS 62 110 9523200 2300
916371 LifeKeeper C Dec. 2, 2011, 4:24 p.m. OK FPC TESTS 62 110 9932800 2300
2135525 Alex_2oo8 C Sept. 11, 2012, 1:10 p.m. OK FPC TESTS 62 110 10547200 2300
402814 winterwolf94 C April 19, 2011, 11:51 p.m. OK FPC TESTS 62 110 10547200 2300
796516 siuvit C Oct. 26, 2011, 9:07 a.m. OK FPC TESTS 62 110 11571200 2300
403132 NGNCMH C April 20, 2011, 7:08 a.m. OK FPC TESTS 62 110 13619200 2300
400798 Sereja C April 19, 2011, 4:47 p.m. OK FPC TESTS 62 110 16486400 2300
406343 Mark_tven C April 23, 2011, 12:59 p.m. OK FPC TESTS 62 130 10444800 2300
834306 nlbao C Nov. 4, 2011, 11:35 a.m. OK FPC TESTS 62 130 10854400 2300
400206 LayCurse C April 19, 2011, 4:30 p.m. OK GNU C TESTS 62 160 16793600 2300
400966 hos.lyric C April 19, 2011, 4:52 p.m. OK GNU C++ TESTS 62 60 14848000 2300
30633952 vjudge2 C Sept. 23, 2017, 7:13 a.m. OK GNU C++ TESTS 62 62 10342400 2300
40992817 ReaLNero1 C July 31, 2018, 1:35 a.m. OK GNU C++ TESTS 62 92 10444800 2300
4610311 vjudge5 C Sept. 30, 2013, 6:34 a.m. OK GNU C++ TESTS 62 124 12083200 2300
8547296 jiangshibiao C Nov. 4, 2014, 1:34 p.m. OK GNU C++ TESTS 62 124 14950400 2300
31712555 Icyfox C Oct. 25, 2017, 2:04 p.m. OK GNU C++ TESTS 62 124 17510400 2300
3179350 taojiaen C Feb. 24, 2013, 8:48 a.m. OK GNU C++ TESTS 62 125 13721600 2300
600402 ytau C Aug. 9, 2011, 1:02 p.m. OK GNU C++ TESTS 62 130 11980800 2300
727414 trunghieu11 C Sept. 27, 2011, 4:18 p.m. OK GNU C++ TESTS 62 130 13107200 2300
399646 yakitori C April 19, 2011, 4:16 p.m. OK GNU C++ TESTS 62 130 13107200 2300
3467688 boleyn.su C April 3, 2013, 7:54 a.m. OK GNU C++0x TESTS 62 140 14540800 2300
9929254 stefanzzz C Feb. 19, 2015, 5:32 p.m. OK GNU C++0x TESTS 62 186 10547200 2300
7451532 a654889339 C Aug. 15, 2014, 8:45 a.m. OK GNU C++0x TESTS 62 186 11878400 2300
7929301 SMAKH C Sept. 23, 2014, 4:59 p.m. OK GNU C++0x TESTS 62 216 14848000 2300
9129442 sdya C Dec. 14, 2014, 11:38 a.m. OK GNU C++0x TESTS 62 216 15769600 2300
7451468 a654889339 C Aug. 15, 2014, 8:39 a.m. OK GNU C++0x TESTS 62 218 11878400 2300
7799700 JohnPaulII C Sept. 15, 2014, 8:36 a.m. OK GNU C++0x TESTS 62 218 16588800 2300
402287 2222 C April 19, 2011, 7:21 p.m. OK GNU C++0x TESTS 62 220 21606400 2300
402225 2222 C April 19, 2011, 7:13 p.m. OK GNU C++0x TESTS 62 220 21606400 2300
402282 2222 C April 19, 2011, 7:20 p.m. OK GNU C++0x TESTS 62 220 23142400 2300
50236094 zxyhh C Feb. 20, 2019, 10:48 a.m. OK GNU C++11 TESTS 62 92 9932800 2300
42866591 qkoqhh C Sept. 14, 2018, 4:04 p.m. OK GNU C++11 TESTS 62 92 10240000 2300
62202493 y2823774827y C Oct. 9, 2019, 12:27 p.m. OK GNU C++11 TESTS 62 92 73420800 2300
57331107 clya2004 C July 19, 2019, 2:12 p.m. OK GNU C++11 TESTS 62 124 10444800 2300
47359827 pufanyi C Dec. 22, 2018, 8:05 a.m. OK GNU C++11 TESTS 62 124 12902400 2300
55327942 Frame233 C June 9, 2019, 9:14 a.m. OK GNU C++11 TESTS 62 124 15564800 2300
46741051 pufanyi C Dec. 8, 2018, 2:31 a.m. OK GNU C++11 TESTS 62 154 12902400 2300
52630642 wangjincheng C April 12, 2019, 6:51 a.m. OK GNU C++11 TESTS 62 154 15769600 2300
26650202 dsyhy C April 24, 2017, 11:19 p.m. OK GNU C++11 TESTS 62 156 16691200 2300
12920713 cq_phqg C Sept. 10, 2015, 9:23 a.m. OK GNU C++11 TESTS 62 156 17510400 2300
30309698 _AjReme_ C Sept. 13, 2017, 2:45 p.m. OK GNU C++14 TESTS 62 124 15360000 2300
49320282 ctlchild C Feb. 1, 2019, 12:01 p.m. OK GNU C++14 TESTS 62 216 12083200 2300
55324900 upobir C June 9, 2019, 7:25 a.m. OK GNU C++14 TESTS 62 218 14540800 2300
31503330 darkkcyan C Oct. 19, 2017, 9:45 a.m. OK GNU C++14 TESTS 62 248 12288000 2300
32307277 sincerity C Nov. 14, 2017, 9 a.m. OK GNU C++14 TESTS 62 248 13414400 2300
40589120 spj_29 C July 20, 2018, 8:27 p.m. OK GNU C++14 TESTS 62 248 13926400 2300
31118812 xproxmess C Oct. 7, 2017, 2:40 p.m. OK GNU C++14 TESTS 62 248 14131200 2300
27330899 Kerim.K C May 25, 2017, 7:05 a.m. OK GNU C++14 TESTS 62 248 14233600 2300
60700582 SebaMarin C Sept. 16, 2019, 11:43 p.m. OK GNU C++14 TESTS 62 248 14540800 2300
41275909 Mindjolt C Aug. 6, 2018, 1:09 p.m. OK GNU C++14 TESTS 62 248 17612800 2300
46741135 pufanyi C Dec. 8, 2018, 2:37 a.m. OK GNU C++17 TESTS 62 154 9420800 2300
45563080 vjudge4 C Nov. 11, 2018, 12:51 p.m. OK GNU C++17 TESTS 62 186 12800000 2300
45563119 CheaSim C Nov. 11, 2018, 12:52 p.m. OK GNU C++17 TESTS 62 216 13004800 2300
61396544 kenimo C Sept. 28, 2019, 2:37 a.m. OK GNU C++17 TESTS 62 218 15769600 2300
46679331 Tzuyu C Dec. 6, 2018, 11:22 a.m. OK GNU C++17 TESTS 62 248 13824000 2300
63930210 Omar_Elawady C Oct. 31, 2019, 2:04 p.m. OK GNU C++17 TESTS 62 248 16179200 2300
51309434 Aleks5d C March 14, 2019, 6:30 p.m. OK GNU C++17 TESTS 62 248 16896000 2300
54340944 ArshiaDadras C May 18, 2019, 10:18 a.m. OK GNU C++17 TESTS 62 248 17305600 2300
66599880 Phortox C Dec. 10, 2019, 4:06 p.m. OK GNU C++17 TESTS 62 248 18534400 2300
45866764 Liwj C Nov. 17, 2018, 8:21 a.m. OK GNU C++17 TESTS 62 248 20377600 2300
65913048 vjudge4 C Nov. 28, 2019, 1:36 p.m. OK Go TESTS 62 560 37888000 2300
65913016 WangJialei C Nov. 28, 2019, 1:35 p.m. OK Go TESTS 62 624 37888000 2300
401371 S.Yesipenko C April 19, 2011, 5:03 p.m. OK Java 6 TESTS 62 270 50380800 2300
400165 SpookyCookie C April 19, 2011, 4:29 p.m. OK Java 6 TESTS 62 270 55398400 2300
401876 hydrastuff C April 19, 2011, 6:31 p.m. OK Java 6 TESTS 62 270 58265600 2300
400202 alexey.enkov C April 19, 2011, 4:30 p.m. OK Java 6 TESTS 62 330 53350400 2300
403737 madkite C April 20, 2011, 2:45 p.m. OK Java 6 TESTS 62 390 55091200 2300
707880 mostafa_fahim C Sept. 18, 2011, 6:58 p.m. OK Java 6 TESTS 62 390 65638400 2300
399536 ivan.popelyshev C April 19, 2011, 4:13 p.m. OK Java 6 TESTS 62 410 54067200 2300
405405 yaro C April 22, 2011, 10:41 a.m. OK Java 6 TESTS 62 420 62259200 2300
401748 SergeyLazarev C April 19, 2011, 5:13 p.m. OK Java 6 TESTS 62 420 62873600 2300
405408 yaro C April 22, 2011, 10:51 a.m. OK Java 6 TESTS 62 420 68710400 2300
2854491 niyaznigmatul C Dec. 29, 2012, 4:47 p.m. OK Java 7 TESTS 62 249 10752000 2300
4215633 trunghieu11 C Aug. 2, 2013, 5:55 a.m. OK Java 7 TESTS 62 280 9523200 2300
5740720 hama-du C Jan. 19, 2014, 1:54 p.m. OK Java 7 TESTS 62 686 28876800 2300
6381539 alexey.kasatkin C April 17, 2014, 1:24 a.m. OK Java 7 TESTS 62 716 26419200 2300
4384798 DoublePointer C Aug. 31, 2013, 12:05 a.m. OK Java 7 TESTS 62 842 79155200 2300
13335798 Azat_Yusupov C Oct. 1, 2015, 8:08 p.m. OK Java 7 TESTS 62 966 90419200 2300
20738737 Ahmad_Elsagheer C Sept. 18, 2016, 3:39 p.m. OK Java 8 TESTS 62 810 32972800 2300
23505813 Chapecoense C Jan. 2, 2017, 8 p.m. OK Java 8 TESTS 62 966 92672000 2300
28391569 catchup C July 9, 2017, 5:13 p.m. OK Java 8 TESTS 62 1464 122265600 2300
8608890 AlexFetisov C Nov. 7, 2014, 6:49 p.m. OK Java 8 TESTS 62 2090 8601600 2300
401622 Kenny_HORROR C April 19, 2011, 5:10 p.m. OK MS C++ TESTS 62 110 11980800 2300
407243 fjxingyue C April 25, 2011, 4:19 a.m. OK MS C++ TESTS 62 140 18841600 2300
3694018 Timur_Sitdikov C May 8, 2013, 3:58 p.m. OK MS C++ TESTS 62 156 12697600 2300
402988 krhgg C April 20, 2011, 4:31 a.m. OK MS C++ TESTS 62 170 9318400 2300
9129746 Milanin C Dec. 14, 2014, 12:06 p.m. OK MS C++ TESTS 62 186 8294400 2300
400735 P___ C April 19, 2011, 4:45 p.m. OK MS C++ TESTS 62 190 8089600 2300
403300 Oleg805 C April 20, 2011, 9:02 a.m. OK MS C++ TESTS 62 190 11776000 2300
420859 yangmie C May 1, 2011, 7:03 a.m. OK MS C++ TESTS 62 190 11980800 2300
400926 Ferlon C April 19, 2011, 4:51 p.m. OK MS C++ TESTS 62 190 13107200 2300
400130 Shtrix C April 19, 2011, 4:28 p.m. OK MS C++ TESTS 62 190 13107200 2300
401866 -dp- C April 19, 2011, 6:31 p.m. OK Python 2 TESTS 62 1470 25497600 2300

remove filters

Back to search problems