Wunder Fund Round 2016 (Div. 1 + Div. 2 combined)

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
618 Wunder Fund Round 2016 (Div. 1 + Div. 2 combined) FINISHED False 7200 283351787 Jan. 29, 2016, 5:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1760 ) D Hamiltonian Spanning Tree PROGRAMMING dfs and similar dp graph matchings greedy trees 2200

B"A group of n cities is connected by a network of roads. There is an undirected road between every pair of cities, so there are roads in total. It takes exactly y seconds to traverse any single road. A spanning tree is a set of roads containing exactly n xe2 x80 x89- xe2 x80 x891 roads such that it's possible to travel between any two cities using only these roads. Some spanning tree of the initial network was chosen. For every road in this tree the time one needs to traverse this road was changed from y to x seconds. Note that it's not guaranteed that x is smaller than y. You would like to travel through all the cities using the shortest path possible. Given n, x, y and a description of the spanning tree that was chosen, find the cost of the shortest path that starts in any city, ends in any city and visits all cities exactly once. The first line of the input contains three integers n, x and y (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200 xe2 x80 x89000, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). Each of the next n xe2 x80 x89- xe2 x80 x891 lines contains a description of a road in the spanning tree. The i-th of these lines contains two integers ui and vi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ui, xe2 x80 x89vi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- indices of the cities connected by the i-th road. It is guaranteed that these roads form a spanning tree. Print a single integer -- the minimum number of seconds one needs to spend in order to visit all the cities exactly once. In the first sample, roads of the spanning tree have cost 2, while other roads have cost 3. One example of an optimal path is . In the second sample, we have the same spanning tree, but roads in the spanning tree cost 3, while other roads cost 2. One example of an optimal path is ."...

Tutorials

Wunder Fund Round 2016 Editorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
15661667 Gassa D Jan. 29, 2016, 6:26 p.m. OK D TESTS 75 405 46284800 2200
18662154 Gray_58 D June 23, 2016, 11:11 a.m. OK FPC TESTS 75 78 11161600 2200
15689715 XuDuSh D Jan. 31, 2016, 5:54 a.m. OK FPC TESTS 75 93 10444800 2200
15678467 Fyodor D Jan. 30, 2016, 12:48 p.m. OK FPC TESTS 75 93 10444800 2200
55428571 chaorenhaha D June 11, 2019, 10:12 a.m. OK FPC TESTS 75 109 11161600 2200
16427167 Herrwerner D Feb. 29, 2016, 2:03 p.m. OK FPC TESTS 75 124 19251200 2200
16784642 SilverDH D March 18, 2016, 3:31 p.m. OK FPC TESTS 75 155 14438400 2200
15694471 igdor99 D Jan. 31, 2016, 12:57 p.m. OK FPC TESTS 75 155 28774400 2200
16784621 SilverDH D March 18, 2016, 3:30 p.m. OK FPC TESTS 75 202 14540800 2200
26237533 czllgzmzl D April 9, 2017, 12:56 p.m. OK GNU C++ TESTS 75 46 21299200 2200
19830833 Wuvin D Aug. 12, 2016, 2:30 p.m. OK GNU C++ TESTS 75 61 24473600 2200
20948257 XuYipei D Sept. 27, 2016, 2:11 p.m. OK GNU C++ TESTS 75 62 10342400 2200
26237807 yylidiw D April 9, 2017, 1:09 p.m. OK GNU C++ TESTS 75 62 13107200 2200
15672962 yukihana0416 D Jan. 30, 2016, 6 a.m. OK GNU C++ TESTS 75 62 16793600 2200
37792525 LJZ_C D May 1, 2018, 8:15 a.m. OK GNU C++ TESTS 75 62 17920000 2200
37698544 vjudge5 D April 29, 2018, 2:51 a.m. OK GNU C++ TESTS 75 62 17920000 2200
37698536 vjudge4 D April 29, 2018, 2:50 a.m. OK GNU C++ TESTS 75 62 17920000 2200
37884599 vjudge1 D May 4, 2018, 1:50 p.m. OK GNU C++ TESTS 75 62 20070400 2200
32544535 vjudge4 D Nov. 22, 2017, 8:35 a.m. OK GNU C++ TESTS 75 62 21504000 2200
59621515 rainboy D Aug. 28, 2019, 2:22 p.m. OK GNU C11 TESTS 75 93 19251200 2200
19018342 AcrossTheSky D July 11, 2016, 2:06 a.m. OK GNU C++11 TESTS 75 62 18227200 2200
22259599 zedyz D Nov. 16, 2016, 7:02 a.m. OK GNU C++11 TESTS 75 78 11161600 2200
50301863 LZDFDSMLL D Feb. 22, 2019, 2:58 a.m. OK GNU C++11 TESTS 75 78 14438400 2200
15663170 Al.Cash D Jan. 29, 2016, 6:40 p.m. OK GNU C++11 TESTS 75 93 3174400 2200
15982406 ZeminJiang D Feb. 13, 2016, 6:28 a.m. OK GNU C++11 TESTS 75 93 7987200 2200
15958702 krijgertje D Feb. 11, 2016, 3:24 p.m. OK GNU C++11 TESTS 75 93 13619200 2200
56798548 luogu_bot2 D July 10, 2019, 1:32 p.m. OK GNU C++11 TESTS 75 93 14336000 2200
50308057 yjun D Feb. 22, 2019, 7:33 a.m. OK GNU C++11 TESTS 75 93 14438400 2200
56788653 vjudge4 D July 10, 2019, 9:33 a.m. OK GNU C++11 TESTS 75 93 14438400 2200
58656673 vincent163 D Aug. 12, 2019, 9:20 a.m. OK GNU C++11 TESTS 75 93 15974400 2200
21607802 I_Love_Rem D Oct. 20, 2016, 3:26 a.m. OK GNU C++14 TESTS 75 46 14438400 2200
30769600 LLLoscar D Sept. 27, 2017, 6:50 a.m. OK GNU C++14 TESTS 75 78 14438400 2200
65341637 vjudge4 D Nov. 19, 2019, 11:09 a.m. OK GNU C++14 TESTS 75 109 14438400 2200
50305979 Hope_amasser D Feb. 22, 2019, 6:12 a.m. OK GNU C++14 TESTS 75 109 15974400 2200
64710024 wleung_bvg D Nov. 11, 2019, 6:14 p.m. OK GNU C++14 TESTS 75 124 15462400 2200
28115709 YxuanwKeith D June 28, 2017, 12:40 p.m. OK GNU C++14 TESTS 75 124 16281600 2200
27691368 xiaoxiaobaozi D June 9, 2017, 2:46 p.m. OK GNU C++14 TESTS 75 124 19251200 2200
65344514 vjudge1 D Nov. 19, 2019, 12:07 p.m. OK GNU C++14 TESTS 75 140 14438400 2200
26697592 Lylist D April 27, 2017, 7:20 a.m. OK GNU C++14 TESTS 75 140 16486400 2200
26697609 vjudge5 D April 27, 2017, 7:21 a.m. OK GNU C++14 TESTS 75 155 16486400 2200
59552126 vjudge2 D Aug. 27, 2019, 3:49 a.m. OK GNU C++17 TESTS 75 124 14438400 2200
56695555 fight_for_dream D July 8, 2019, 6:49 a.m. OK GNU C++17 TESTS 75 124 19353600 2200
51615909 vjudge1 D March 21, 2019, 12:26 p.m. OK GNU C++17 TESTS 75 140 19251200 2200
50306381 liuyongliu D Feb. 22, 2019, 6:25 a.m. OK GNU C++17 TESTS 75 155 19353600 2200
69543821 maras D Jan. 26, 2020, 12:03 a.m. OK GNU C++17 TESTS 75 171 10240000 2200
64204542 runfeng1998 D Nov. 4, 2019, 12:28 p.m. OK GNU C++17 TESTS 75 171 15360000 2200
58394194 IsaacMoris D Aug. 6, 2019, 2:55 p.m. OK GNU C++17 TESTS 75 171 16179200 2200
57798536 z3r0dmg D July 26, 2019, 12:22 p.m. OK GNU C++17 TESTS 75 171 18534400 2200
50307982 liuyongliu D Feb. 22, 2019, 7:30 a.m. OK GNU C++17 TESTS 75 171 18534400 2200
50308069 liuyongliu D Feb. 22, 2019, 7:33 a.m. OK GNU C++17 TESTS 75 171 18636800 2200
15667076 Martynas D Jan. 29, 2016, 8:48 p.m. OK Go TESTS 75 217 77619200 2200
15669331 slava.sh D Jan. 29, 2016, 11:15 p.m. OK Go TESTS 75 624 53350400 2200
15669308 slava.sh D Jan. 29, 2016, 11:12 p.m. OK Go TESTS 75 655 53350400 2200
15675809 DukeOfYork D Jan. 30, 2016, 9:22 a.m. OK Java 7 TESTS 75 373 44236800 2200
16030896 I_Love_Ginger D Feb. 15, 2016, 10:34 a.m. OK Java 7 TESTS 75 374 17612800 2200
15658992 hiukim D Jan. 29, 2016, 6:05 p.m. OK Java 7 TESTS 75 514 60211200 2200
15660414 tehqin D Jan. 29, 2016, 6:16 p.m. OK Java 7 TESTS 75 530 73216000 2200
15658470 VArtem D Jan. 29, 2016, 6:01 p.m. OK Java 7 TESTS 75 545 79872000 2200
15733604 mkirsche D Feb. 1, 2016, 2:50 p.m. OK Java 7 TESTS 75 748 39116800 2200
15670555 nitegazer D Jan. 30, 2016, 2:04 a.m. OK Java 7 TESTS 75 873 97280000 2200
15842658 1243France D Feb. 6, 2016, 1:01 p.m. OK Java 7 TESTS 75 1232 74137600 2200
15655076 Egor D Jan. 29, 2016, 5:37 p.m. OK Java 8 TESTS 75 202 17408000 2200
15839399 uwi D Feb. 6, 2016, 9:08 a.m. OK Java 8 TESTS 75 249 0 2200
15838857 uwi D Feb. 6, 2016, 8:20 a.m. OK Java 8 TESTS 75 280 14848000 2200
16030902 vjudge4 D Feb. 15, 2016, 10:34 a.m. OK Java 8 TESTS 75 311 16281600 2200
15748489 Arthur D Feb. 2, 2016, 11:06 a.m. OK Java 8 TESTS 75 311 81920000 2200
15748536 Arthur D Feb. 2, 2016, 11:09 a.m. OK Java 8 TESTS 75 343 81920000 2200
15748549 Arthur D Feb. 2, 2016, 11:10 a.m. OK Java 8 TESTS 75 358 81920000 2200
44716185 xodiac D Oct. 22, 2018, 9:57 p.m. OK Java 8 TESTS 75 358 120115200 2200
15782298 Guliash D Feb. 4, 2016, 6:44 a.m. OK Java 8 TESTS 75 405 48025600 2200
15734195 dhrumil140396 D Feb. 1, 2016, 3:20 p.m. OK Java 8 TESTS 75 436 75366400 2200
15769822 isofew D Feb. 3, 2016, 1:54 p.m. OK JavaScript TESTS 75 607 43929600 2200
15771150 isofew D Feb. 3, 2016, 2:51 p.m. OK JavaScript TESTS 75 655 43929600 2200
15772712 TranCongDuy D Feb. 3, 2016, 3:59 p.m. OK MS C# TESTS 75 187 28774400 2200
15688627 TranCongDuy D Jan. 31, 2016, 3:25 a.m. OK MS C# TESTS 75 202 28774400 2200
15674883 og.kostya D Jan. 30, 2016, 8:10 a.m. OK MS C# TESTS 75 264 22937600 2200
15661939 AnatolyTolstobrov D Jan. 29, 2016, 6:29 p.m. OK MS C# TESTS 75 296 39731200 2200
33826605 camypaper D Dec. 31, 2017, 7:24 a.m. OK MS C# TESTS 75 389 45363200 2200
65245674 vjudge4 D Nov. 17, 2019, 10:20 a.m. OK MS C++ TESTS 75 93 10854400 2200
65208421 vjudge1 D Nov. 16, 2019, 4:49 p.m. OK MS C++ TESTS 75 109 11980800 2200
15722595 ZJZNKU D Feb. 1, 2016, 1:41 a.m. OK MS C++ TESTS 75 139 16076800 2200
15671298 nevergiveup D Jan. 30, 2016, 3:29 a.m. OK MS C++ TESTS 75 156 13004800 2200
15675320 sand-martin D Jan. 30, 2016, 8:42 a.m. OK MS C++ TESTS 75 171 12800000 2200
15655909 izban D Jan. 29, 2016, 5:42 p.m. OK MS C++ TESTS 75 171 13004800 2200
15668555 vanvector D Jan. 29, 2016, 9:58 p.m. OK MS C++ TESTS 75 171 13824000 2200
15659686 Taube D Jan. 29, 2016, 6:10 p.m. OK MS C++ TESTS 75 171 15257600 2200
15665267 Death_Knight_DK D Jan. 29, 2016, 6:59 p.m. OK MS C++ TESTS 75 171 16076800 2200
15662609 CtrlAlt D Jan. 29, 2016, 6:35 p.m. OK MS C++ TESTS 75 171 16076800 2200
65277686 vjudge3 D Nov. 18, 2019, 3:02 a.m. OK MS C++ 2017 TESTS 75 139 10342400 2200
59471996 vjudge2 D Aug. 25, 2019, 3:40 p.m. OK MS C++ 2017 TESTS 75 202 11264000 2200
59457562 vjudge3 D Aug. 25, 2019, 2:53 p.m. OK MS C++ 2017 TESTS 75 234 15462400 2200
59471639 vjudge2 D Aug. 25, 2019, 3:39 p.m. OK MS C++ 2017 TESTS 75 249 15257600 2200
65245880 vjudge4 D Nov. 17, 2019, 10:25 a.m. OK MS C++ 2017 TESTS 75 389 11264000 2200
15678830 Grevozin D Jan. 30, 2016, 1:13 p.m. OK PyPy 2 TESTS 75 1309 43520000 2200
15679237 Grevozin D Jan. 30, 2016, 1:40 p.m. OK PyPy 2 TESTS 75 1309 44851200 2200
15679256 Grevozin D Jan. 30, 2016, 1:42 p.m. OK Python 2 TESTS 75 1778 47104000 2200
15668852 cugel D Jan. 29, 2016, 10:21 p.m. OK Python 3 TESTS 75 1762 60313600 2200

remove filters

Back to search problems