Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended]

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
720 Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] FINISHED False 7200 263415304 Sept. 18, 2016, 11:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 409 ) B Cactusophobia PROGRAMMING dfs and similar flows 2300

B"Tree is a connected undirected graph that has no cycles. Edge cactus is a connected undirected graph without loops and parallel edges, such that each edge belongs to at most one cycle. Vasya has an edge cactus, each edge of this graph has some color. Vasya would like to remove the minimal number of edges in such way that his cactus turned to a tree. Vasya wants to make it in such a way that there were edges of as many different colors in the resulting tree, as possible. Help him to find how many different colors can the resulting tree have. The first line contains two integers: n, m (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910 xe2 x80 x89000) -- the number of vertices and the number of edges in Vasya's graph, respectively. The following m lines contain three integers each: u, v, c (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89u, xe2 x80 x89v xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, u xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89v, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89c xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m) -- the numbers of vertices connected by the corresponding edge, and its color. It is guaranteed that the described graph is indeed an edge cactus. Output one integer: the maximal number of different colors that the resulting tree can have. "...

Tutorials

Russian Code Cup 2016 — Results and Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
25093768 Dylans B Feb. 28, 2017, 6:14 a.m. OK GNU C++ TESTS 44 15 3584000 2300
25094473 Dylans B Feb. 28, 2017, 7:01 a.m. OK GNU C++ TESTS 44 15 9625600 2300
21496801 XuYipei B Oct. 16, 2016, 1:17 p.m. OK GNU C++ TESTS 44 15 20992000 2300
21252429 BLF2 B Oct. 7, 2016, 7:43 a.m. OK GNU C++ TESTS 44 30 6553600 2300
25950164 vjudge3 B March 30, 2017, 11:28 a.m. OK GNU C++ TESTS 44 30 8908800 2300
25093565 Dylans B Feb. 28, 2017, 6:01 a.m. OK GNU C++ TESTS 44 30 20992000 2300
20794005 WuHongxun B Sept. 21, 2016, 12:12 p.m. OK GNU C++ TESTS 44 30 23756800 2300
27175767 ThoseBygones B May 17, 2017, 9:05 a.m. OK GNU C++ TESTS 44 30 42700800 2300
20748384 AkaneSasu B Sept. 19, 2016, 6:08 a.m. OK GNU C++ TESTS 44 31 4198400 2300
23643669 vjudge3 B Jan. 8, 2017, 9:42 a.m. OK GNU C++ TESTS 44 31 6451200 2300
20940834 Thost B Sept. 27, 2016, 8:47 a.m. OK GNU C++11 TESTS 44 15 1536000 2300
23364941 Ali.Pi B Dec. 27, 2016, 6:22 p.m. OK GNU C++11 TESTS 44 15 3584000 2300
25950146 DesHxr B March 30, 2017, 11:27 a.m. OK GNU C++11 TESTS 44 15 8908800 2300
20746902 GEOTCBRL B Sept. 19, 2016, 3:04 a.m. OK GNU C++11 TESTS 44 30 4300800 2300
21239321 fengsuiyan B Oct. 6, 2016, 3:37 p.m. OK GNU C++11 TESTS 44 30 23756800 2300
20950343 krijgertje B Sept. 27, 2016, 3:40 p.m. OK GNU C++11 TESTS 44 31 1433600 2300
21042740 ftiasch B Sept. 30, 2016, 4:10 p.m. OK GNU C++11 TESTS 44 31 2457600 2300
21042706 rowdark B Sept. 30, 2016, 4:07 p.m. OK GNU C++11 TESTS 44 31 2457600 2300
20792873 _0w0_ B Sept. 21, 2016, 11:14 a.m. OK GNU C++11 TESTS 44 31 3072000 2300
31279564 GN0 B Oct. 13, 2017, 4:13 p.m. OK GNU C++11 TESTS 44 31 3584000 2300
20902694 myown1209 B Sept. 25, 2016, 7:23 a.m. OK GNU C++14 TESTS 44 31 4710400 2300
21781346 krismaz B Oct. 25, 2016, 8:09 p.m. OK GNU C++14 TESTS 44 31 4915200 2300
21275776 AomeII B Oct. 8, 2016, 8:53 a.m. OK GNU C++14 TESTS 44 31 6963200 2300
63656825 tsingcbx B Oct. 28, 2019, 12:57 p.m. OK GNU C++14 TESTS 44 31 8192000 2300
61193250 Jiburiru B Sept. 24, 2019, 4:09 a.m. OK GNU C++14 TESTS 44 31 11264000 2300
24627823 __important__ B Feb. 13, 2017, 12:44 p.m. OK GNU C++14 TESTS 44 31 14028800 2300
51603028 molamola. B March 21, 2019, 5:39 a.m. OK GNU C++14 TESTS 44 31 14848000 2300
20737531 300iq B Sept. 18, 2016, 2:33 p.m. OK GNU C++14 TESTS 44 31 22425600 2300
56261660 bluefi B June 29, 2019, 8:19 a.m. OK GNU C++14 TESTS 44 46 4710400 2300
40936539 imeimi B July 30, 2018, 5:50 a.m. OK GNU C++14 TESTS 44 46 5222400 2300
61744362 Umi B Oct. 2, 2019, 10:34 p.m. OK GNU C++17 TESTS 44 46 2048000 2300
59195770 Phortox B Aug. 21, 2019, 1:31 a.m. OK GNU C++17 TESTS 44 46 5427200 2300
55857768 chongryong B June 21, 2019, 7:54 a.m. OK GNU C++17 TESTS 44 46 15360000 2300
47456157 Shayan.P B Dec. 24, 2018, 12:39 p.m. OK GNU C++17 TESTS 44 61 4096000 2300
54710111 maxnguyen B May 27, 2019, 8:07 a.m. OK GNU C++17 TESTS 44 61 4300800 2300
54652176 xuanquang1999 B May 26, 2019, 6:09 a.m. OK GNU C++17 TESTS 44 62 4300800 2300
48548567 .I. B Jan. 18, 2019, 10:08 p.m. OK GNU C++17 TESTS 44 62 12390400 2300
48548098 .I. B Jan. 18, 2019, 9:31 p.m. OK GNU C++17 TESTS 44 62 12390400 2300
67028419 tsyr8924503 B Dec. 16, 2019, 3:05 p.m. OK GNU C++17 TESTS 44 77 4710400 2300
38563852 oneplus54 B May 23, 2018, 1:49 p.m. OK GNU C++17 TESTS 44 78 7168000 2300
69883684 zhanyi_xiaolu B Jan. 31, 2020, 7:21 a.m. OK Java 11 TESTS 44 265 34406400 2300
69883329 zhanyi_xiaolu B Jan. 31, 2020, 7:14 a.m. OK Java 11 TESTS 44 405 249241600 2300
20768286 uwi B Sept. 20, 2016, 4:37 a.m. OK Java 8 TESTS 44 139 0 2300
20757749 uwi B Sept. 19, 2016, 2:19 p.m. OK Java 8 TESTS 44 139 0 2300
20768205 uwi B Sept. 20, 2016, 4:29 a.m. OK Java 8 TESTS 44 155 0 2300
63355189 Suzukaze B Oct. 25, 2019, 1:58 a.m. OK Java 8 TESTS 44 187 1331200 2300
20734161 ilyakor B Sept. 18, 2016, 12:32 p.m. OK Java 8 TESTS 44 202 0 2300
20746076 OgieKako B Sept. 19, 2016, 1:21 a.m. OK Java 8 TESTS 44 342 3276800 2300
20788047 ChrisWu B Sept. 21, 2016, 4:03 a.m. OK Java 8 TESTS 44 670 6758400 2300
20757534 uwi B Sept. 19, 2016, 2:10 p.m. OK Java 8 TESTS 44 717 0 2300
20759587 azukun B Sept. 19, 2016, 3:45 p.m. OK MS C# TESTS 44 170 7987200 2300
23657510 vjudge3 B Jan. 8, 2017, 10:40 p.m. OK MS C++ TESTS 44 31 7372800 2300
20733428 Taube B Sept. 18, 2016, 12:07 p.m. OK MS C++ TESTS 44 405 2252800 2300
20735203 NVAL B Sept. 18, 2016, 1:03 p.m. OK MS C++ TESTS 44 624 12595200 2300
20736053 NVAL B Sept. 18, 2016, 1:33 p.m. OK MS C++ TESTS 44 670 12595200 2300

remove filters

Back to search problems