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 |
---|---|---|---|---|---|---|
1155 | Educational Codeforces Round 63 (Rated for Div. 2) | FINISHED | False | 7200 | 181495487 | April 22, 2019, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 455 ) | F | Delivery Oligopoly | PROGRAMMING | brute force dp graphs | 2700 |
B"The whole delivery market of Berland is controlled by two rival companies: BerEx and BerPS. They both provide fast and reliable delivery services across all the cities of Berland. The map of Berland can be represented as an undirected graph. The cities are vertices and the roads are edges between them. Each pair of cities has no more than one road between them. Each road connects different cities. BerEx and BerPS are so competitive that for each pair of cities (v, u) they have set up their paths from v to u in such a way that these two paths don't share a single road. It is guaranteed that it was possible. Now Berland government decided to cut down the road maintenance cost by abandoning some roads. Obviously, they want to maintain as little roads as possible. However, they don't want to break the entire delivery system. So BerEx and BerPS should still be able to have their paths between every pair of cities non-intersecting. What is the minimal number of roads Berland government can maintain? More formally, given a 2-edge connected undirected graph, what is the minimum number of edges that can be left in it so that the resulting graph is also 2-edge connected? The first line contains two integers n and m ( 3 <= n <= 14 , n <= m <= frac{n(n - 1)}{2} ) -- the number of cities and the number of roads between them. Each of the next m lines contains two integers v and u ( 1 <= v, u <= n , v ne u ) -- the cities connected by the next road. It is guaranteed that each pair of cities has no more than one road between them. It is guaranteed that each pair of cities have at least two paths between them that don't share a single road. The first line should contain a single integer k -- the minimum number of roads Berland government can maintain so that BerEx and BerPS are still able to have their paths between every pair of cities non-intersecting. The next k lines should contai"... |
66687 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
55611041 | ReaLNero1 | F | June 16, 2019, 5:44 a.m. | OK | GNU C++11 | TESTS | 56 | 31 | 0 | 2700 | |
53384213 | hellomath | F | April 27, 2019, 2:19 a.m. | OK | GNU C++11 | TESTS | 56 | 31 | 0 | 2700 | |
53292238 | hellomath | F | April 25, 2019, 4:05 p.m. | OK | GNU C++11 | TESTS | 56 | 31 | 0 | 2700 | |
53175247 | xielinhan | F | April 23, 2019, 3:05 a.m. | OK | GNU C++11 | TESTS | 56 | 31 | 0 | 2700 | |
55608141 | frodakcin | F | June 16, 2019, 3:06 a.m. | OK | GNU C++11 | TESTS | 56 | 61 | 16179200 | 2700 | |
58196779 | ru0k | F | Aug. 3, 2019, 1:12 a.m. | OK | GNU C++11 | TESTS | 56 | 61 | 17408000 | 2700 | |
64438854 | vjudge3 | F | Nov. 7, 2019, 3:03 a.m. | OK | GNU C++11 | TESTS | 56 | 77 | 23961600 | 2700 | |
54418046 | llbra9z | F | May 20, 2019, 1:47 p.m. | OK | GNU C++11 | TESTS | 56 | 78 | 16179200 | 2700 | |
58382734 | TianSunXing | F | Aug. 6, 2019, 10:42 a.m. | OK | GNU C++11 | TESTS | 56 | 78 | 16384000 | 2700 | |
57945235 | code_struck | F | July 29, 2019, 2:03 p.m. | OK | GNU C++11 | TESTS | 56 | 78 | 17305600 | 2700 | |
53166603 | nhho | F | April 22, 2019, 6:25 p.m. | OK | GNU C++14 | TESTS | 56 | 30 | 204800 | 2700 | |
59119351 | vjudge2 | F | Aug. 20, 2019, 3:57 a.m. | OK | GNU C++14 | TESTS | 56 | 78 | 27136000 | 2700 | |
54412407 | llbra9z | F | May 20, 2019, 10:39 a.m. | OK | GNU C++14 | TESTS | 56 | 93 | 18739200 | 2700 | |
55516732 | AuqaKyz | F | June 13, 2019, 5:51 a.m. | OK | GNU C++14 | TESTS | 56 | 93 | 18841600 | 2700 | |
59120030 | hello_world2005 | F | Aug. 20, 2019, 4:33 a.m. | OK | GNU C++14 | TESTS | 56 | 93 | 27136000 | 2700 | |
54510224 | pkgunboat | F | May 23, 2019, 6:40 a.m. | OK | GNU C++14 | TESTS | 56 | 93 | 27238400 | 2700 | |
54067255 | Tosic | F | May 13, 2019, 2:07 p.m. | OK | GNU C++14 | TESTS | 56 | 93 | 38809600 | 2700 | |
53633699 | sonhv3112 | F | May 1, 2019, 3:49 p.m. | OK | GNU C++14 | TESTS | 56 | 140 | 31539200 | 2700 | |
53488339 | xiangel | F | April 29, 2019, 6:30 a.m. | OK | GNU C++14 | TESTS | 56 | 171 | 36249600 | 2700 | |
67005787 | emma | F | Dec. 16, 2019, 7:52 a.m. | OK | GNU C++14 | TESTS | 56 | 202 | 26009600 | 2700 | |
53211323 | wzw19991105 | F | April 24, 2019, 5:41 a.m. | OK | GNU C++17 | TESTS | 56 | 31 | 0 | 2700 | |
53211281 | wzw19991105 | F | April 24, 2019, 5:39 a.m. | OK | GNU C++17 | TESTS | 56 | 31 | 0 | 2700 | |
53211244 | wzw19991105 | F | April 24, 2019, 5:38 a.m. | OK | GNU C++17 | TESTS | 56 | 46 | 0 | 2700 | |
53210756 | CyberZHG | F | April 24, 2019, 5:11 a.m. | OK | GNU C++17 | TESTS | 56 | 78 | 13107200 | 2700 | |
58434688 | TianZuiXing | F | Aug. 7, 2019, 1:22 p.m. | OK | GNU C++17 | TESTS | 56 | 78 | 16384000 | 2700 | |
53487780 | CMXRYNP | F | April 29, 2019, 5:57 a.m. | OK | GNU C++17 | TESTS | 56 | 78 | 16384000 | 2700 | |
53609386 | libra9z | F | May 1, 2019, 12:12 p.m. | OK | GNU C++17 | TESTS | 56 | 78 | 18739200 | 2700 | |
53609085 | llbra8z | F | May 1, 2019, 12:02 p.m. | OK | GNU C++17 | TESTS | 56 | 78 | 18739200 | 2700 | |
53525751 | yevhenii_kanivets | F | April 29, 2019, 4:25 p.m. | OK | GNU C++17 | TESTS | 56 | 78 | 27238400 | 2700 | |
53464376 | sheaf | F | April 28, 2019, 9:09 a.m. | OK | GNU C++17 | TESTS | 56 | 78 | 27238400 | 2700 | |
53384647 | dalt | F | April 27, 2019, 2:39 a.m. | OK | Java 8 | TESTS | 56 | 140 | 0 | 2700 | |
53384612 | dalt | F | April 27, 2019, 2:37 a.m. | OK | Java 8 | TESTS | 56 | 202 | 0 | 2700 | |
53192133 | mikkk | F | April 23, 2019, 1:22 p.m. | OK | Java 8 | TESTS | 56 | 202 | 0 | 2700 | |
53824245 | luogu_bot4 | F | May 6, 2019, 3:02 p.m. | OK | Java 8 | TESTS | 56 | 249 | 38502400 | 2700 | |
58194989 | SpargelTarzan | F | Aug. 2, 2019, 10:52 p.m. | OK | Java 8 | TESTS | 56 | 327 | 40652800 | 2700 | |
53474151 | Jeel_Vaishnav | F | April 28, 2019, 2:26 p.m. | OK | Java 8 | TESTS | 56 | 373 | 36454400 | 2700 | |
53909102 | zhishou | F | May 9, 2019, 2:38 p.m. | OK | Java 8 | TESTS | 56 | 374 | 38707200 | 2700 | |
53193795 | mikkk | F | April 23, 2019, 2:10 p.m. | OK | Java 8 | TESTS | 56 | 514 | 0 | 2700 | |
53475761 | __shangu__ | F | April 28, 2019, 3:25 p.m. | OK | Java 8 | TESTS | 56 | 904 | 36864000 | 2700 | |
53492325 | dalt | F | April 29, 2019, 9:31 a.m. | OK | Java 8 | TESTS | 56 | 1060 | 15872000 | 2700 |
Back to search problems