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 |
---|---|---|---|---|---|---|
1737 | Dytechlab Cup 2022 | FINISHED | False | 9000 | 72113063 | Oct. 7, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1932 ) | D | Ela and the Wiring Wizard | PROGRAMMING | graphs greedy shortest paths |
B"Ela needs to send a large package from machine 1 to machine n through a network of machines. Currently, with the network condition, she complains that the network is too slow and the package can't arrive in time. Luckily, a Wiring Wizard offered her a helping hand. The network can be represented as an undirected connected graph with n nodes, each node representing a machine. m wires are used to connect them. Wire i is used to connect machines u_i and v_i , and has a weight w_i . The aforementioned large package, if going through wire i , will move from machine u_i to machine v_i (or vice versa) in exactly w_i microseconds. The Wiring Wizard can use his spell an arbitrary number of times. For each spell, he will choose the wire of index i , connecting machine u_i and v_i , and rewire it following these steps: The rewiring of wire i will takes w_i microseconds, and the weight of the wire will not change after this operation. After a rewiring, a machine might have some wire connect it with itself. Also, the Wiring Wizard has warned Ela that rewiring might cause temporary disconnections between some machines, but Ela just ignores it anyway. Her mission is to send the large package from machine 1 to machine n as fast as possible. Note that the Wizard can use his spell on a wire zero, one, or many times. To make sure the network works seamlessly while transferring the large package, once the package starts transferring from machine 1 , the Wiring Wizard cannot use his spell to move wires around anymore. Ela wonders, with the help of the Wiring Wizard, what is the least amount of time needed to transfer the large package from machine 1 to n . Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 100 ). The description of the test cases follows. The first line contains n and "... |
Editorial of Dytechlab Cup 2022 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
175067530 | Tdyx | D | Oct. 8, 2022, 3:38 a.m. | OK | C# 8 | TESTS | 40 | 249 | 19456000 | ||
175023015 | KumaTachiRen | D | Oct. 7, 2022, 4:41 p.m. | OK | C# 8 | TESTS | 38 | 2667 | 9216000 | ||
175034462 | Gassa | D | Oct. 7, 2022, 5:44 p.m. | OK | D | TESTS | 39 | 2667 | 24576000 | ||
175027545 | fire-water | D | Oct. 7, 2022, 4:59 p.m. | OK | GNU C++14 | TESTS | 38 | 187 | 36147200 | ||
175027587 | Newusers | D | Oct. 7, 2022, 4:59 p.m. | OK | GNU C++14 | TESTS | 38 | 202 | 8192000 | ||
175026212 | yao11617 | D | Oct. 7, 2022, 4:54 p.m. | OK | GNU C++14 | TESTS | 38 | 234 | 4198400 | ||
175028378 | bnu20DT | D | Oct. 7, 2022, 5:01 p.m. | OK | GNU C++14 | TESTS | 38 | 343 | 7680000 | ||
175023480 | bntti | D | Oct. 7, 2022, 4:43 p.m. | OK | GNU C++14 | TESTS | 38 | 373 | 12697600 | ||
175023845 | _tth37 | D | Oct. 7, 2022, 4:45 p.m. | OK | GNU C++14 | TESTS | 38 | 421 | 9830400 | ||
175064409 | xsdjg | D | Oct. 8, 2022, 2:25 a.m. | OK | GNU C++14 | TESTS | 40 | 436 | 2150400 | ||
175016708 | bcofwy060 | D | Oct. 7, 2022, 4:18 p.m. | OK | GNU C++14 | TESTS | 38 | 467 | 2457600 | ||
175070028 | _goblin | D | Oct. 8, 2022, 4:26 a.m. | OK | GNU C++14 | TESTS | 40 | 467 | 34099200 | ||
175022929 | RUDENKO.ONE.LOVE | D | Oct. 7, 2022, 4:41 p.m. | OK | GNU C++14 | TESTS | 38 | 499 | 12800000 | ||
175025623 | sedev57 | D | Oct. 7, 2022, 4:52 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 2560000 | ||
175036200 | zgt2001 | D | Oct. 7, 2022, 5:57 p.m. | OK | GNU C++17 | TESTS | 39 | 140 | 7065600 | ||
175020306 | ooaa | D | Oct. 7, 2022, 4:31 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 7987200 | ||
175027002 | altgifted | D | Oct. 7, 2022, 4:57 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 8704000 | ||
175029062 | Kinon | D | Oct. 7, 2022, 5:03 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 13414400 | ||
175019979 | Radin_Zahedi | D | Oct. 7, 2022, 4:30 p.m. | OK | GNU C++17 | TESTS | 38 | 155 | 7168000 | ||
175050567 | ghoul932 | D | Oct. 7, 2022, 8:25 p.m. | OK | GNU C++17 | TESTS | 39 | 155 | 17408000 | ||
175019200 | Carpenters_Cat | D | Oct. 7, 2022, 4:27 p.m. | OK | GNU C++17 | TESTS | 38 | 187 | 5017600 | ||
175015782 | aa2985759 | D | Oct. 7, 2022, 4:15 p.m. | OK | GNU C++17 | TESTS | 38 | 187 | 5836800 | ||
175021116 | CSHwang | D | Oct. 7, 2022, 4:34 p.m. | OK | GNU C++17 | TESTS | 38 | 218 | 4300800 | ||
175028898 | Temmie | D | Oct. 7, 2022, 5:03 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 139 | 4710400 | ||
175046961 | bachpc | D | Oct. 7, 2022, 7:40 p.m. | OK | GNU C++17 (64) | TESTS | 39 | 171 | 5120000 | ||
175067763 | Sinocchi | D | Oct. 8, 2022, 3:43 a.m. | OK | GNU C++17 (64) | TESTS | 40 | 186 | 7782400 | ||
175063080 | Ac_love_QWQ | D | Oct. 8, 2022, 1:49 a.m. | OK | GNU C++17 (64) | TESTS | 40 | 202 | 10956800 | ||
175065097 | fgvjkshuifd | D | Oct. 8, 2022, 2:42 a.m. | OK | GNU C++17 (64) | TESTS | 40 | 217 | 6144000 | ||
175015677 | Rosed | D | Oct. 7, 2022, 4:14 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 218 | 10444800 | ||
175017274 | Kude | D | Oct. 7, 2022, 4:20 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 234 | 4096000 | ||
175025840 | Fyind | D | Oct. 7, 2022, 4:52 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 265 | 7372800 | ||
175016574 | Berted | D | Oct. 7, 2022, 4:17 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 280 | 6144000 | ||
175055960 | enslaved | D | Oct. 7, 2022, 10:03 p.m. | OK | GNU C++17 (64) | TESTS | 39 | 296 | 7577600 | ||
175072024 | _BottomCoder_ | D | Oct. 8, 2022, 4:56 a.m. | OK | GNU C++20 (64) | TESTS | 41 | 93 | 9011200 | ||
175063198 | _BottomCoder_ | D | Oct. 8, 2022, 1:53 a.m. | OK | GNU C++20 (64) | TESTS | 40 | 93 | 10956800 | ||
175061559 | _BottomCoder_ | D | Oct. 8, 2022, 12:59 a.m. | OK | GNU C++20 (64) | TESTS | 39 | 93 | 10956800 | ||
175070824 | _BottomCoder_ | D | Oct. 8, 2022, 4:39 a.m. | OK | GNU C++20 (64) | TESTS | 40 | 93 | 11878400 | ||
175061738 | emorgan5289 | D | Oct. 8, 2022, 1:05 a.m. | OK | GNU C++20 (64) | TESTS | 39 | 93 | 13926400 | ||
175027798 | daukah_ | D | Oct. 7, 2022, 4:59 p.m. | OK | GNU C++20 (64) | TESTS | 38 | 108 | 6963200 | ||
175044672 | OleschY | D | Oct. 7, 2022, 7:15 p.m. | OK | GNU C++20 (64) | TESTS | 39 | 108 | 10035200 | ||
175064149 | _BottomCoder_ | D | Oct. 8, 2022, 2:19 a.m. | OK | GNU C++20 (64) | TESTS | 40 | 109 | 10956800 | ||
175015094 | menborong | D | Oct. 7, 2022, 4:12 p.m. | OK | GNU C++20 (64) | TESTS | 38 | 109 | 18841600 | ||
175055692 | MridulAhi | D | Oct. 7, 2022, 9:56 p.m. | OK | GNU C++20 (64) | TESTS | 39 | 109 | 20480000 | ||
175048162 | megaspazz | D | Oct. 7, 2022, 7:54 p.m. | OK | Java 11 | TESTS | 39 | 623 | 3276800 | ||
175048109 | megaspazz | D | Oct. 7, 2022, 7:54 p.m. | OK | Java 11 | TESTS | 39 | 639 | 3174400 | ||
175048028 | megaspazz | D | Oct. 7, 2022, 7:53 p.m. | OK | Java 11 | TESTS | 39 | 873 | 3276800 | ||
175048360 | megaspazz | D | Oct. 7, 2022, 7:57 p.m. | OK | Java 11 | TESTS | 39 | 904 | 3276800 | ||
175046773 | megaspazz | D | Oct. 7, 2022, 7:38 p.m. | OK | Java 11 | TESTS | 39 | 1559 | 6758400 | ||
175075125 | __Serendipity | D | Oct. 8, 2022, 5:36 a.m. | OK | Java 11 | TESTS | 41 | 1887 | 0 | ||
175046752 | megaspazz | D | Oct. 7, 2022, 7:38 p.m. | OK | Java 11 | TESTS | 39 | 2136 | 6656000 | ||
175047255 | megaspazz | D | Oct. 7, 2022, 7:44 p.m. | OK | Java 11 | TESTS | 39 | 2355 | 6656000 | ||
175020394 | Dukkha | D | Oct. 7, 2022, 4:31 p.m. | OK | Java 17 | TESTS | 38 | 233 | 3276800 | ||
175050729 | megaspazz | D | Oct. 7, 2022, 8:27 p.m. | OK | Java 8 | TESTS | 39 | 951 | 0 | ||
175050323 | megaspazz | D | Oct. 7, 2022, 8:22 p.m. | OK | Java 8 | TESTS | 39 | 967 | 0 | ||
175049849 | megaspazz | D | Oct. 7, 2022, 8:16 p.m. | OK | Java 8 | TESTS | 39 | 982 | 0 | ||
175048824 | megaspazz | D | Oct. 7, 2022, 8:02 p.m. | OK | Java 8 | TESTS | 39 | 1216 | 4608000 | ||
175048905 | megaspazz | D | Oct. 7, 2022, 8:03 p.m. | OK | Java 8 | TESTS | 39 | 1263 | 4608000 | ||
175049518 | megaspazz | D | Oct. 7, 2022, 8:11 p.m. | OK | Java 8 | TESTS | 39 | 1294 | 4608000 | ||
175046605 | megaspazz | D | Oct. 7, 2022, 7:37 p.m. | OK | Java 8 | TESTS | 39 | 1481 | 4608000 | ||
175047435 | megaspazz | D | Oct. 7, 2022, 7:46 p.m. | OK | Java 8 | TESTS | 39 | 1497 | 4608000 | ||
175047864 | megaspazz | D | Oct. 7, 2022, 7:50 p.m. | OK | Java 8 | TESTS | 39 | 1528 | 4608000 | ||
175046353 | megaspazz | D | Oct. 7, 2022, 7:34 p.m. | OK | Java 8 | TESTS | 39 | 1528 | 4608000 | ||
175057586 | tarattata1 | D | Oct. 7, 2022, 10:48 p.m. | OK | MS C++ 2017 | TESTS | 39 | 702 | 6246400 | ||
175047619 | andreyDagger | D | Oct. 7, 2022, 7:48 p.m. | OK | MS C++ 2017 | TESTS | 39 | 1138 | 3993600 | ||
175051988 | MrPupsik | D | Oct. 7, 2022, 8:46 p.m. | OK | MS C++ 2017 | TESTS | 39 | 2121 | 6144000 | ||
175041543 | NecroSean38 | D | Oct. 7, 2022, 6:42 p.m. | OK | PyPy 3-64 | TESTS | 39 | 280 | 60620800 | ||
175062773 | sixthcore | D | Oct. 8, 2022, 1:40 a.m. | OK | PyPy 3-64 | TESTS | 39 | 1482 | 50790400 | ||
175057015 | hxu10 | D | Oct. 7, 2022, 10:31 p.m. | OK | PyPy 3-64 | TESTS | 39 | 2292 | 33177600 | ||
175017012 | chinerist | D | Oct. 7, 2022, 4:19 p.m. | OK | PyPy 3-64 | TESTS | 38 | 2901 | 42291200 | ||
175033170 | NecroSean38 | D | Oct. 7, 2022, 5:35 p.m. | OK | PyPy 3-64 | TESTS | 38 | 2947 | 48844800 | ||
175033404 | NecroSean38 | D | Oct. 7, 2022, 5:36 p.m. | OK | PyPy 3-64 | TESTS | 38 | 2979 | 47206400 | ||
175025853 | NecroSean38 | D | Oct. 7, 2022, 4:52 p.m. | OK | PyPy 3-64 | TESTS | 38 | 3244 | 49356800 | ||
175027855 | toam | D | Oct. 7, 2022, 5 p.m. | OK | PyPy 3-64 | TESTS | 38 | 3369 | 30720000 | ||
175021448 | r57shell | D | Oct. 7, 2022, 4:36 p.m. | OK | Python 3 | TESTS | 38 | 1076 | 36659200 |
Back to search problems