2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred)

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
1906 2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred) FINISHED False 18000 30245099 Dec. 3, 2023, 4:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 157 ) I Contingency Plan 2 PROGRAMMING

B'You are working as a manager in The ICPC Company. In the company building, there are N computers (numbered from 1 to N ). There are N - 1 cables, numbered from 1 to N - 1 , that connect all the computers into a single network. Cable i connects computer U_i and V_i . Each cable can be set into emergency mode, where cable i only transfers data from computer U_i to computer V_i , but not the other way around. During a disaster, it is mandatory for all cables to be in emergency mode. Through your research, you discover a new way to determine the vulnerability of a network. You want to add zero or more new cables to the current network such that it is not vulnerable during a disaster. Your network is not vulnerable if and only if there is exactly one permutation of 1 to N such that u appears before v in the permutation for all cables that connect computer u and v . In other words, it should have exactly one topological order. The following illustration shows examples of not vulnerable networks and vulnerable networks. For the not vulnerable networks, the only permutation that satisfies the requirement for the networks on the left and on the right are [1, 2, 3] and [3, 1, 2] , respectively. Meanwhile, for the vulnerable networks, there are 2 permutations that satisfy the requirement for the network on the left: [1, 2, 3] and [3, 1, 2] ; while there is no permutation that satisfies the requirement for the network on the right. You are interested in the minimum number of new cables that should be added to the current network such that it is not vulnerable during a disaster. Furthermore, you want to know, which pairs of computers should be connected by using the minimum number of cables. If there are several ways to connect, you can connect in any way of your choice. Under the given constraints, it can be proven that there exists a way '...

Tutorials

problem_analysis.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
235505654 lunilay2002 I Dec. 3, 2023, 10:31 a.m. OK GNU C++17 TESTS 43 109 9011200
235511535 Alpha_Q I Dec. 3, 2023, 11:23 a.m. OK GNU C++17 TESTS 43 139 16384000
235484941 gisp_zjz triple__a Roundgod I Dec. 3, 2023, 7:55 a.m. OK GNU C++17 TESTS 43 140 23961600
235617045 chappy1 I Dec. 3, 2023, 5:57 p.m. OK GNU C++17 (64) TESTS 43 234 32358400
235504291 grass8sheep I Dec. 3, 2023, 10:19 a.m. OK GNU C++17 (64) TESTS 43 234 32358400
235484030 grass8sheep qiuzx KbltQaQ I Dec. 3, 2023, 7:49 a.m. OK GNU C++17 (64) TESTS 43 234 32358400
235485330 Karuna arnold518 YeongTree I Dec. 3, 2023, 7:58 a.m. OK GNU C++17 (64) TESTS 43 265 98406400
235499855 vahagnharutyunyan999 I Dec. 3, 2023, 9:42 a.m. OK GNU C++20 (64) TESTS 43 78 22425600
235470960 ecnerwala ksun48 I Dec. 3, 2023, 6:01 a.m. OK GNU C++20 (64) TESTS 43 93 22425600
235495657 hieplpvip vinfat _SS I Dec. 3, 2023, 9:12 a.m. OK GNU C++20 (64) TESTS 43 108 19558400
235480055 cabbit Kuroni I Dec. 3, 2023, 7:21 a.m. OK GNU C++20 (64) TESTS 43 109 25600000
235559750 antekb natofp kobor I Dec. 3, 2023, 3:09 p.m. OK GNU C++20 (64) TESTS 43 155 30822400
235495970 EternalAlexander installb W4P3R I Dec. 3, 2023, 9:14 a.m. OK GNU C++20 (64) TESTS 43 171 142028800
235497221 negative1 User_Carrot N_z__ I Dec. 3, 2023, 9:23 a.m. OK GNU C++20 (64) TESTS 43 202 48537600
235479619 Kevin114514 Crying GeZhiyuan I Dec. 3, 2023, 7:17 a.m. OK GNU C++20 (64) TESTS 43 249 36864000

remove filters

Back to search problems