2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, 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
1425 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 136170011 Sept. 27, 2020, 5 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 295 ) B Blue and Red of Our Faculty! PROGRAMMING dp 2600

B"It's our faculty's 34th anniversary! To celebrate this great event, the Faculty of Computer Science, University of Indonesia (Fasilkom), held CPC - Coloring Pavements Competition. The gist of CPC is two players color the predetermined routes of Fasilkom in Blue and Red. There are N Checkpoints and M undirected predetermined routes. Routes i connects checkpoint U_i and V_i , for (1 <= i <= M) . It is guaranteed that any pair of checkpoints are connected by using one or more routes. The rules of CPC is as follows: Chaneka is interested in participating. However, she does not want to waste much energy. So, She is only interested in the number of final configurations of the routes after each round. Turns out, counting this is also exhausting, so Chaneka asks you to figure this out! Two final configurations are considered different if there is a route U in a different color in the two configurations. The first line contains two integers N and M . N (2 <= N <= 2 cdot 10^3) denotes the number of checkpoints, M (1 <= M <= 2 cdot N) denotes the number of routes. It is guaranteed that every checkpoint except checkpoint 1 has exactly two routes connecting it. The next M lines each contains two integers U_i and V_i (1 <= U_i, V_i <= N, U_i ne V_i) , which denotes the checkpoint that route i connects. It is guaranteed that for every pair of checkpoints, there exists a path connecting them directly or indirectly using the routes. Output a single integer which denotes the number of final configurations after each round of CPC modulo 10^9 + 7 Every possible final configuration for the example is listed below: The blue-colored numbers give the series of moves Blue took, and the red-colored numbers give the series of moves Red took. "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
93960388 zzq_IOI2019_AK B Sept. 27, 2020, 1:26 p.m. OK GNU C++11 TESTS 27 93 307200 2600
93940155 Stelutzu alexandra_udristoiu Usu B Sept. 27, 2020, 9:05 a.m. OK GNU C++11 TESTS 27 202 64512000 2600
93932253 Zarxdy34 gyz_gyz DeaphetS B Sept. 27, 2020, 7:30 a.m. OK GNU C++11 TESTS 27 280 3379200 2600
93929619 201465 chenkuowen superjj B Sept. 27, 2020, 6:59 a.m. OK GNU C++11 TESTS 27 280 194457600 2600
93936226 zld3794955 B Sept. 27, 2020, 8:19 a.m. OK GNU C++11 TESTS 27 295 65536000 2600
93944146 Conical B Sept. 27, 2020, 9:52 a.m. OK GNU C++11 TESTS 27 295 259276800 2600
94047856 sh1194 B Sept. 28, 2020, 4:43 a.m. OK GNU C++11 TESTS 27 296 3379200 2600
94047751 sh1194 B Sept. 28, 2020, 4:40 a.m. OK GNU C++11 TESTS 27 311 3379200 2600
93939563 Yukikaze_ Fuyuki xzx34 B Sept. 27, 2020, 8:59 a.m. OK GNU C++11 TESTS 27 311 129433600 2600
93931313 wucstdio B Sept. 27, 2020, 7:19 a.m. OK GNU C++11 TESTS 27 343 128614400 2600
93938163 ILLLZKQF K0u1e zarathu B Sept. 27, 2020, 8:42 a.m. OK GNU C++14 TESTS 27 233 261939200 2600
93928996 LJC00118 xay5421 Sooke B Sept. 27, 2020, 6:51 a.m. OK GNU C++14 TESTS 27 483 204800 2600
93942741 imp0stor B Sept. 27, 2020, 9:35 a.m. OK GNU C++14 TESTS 27 623 193433600 2600
93942687 shirakami.rin B Sept. 27, 2020, 9:34 a.m. OK GNU C++14 TESTS 27 841 257024000 2600
93933735 jhhope1 imeimi TAMREF B Sept. 27, 2020, 7:49 a.m. OK GNU C++17 TESTS 27 249 129024000 2600
93937162 erogame lubaluba MAOoo B Sept. 27, 2020, 8:30 a.m. OK GNU C++17 TESTS 27 295 134758400 2600
94048270 heno239 B Sept. 28, 2020, 4:51 a.m. OK GNU C++17 TESTS 27 358 2457600 2600
93924110 MiricaMatei AlexLuchianov Gioto B Sept. 27, 2020, 5:56 a.m. OK GNU C++17 TESTS 27 389 128614400 2600
93932350 theodor.moroianu freak93 retrograd B Sept. 27, 2020, 7:32 a.m. OK GNU C++17 TESTS 27 404 128819200 2600
93944535 BanFcc Kilo_5723 2014CAIS01 B Sept. 27, 2020, 9:56 a.m. OK GNU C++17 TESTS 27 607 64716800 2600
93930810 ChthollyNotaSeniorious leukocyte 9baka_Cirno B Sept. 27, 2020, 7:13 a.m. OK GNU C++17 TESTS 27 795 1126400 2600
93953242 vipjml B Sept. 27, 2020, 11:57 a.m. OK GNU C++17 TESTS 27 1232 257536000 2600
94023847 Ace_02 B Sept. 27, 2020, 6:02 p.m. OK GNU C++17 TESTS 27 1279 257433600 2600
93942559 QAQAutoMaton B Sept. 27, 2020, 9:33 a.m. OK GNU C++17 (64) TESTS 27 77 4505600 2600
93935567 PinkRabbit B Sept. 27, 2020, 8:11 a.m. OK GNU C++17 (64) TESTS 27 124 409600 2600
93943434 Alpha_Q sajibreadd s_h_shahin B Sept. 27, 2020, 9:44 a.m. OK GNU C++17 (64) TESTS 27 155 129740800 2600
93936607 Heltion B Sept. 27, 2020, 8:24 a.m. OK GNU C++17 (64) TESTS 27 156 409600 2600
93928702 jiangly B Sept. 27, 2020, 6:48 a.m. OK GNU C++17 (64) TESTS 27 187 307200 2600
93947164 memset0c B Sept. 27, 2020, 10:32 a.m. OK GNU C++17 (64) TESTS 27 265 409600 2600
93927352 wasa855 Frame233 memset0c B Sept. 27, 2020, 6:32 a.m. OK GNU C++17 (64) TESTS 27 265 409600 2600
93947312 vjudge1 B Sept. 27, 2020, 10:35 a.m. OK GNU C++17 (64) TESTS 27 280 409600 2600
93943746 Tiramister okura enjapma B Sept. 27, 2020, 9:47 a.m. OK GNU C++17 (64) TESTS 27 280 129536000 2600
93963456 compute B Sept. 27, 2020, 2:04 p.m. OK GNU C++17 (64) TESTS 27 358 512000 2600
93940119 tatyam riantkb idsigma B Sept. 27, 2020, 9:05 a.m. OK Mono C# TESTS 27 1668 184832000 2600

remove filters

Back to search problems