2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, 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
1252 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 165292187 Oct. 27, 2019, 3:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 595 ) L Road Construction PROGRAMMING flows graphs 2600

B'There are N cities in the country of Numbata, numbered from 1 to N . Currently, there is no road connecting them. Therefore, each of these N cities proposes a road candidate to be constructed. City i likes to connect with city A_i , so city i proposes to add a direct bidirectional road connecting city i and city A_i . It is guaranteed that no two cities like to connect with each other. In other words, there is no pair of integers i and j where A_i = j and A_j = i . It is also guaranteed that any pair of cities are connected by a sequence of road proposals. In other words, if all proposed roads are constructed, then any pair of cities are connected by a sequence of constructed road. City i also prefers the road to be constructed using a specific material. Each material can be represented by an integer (for example, 0 for asphalt, 1 for wood, etc.). The material that can be used for the road connecting city i and city A_i is represented by an array B_i containing M_i integers: [(B_i)_1, (B_i)_2, ... , (B_i)_{M_i}] . This means that the road connecting city i and city A_i can be constructed with either of the material in B_i . There are K workers to construct the roads. Each worker is only familiar with one material, thus can only construct a road with a specific material. In particular, the i^{th} worker can only construct a road with material C_i . Each worker can only construct at most one road. You want to assign each worker to construct a road such that any pair of cities are connected by a sequence of constructed road. Input begins with a line containing two integers: N K ( 3 <= N <= 2000 ; 1 <= K <= 2000 ) representing the number of cities and the number of workers, respectively. The next N lines each contains several integers: A_i M_i (B_i)_1 , (B_'...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
64788167 tiger0132 L Nov. 13, 2019, 10:01 a.m. OK Clang++17 Diagnostics TESTS 91 171 175001600 2600
64154891 vjudge5 L Nov. 3, 2019, 12:31 p.m. OK GNU C++11 TESTS 91 31 921600 2600
64141511 8300590 FrostStar liyang21 L Nov. 3, 2019, 8:41 a.m. OK GNU C++11 TESTS 91 31 1331200 2600
66681160 ToMmyDong L Dec. 12, 2019, 1:09 p.m. OK GNU C++11 TESTS 91 31 1945600 2600
63564026 Prabowo L Oct. 27, 2019, 3:15 p.m. OK GNU C++11 TESTS 91 31 2048000 2600
64358888 myx12345 L Nov. 6, 2019, 11:10 a.m. OK GNU C++11 TESTS 91 31 16281600 2600
69765595 __stdcall L Jan. 29, 2020, 3:46 p.m. OK GNU C++11 TESTS 91 31 64921600 2600
64154807 qkoqhh L Nov. 3, 2019, 12:29 p.m. OK GNU C++11 TESTS 91 46 921600 2600
64193912 Flarnire L Nov. 4, 2019, 8:53 a.m. OK GNU C++11 TESTS 91 46 1945600 2600
64864482 bqq L Nov. 14, 2019, 5:21 a.m. OK GNU C++11 TESTS 91 46 2457600 2600
64143568 1234567891 dsvkljd yrz L Nov. 3, 2019, 9:12 a.m. OK GNU C++11 TESTS 91 46 2662400 2600
64683687 NoTeamName L Nov. 11, 2019, 11:02 a.m. OK GNU C++14 TESTS 91 31 1024000 2600
63522784 ecnerwala scott_wu L Oct. 27, 2019, 4:19 a.m. OK GNU C++14 TESTS 91 31 1536000 2600
63960189 ae04071 L Nov. 1, 2019, 4:44 a.m. OK GNU C++14 TESTS 91 31 1843200 2600
63642922 chenkuowen L Oct. 28, 2019, 8:42 a.m. OK GNU C++14 TESTS 91 31 3276800 2600
63530635 dai chemthan L Oct. 27, 2019, 6:37 a.m. OK GNU C++14 TESTS 91 31 17305600 2600
63687347 Scut82 L Oct. 28, 2019, 11:40 p.m. OK GNU C++14 TESTS 91 31 197120000 2600
63533092 Amoo_Safar SHOToRSAVARE_KAZEMSHAHR Vahm L Oct. 27, 2019, 7:17 a.m. OK GNU C++14 TESTS 91 46 716800 2600
63533048 NIKITATAKANORA L Oct. 27, 2019, 7:16 a.m. OK GNU C++14 TESTS 91 46 716800 2600
63766103 vjudge1 L Oct. 30, 2019, 6:16 a.m. OK GNU C++14 TESTS 91 46 1638400 2600
63630780 hitonanode L Oct. 28, 2019, 6:17 a.m. OK GNU C++14 TESTS 91 46 1638400 2600
68396496 jiangly L Jan. 8, 2020, 11:17 a.m. OK GNU C++17 TESTS 91 31 1536000 2600
64071108 mahdi.hasnat L Nov. 2, 2019, 7:25 a.m. OK GNU C++17 TESTS 91 31 1740800 2600
63734988 saketh L Oct. 29, 2019, 3:04 p.m. OK GNU C++17 TESTS 91 31 2048000 2600
68682436 ericxu0 L Jan. 13, 2020, 12:08 a.m. OK GNU C++17 TESTS 91 31 2252800 2600
63625386 SoulTch L Oct. 28, 2019, 3:17 a.m. OK GNU C++17 TESTS 91 31 2457600 2600
65415797 interestingLSY L Nov. 20, 2019, 6:49 a.m. OK GNU C++17 TESTS 91 31 3686400 2600
63530467 Lily desprado2 handsomeIvan L Oct. 27, 2019, 6:34 a.m. OK GNU C++17 TESTS 91 31 53248000 2600
66082194 krijgertje L Dec. 1, 2019, 1:07 a.m. OK GNU C++17 TESTS 91 46 819200 2600
64712833 Round_Dice L Nov. 11, 2019, 7:42 p.m. OK GNU C++17 TESTS 91 46 921600 2600
64517374 tlwpdus molamola. L Nov. 8, 2019, 11:12 a.m. OK GNU C++17 TESTS 91 46 1433600 2600
63528882 I_love_simplespy Suzukaze yhchang3 L Oct. 27, 2019, 6:07 a.m. OK Java 8 TESTS 91 233 0 2600
65802394 dalt L Nov. 27, 2019, 8:04 a.m. OK Java 8 TESTS 91 233 20172800 2600
63660318 aminul L Oct. 28, 2019, 1:52 p.m. OK Java 8 TESTS 91 343 231526400 2600
63657466 aminul L Oct. 28, 2019, 1:07 p.m. OK Java 8 TESTS 91 358 231936000 2600
65802131 dalt L Nov. 27, 2019, 7:57 a.m. OK Java 8 TESTS 91 1045 24371200 2600

remove filters

Back to search problems