Codeforces Beta Round 41

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
42 Codeforces Beta Round 41 FINISHED False 7200 441727199 Nov. 18, 2010, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 206 ) E Baldman and the military PROGRAMMING dfs and similar graphs trees 2700

B"Baldman is a warp master. He possesses a unique ability -- creating wormholes! Given two positions in space, Baldman can make a wormhole which makes it possible to move between them in both directions. Unfortunately, such operation isn't free for Baldman: each created wormhole makes him lose plenty of hair from his head. Because of such extraordinary abilities, Baldman has caught the military's attention. He has been charged with a special task. But first things first. The military base consists of several underground objects, some of which are connected with bidirectional tunnels. There necessarily exists a path through the tunnel system between each pair of objects. Additionally, exactly two objects are connected with surface. For the purposes of security, a patrol inspects the tunnel system every day: he enters one of the objects which are connected with surface, walks the base passing each tunnel at least once and leaves through one of the objects connected with surface. He can enter and leave either through the same object, or through different objects. The military management noticed that the patrol visits some of the tunnels multiple times and decided to optimize the process. Now they are faced with a problem: a system of wormholes needs to be made to allow of a patrolling which passes each tunnel exactly once. At the same time a patrol is allowed to pass each wormhole any number of times. This is where Baldman comes to operation: he is the one to plan and build the system of the wormholes. Unfortunately for him, because of strict confidentiality the military can't tell him the arrangement of tunnels. Instead, they insist that his system of portals solves the problem for any arrangement of tunnels which satisfies the given condition. Nevertheless, Baldman has some information: he knows which pairs of objects he can potentially connect and how much it would cost him (in hair). Moreover, tomorrow he will be told which objects (exactly two) are connec"...

Tutorials

Solution of task е, Codeforces beta round #41

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
256206 agul E Jan. 21, 2011, 1:02 p.m. OK Delphi TESTS 60 420 85811200 2700
198036 tourist E Nov. 18, 2010, 5:16 p.m. OK Delphi TESTS 60 420 85811200 2700
22004468 Jin_Haonan E Nov. 3, 2016, 1:16 a.m. OK GNU C++ TESTS 60 156 5836800 2700
5693683 zhj E Jan. 15, 2014, 2:18 a.m. OK GNU C++ TESTS 60 342 7065600 2700
35871609 ______u______ E March 3, 2018, 6:53 a.m. OK GNU C++ TESTS 60 342 8908800 2700
35871489 ______n______ E March 3, 2018, 6:52 a.m. OK GNU C++ TESTS 60 342 8908800 2700
35870900 _____i_____ E March 3, 2018, 6:39 a.m. OK GNU C++ TESTS 60 342 8908800 2700
35870893 _____k_____ E March 3, 2018, 6:39 a.m. OK GNU C++ TESTS 60 342 8908800 2700
35862008 ______k______ E March 2, 2018, 10:16 p.m. OK GNU C++ TESTS 60 342 8908800 2700
35861991 ______h______ E March 2, 2018, 10:15 p.m. OK GNU C++ TESTS 60 342 8908800 2700
35861702 ______i______ E March 2, 2018, 10:09 p.m. OK GNU C++ TESTS 60 342 8908800 2700
35859990 ______M______ E March 2, 2018, 9:32 p.m. OK GNU C++ TESTS 60 342 8908800 2700
2699871 Archon.JK E Dec. 6, 2012, 10:57 a.m. OK GNU C++0x TESTS 60 609 25804800 2700
58071636 zrmpaul E July 31, 2019, 10:54 a.m. OK GNU C++11 TESTS 60 312 6451200 2700
58071432 zrmpaul E July 31, 2019, 10:50 a.m. OK GNU C++11 TESTS 60 312 6451200 2700
57907370 lopare E July 28, 2019, 6:13 p.m. OK GNU C++11 TESTS 60 312 6860800 2700
58071449 LittleBaby E July 31, 2019, 10:50 a.m. OK GNU C++11 TESTS 60 342 6451200 2700
44758698 HeHere E Oct. 24, 2018, 5:27 a.m. OK GNU C++11 TESTS 60 374 28467200 2700
44758077 purple_sun E Oct. 24, 2018, 4:57 a.m. OK GNU C++11 TESTS 60 436 31846400 2700
44756743 purple_sun E Oct. 24, 2018, 2:51 a.m. OK GNU C++11 TESTS 60 436 31846400 2700
19982103 Melnyk E Aug. 20, 2016, 12:51 p.m. OK GNU C++11 TESTS 60 592 32460800 2700
44726348 Crossguard E Oct. 23, 2018, 8:13 a.m. OK GNU C++11 TESTS 60 622 56012800 2700
12016325 HellKitsune E July 12, 2015, 7:46 a.m. OK GNU C++11 TESTS 60 654 30003200 2700
56015477 sorry_im_smurfing E June 24, 2019, 8:49 p.m. OK GNU C++14 TESTS 60 404 7065600 2700
68056428 hpfdf E Jan. 1, 2020, 11:13 p.m. OK GNU C++14 TESTS 60 560 27648000 2700
27045495 Minology E May 12, 2017, 2:54 a.m. OK GNU C++14 TESTS 60 622 28467200 2700
44757381 vjudge2 E Oct. 24, 2018, 4:11 a.m. OK GNU C++14 TESTS 60 686 25395200 2700
44728224 tender_green E Oct. 23, 2018, 9:05 a.m. OK GNU C++14 TESTS 60 686 48640000 2700
38404514 Dreamchaser101 E May 18, 2018, 3:24 p.m. OK GNU C++14 TESTS 60 748 28057600 2700
34190925 Belonogov E Jan. 15, 2018, 7:36 a.m. OK GNU C++14 TESTS 60 810 42291200 2700
41000462 vjudge5 E July 31, 2018, 6:51 a.m. OK GNU C++14 TESTS 60 840 45670400 2700
44777818 FelixChen E Oct. 24, 2018, 3:08 p.m. OK GNU C++14 TESTS 60 872 30617600 2700
23377493 Ali.Pi E Dec. 28, 2016, 12:22 p.m. OK GNU C++14 TESTS 60 902 34304000 2700
37703191 ruo E April 29, 2018, 7:53 a.m. OK GNU C++17 TESTS 60 436 9318400 2700
41937002 kenimo E Aug. 21, 2018, 1:32 p.m. OK GNU C++17 TESTS 60 498 5939200 2700
64867662 hjk1030 E Nov. 14, 2019, 6:57 a.m. OK GNU C++17 TESTS 60 686 22937600 2700
67366288 how_to_become_purple E Dec. 21, 2019, 12:57 p.m. OK GNU C++17 TESTS 60 686 47308800 2700
68018470 .I. E Dec. 31, 2019, 8:22 p.m. OK GNU C++17 TESTS 60 746 32768000 2700
68018715 .I. E Dec. 31, 2019, 8:36 p.m. OK GNU C++17 TESTS 60 840 33177600 2700
44766059 lqs2015 E Oct. 24, 2018, 9:54 a.m. OK GNU C++17 TESTS 60 840 62361600 2700
44741659 vjudge1 E Oct. 23, 2018, 2:56 p.m. OK GNU C++17 TESTS 60 934 39219200 2700
44741557 charlieyan E Oct. 23, 2018, 2:54 p.m. OK GNU C++17 TESTS 60 964 39014400 2700
66311208 -is-this-fft- E Dec. 5, 2019, 11:30 a.m. OK GNU C++17 TESTS 60 1434 27238400 2700
199594 winger E Nov. 19, 2010, 7:03 p.m. OK Java 6 TESTS 60 950 101580800 2700
198183 ivan.popelyshev E Nov. 18, 2010, 5:25 p.m. OK Java 6 TESTS 60 1030 79564800 2700
2047597 Azat_Yusupov E Aug. 25, 2012, 4:56 a.m. OK Java 6 TESTS 60 1480 113152000 2700
2047589 Azat_Yusupov E Aug. 25, 2012, 4:46 a.m. OK Java 6 TESTS 60 2080 112332800 2700
12786271 mkirsche E Aug. 31, 2015, 9:09 a.m. OK Java 7 TESTS 60 2494 52940800 2700
198204 al13n E Nov. 18, 2010, 5:26 p.m. OK MS C++ TESTS 60 590 29593600 2700
9915303 stostap E Feb. 18, 2015, 2:09 p.m. OK MS C++ TESTS 60 592 27750400 2700
200249 july E Nov. 27, 2010, 12:16 p.m. OK MS C++ TESTS 60 610 63078400 2700
200247 july E Nov. 27, 2010, 12:14 p.m. OK MS C++ TESTS 60 610 67276800 2700
200246 july E Nov. 27, 2010, 12:13 p.m. OK MS C++ TESTS 60 630 67276800 2700
12015076 Roms E July 12, 2015, 4:52 a.m. OK MS C++ TESTS 60 654 29696000 2700
199460 ahyangyi E Nov. 19, 2010, 11:01 a.m. OK MS C++ TESTS 60 670 26828800 2700
199947 ptrrsn_1 E Nov. 22, 2010, 10:24 a.m. OK MS C++ TESTS 60 950 63283200 2700
199728 maksay E Nov. 20, 2010, 4:07 p.m. OK MS C++ TESTS 60 1000 48435200 2700
3915705 Mark_tven E June 19, 2013, 1:03 a.m. OK MS C++ TESTS 60 1046 29798400 2700

remove filters

Back to search problems