Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2)

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
1609 Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) FINISHED False 9000 99156263 Nov. 28, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7439 ) D Social Network PROGRAMMING ds graphs greedy implementation trees 1600

B"William arrived at a conference dedicated to cryptocurrencies. Networking, meeting new people, and using friends' connections are essential to stay up to date with the latest news from the world of cryptocurrencies. The conference has n participants, who are initially unfamiliar with each other. William can introduce any two people, a and b , who were not familiar before, to each other. William has d conditions, i 'th of which requires person x_i to have a connection to person y_i . Formally, two people x and y have a connection if there is such a chain p_1=x, p_2, p_3, ... , p_k=y for which for all i from 1 to k - 1 it's true that two people with numbers p_i and p_{i + 1} know each other. For every i ( 1 <= i <= d ) William wants you to calculate the maximal number of acquaintances one person can have, assuming that William satisfied all conditions from 1 and up to and including i and performed exactly i introductions. The conditions are being checked after William performed i introductions. The answer for each i must be calculated independently. It means that when you compute an answer for i , you should assume that no two people have been introduced to each other yet. The first line contains two integers n and d ( 2 <= n <= 10^3, 1 <= d <= n - 1 ), the number of people, and number of conditions, respectively. Each of the next d lines each contain two integers x_i and y_i ( 1 <= x_i, y_i <= n, x_i neq y_i ), the numbers of people which must have a connection according to condition i . Output d integers. i th number must equal the number of acquaintances the person with the maximal possible acquaintances will have, if William performed i introductions and satisfied the first i conditions. The explanation for the first test case: In this explanation, "...

Tutorials

Deltix Round, Autumn 2021. Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
137276523 ssvb D Nov. 28, 2021, 7:11 p.m. OK D TESTS 37 31 6144000 1600
137285232 ssvb D Nov. 28, 2021, 11:22 p.m. OK D TESTS 37 280 6144000 1600
137260561 Mrgglock D Nov. 28, 2021, 4:33 p.m. OK GNU C11 TESTS 37 46 204800 1600
137270205 Mrgglock D Nov. 28, 2021, 5:40 p.m. OK GNU C11 TESTS 37 46 204800 1600
137257440 shengtongtong D Nov. 28, 2021, 4:19 p.m. OK GNU C++14 TESTS 37 15 0 1600
137259242 ROBINL D Nov. 28, 2021, 4:27 p.m. OK GNU C++14 TESTS 37 15 0 1600
137258845 hsrb D Nov. 28, 2021, 4:25 p.m. OK GNU C++14 TESTS 37 15 0 1600
137253649 abstract1 D Nov. 28, 2021, 4:03 p.m. OK GNU C++14 TESTS 37 15 0 1600
137264860 ProgrammatorZihad D Nov. 28, 2021, 4:54 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137277624 Kaneki-kun D Nov. 28, 2021, 7:34 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137269886 nhalq D Nov. 28, 2021, 5:37 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137269408 betao D Nov. 28, 2021, 5:34 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137266813 dhana_sekar D Nov. 28, 2021, 5:02 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137264324 Irene D Nov. 28, 2021, 4:51 p.m. OK GNU C++14 TESTS 37 15 204800 1600
137257165 arpan491 D Nov. 28, 2021, 4:18 p.m. OK GNU C++17 TESTS 37 15 0 1600
137286198 JavierN D Nov. 29, 2021, 12:16 a.m. OK GNU C++17 TESTS 37 15 0 1600
137265520 Short_Bit D Nov. 28, 2021, 4:57 p.m. OK GNU C++17 TESTS 37 15 0 1600
137281643 AdOjis485 D Nov. 28, 2021, 9:10 p.m. OK GNU C++17 TESTS 37 15 102400 1600
137287347 xxafhixx D Nov. 29, 2021, 1:14 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137309859 Ujjwalkool D Nov. 29, 2021, 5:02 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137297196 Murtaza1112 D Nov. 29, 2021, 4:44 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137290579 _FireGhost_ D Nov. 29, 2021, 3:10 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137289407 knatwila D Nov. 29, 2021, 2:34 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137286687 m0fum0fu D Nov. 29, 2021, 12:41 a.m. OK GNU C++17 TESTS 37 15 204800 1600
137258138 forceac D Nov. 28, 2021, 4:22 p.m. OK GNU C++17 (64) TESTS 37 15 0 1600
137264413 korokseeds D Nov. 28, 2021, 4:52 p.m. OK GNU C++17 (64) TESTS 37 15 0 1600
137267018 rajurly D Nov. 28, 2021, 5:03 p.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137298852 JaxYoung D Nov. 29, 2021, 4:45 a.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137292555 shekabhi1208 D Nov. 29, 2021, 4:08 a.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137291113 ArtemL D Nov. 29, 2021, 3:26 a.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137282216 Evang D Nov. 28, 2021, 9:28 p.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137280042 emorgan5289 D Nov. 28, 2021, 8:28 p.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137279618 hackerbhaiya D Nov. 28, 2021, 8:18 p.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137271634 Capitan D Nov. 28, 2021, 5:55 p.m. OK GNU C++17 (64) TESTS 37 15 102400 1600
137261703 HarshKumar D Nov. 28, 2021, 4:38 p.m. OK GNU C++20 (64) TESTS 37 15 0 1600
137259664 SHU_DD D Nov. 28, 2021, 4:29 p.m. OK GNU C++20 (64) TESTS 37 15 0 1600
137266478 megurine D Nov. 28, 2021, 5:01 p.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137312651 Foundnt_Alice D Nov. 29, 2021, 5:52 a.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137312136 ojha_abhi D Nov. 29, 2021, 5:44 a.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137291020 foammm D Nov. 29, 2021, 3:23 a.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137281888 TabulaRasa7 D Nov. 28, 2021, 9:18 p.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137275886 robosapien D Nov. 28, 2021, 6:58 p.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137275228 jtrh D Nov. 28, 2021, 6:48 p.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137264856 sklamba D Nov. 28, 2021, 4:54 p.m. OK GNU C++20 (64) TESTS 37 15 102400 1600
137261664 clyring D Nov. 28, 2021, 4:38 p.m. OK Haskell TESTS 37 187 0 1600
137283010 long2142453426 D Nov. 28, 2021, 9:56 p.m. OK Java 11 TESTS 37 217 0 1600
137254706 martins D Nov. 28, 2021, 4:07 p.m. OK Java 11 TESTS 37 218 0 1600
137263144 CCS_Covenant D Nov. 28, 2021, 4:46 p.m. OK Java 11 TESTS 37 233 0 1600
137262525 nitin23329 D Nov. 28, 2021, 4:43 p.m. OK Java 11 TESTS 37 234 0 1600
137257808 kevinl2005 D Nov. 28, 2021, 4:21 p.m. OK Java 11 TESTS 37 248 0 1600
137280450 dzhi D Nov. 28, 2021, 8:38 p.m. OK Java 11 TESTS 37 264 0 1600
137280963 _Body D Nov. 28, 2021, 8:50 p.m. OK Java 11 TESTS 37 264 0 1600
137269064 kamranm D Nov. 28, 2021, 5:32 p.m. OK Java 11 TESTS 37 265 0 1600
137280594 _Body D Nov. 28, 2021, 8:41 p.m. OK Java 11 TESTS 37 265 0 1600
137268930 zoro_hiyori D Nov. 28, 2021, 5:32 p.m. OK Java 11 TESTS 37 265 0 1600
137262177 TriumphantEggplant D Nov. 28, 2021, 4:41 p.m. OK Java 8 TESTS 37 109 0 1600
137257451 thedesalizes D Nov. 28, 2021, 4:19 p.m. OK Java 8 TESTS 37 109 0 1600
137262368 fnch D Nov. 28, 2021, 4:42 p.m. OK Java 8 TESTS 37 124 0 1600
137274808 pribic D Nov. 28, 2021, 6:40 p.m. OK Java 8 TESTS 37 139 0 1600
137274728 pribic D Nov. 28, 2021, 6:39 p.m. OK Java 8 TESTS 37 140 0 1600
137274649 pribic D Nov. 28, 2021, 6:38 p.m. OK Java 8 TESTS 37 155 0 1600
137274502 pribic D Nov. 28, 2021, 6:36 p.m. OK Java 8 TESTS 37 156 0 1600
137258546 NatInTheHat D Nov. 28, 2021, 4:24 p.m. OK Java 8 TESTS 37 171 0 1600
137254606 2020akadaver D Nov. 28, 2021, 4:07 p.m. OK Java 8 TESTS 37 171 0 1600
137278849 ruchir28 D Nov. 28, 2021, 8:01 p.m. OK Java 8 TESTS 37 187 0 1600
137262161 ostroumov D Nov. 28, 2021, 4:41 p.m. OK Kotlin 1.4 TESTS 37 311 1638400 1600
137264508 elizarov D Nov. 28, 2021, 4:52 p.m. OK Kotlin 1.5 TESTS 37 265 0 1600
137262056 catcatcute D Nov. 28, 2021, 4:40 p.m. OK Kotlin 1.5 TESTS 37 1029 0 1600
137253658 forest D Nov. 28, 2021, 4:03 p.m. OK MS C++ 2017 TESTS 37 31 0 1600
137290395 charleswang2001 D Nov. 29, 2021, 3:04 a.m. OK MS C++ 2017 TESTS 37 31 102400 1600
137285221 nikuradze2006 D Nov. 28, 2021, 11:21 p.m. OK MS C++ 2017 TESTS 37 46 0 1600
137257953 AllDirections D Nov. 28, 2021, 4:21 p.m. OK MS C++ 2017 TESTS 37 46 0 1600
137261177 Tangerine D Nov. 28, 2021, 4:36 p.m. OK MS C++ 2017 TESTS 37 46 8294400 1600
137263903 miniL D Nov. 28, 2021, 4:49 p.m. OK MS C++ 2017 TESTS 37 62 307200 1600
137256652 Eldies D Nov. 28, 2021, 4:16 p.m. OK MS C++ 2017 TESTS 37 109 0 1600
137252280 dino_merlin D Nov. 28, 2021, 3:58 p.m. OK MS C++ 2017 TESTS 37 171 102400 1600
137254659 Andybar D Nov. 28, 2021, 4:07 p.m. OK .NET Core C# TESTS 37 108 1331200 1600
137254682 avtoruxadze D Nov. 28, 2021, 4:07 p.m. OK .NET Core C# TESTS 37 139 4915200 1600
137273173 NorbertG D Nov. 28, 2021, 6:16 p.m. OK .NET Core C# TESTS 37 171 6451200 1600
137271966 OLOGY D Nov. 28, 2021, 5:59 p.m. OK PyPy 2 TESTS 37 108 2355200 1600
137285618 OLOGY D Nov. 28, 2021, 11:43 p.m. OK PyPy 2 TESTS 37 140 3891200 1600
137253575 OlavBakken D Nov. 28, 2021, 4:03 p.m. OK PyPy 2 TESTS 37 140 4300800 1600
137261607 sushmanth.dampur8780 D Nov. 28, 2021, 4:38 p.m. OK PyPy 3 TESTS 37 124 3174400 1600
137264119 myotra D Nov. 28, 2021, 4:50 p.m. OK PyPy 3 TESTS 37 124 3788800 1600
137254965 runnie D Nov. 28, 2021, 4:08 p.m. OK PyPy 3 TESTS 37 155 4403200 1600
137262607 hritik3878 D Nov. 28, 2021, 4:43 p.m. OK PyPy 3 TESTS 37 171 3788800 1600
137282885 armsusman D Nov. 28, 2021, 9:52 p.m. OK PyPy 3 TESTS 37 233 6860800 1600
137262365 cloak D Nov. 28, 2021, 4:42 p.m. OK PyPy 3 TESTS 37 234 3276800 1600
137260650 BingHa D Nov. 28, 2021, 4:33 p.m. OK PyPy 3 TESTS 37 249 5632000 1600
137258301 9.86960440109 D Nov. 28, 2021, 4:23 p.m. OK PyPy 3 TESTS 37 249 6963200 1600
137261147 KuzlyaevNikita D Nov. 28, 2021, 4:36 p.m. OK PyPy 3 TESTS 37 327 10035200 1600
137274107 Believer_Ayush D Nov. 28, 2021, 6:30 p.m. OK PyPy 3 TESTS 37 436 10240000 1600
137292218 bjy D Nov. 29, 2021, 3:59 a.m. OK PyPy 3-64 TESTS 37 124 4710400 1600
137255160 KA_Rma D Nov. 28, 2021, 4:09 p.m. OK PyPy 3-64 TESTS 37 171 16076800 1600
137271291 Spacelessd D Nov. 28, 2021, 5:51 p.m. OK PyPy 3-64 TESTS 37 202 9011200 1600
137252352 eepsilon D Nov. 28, 2021, 3:59 p.m. OK PyPy 3-64 TESTS 37 202 10035200 1600
137264172 Sangram_Jagadale D Nov. 28, 2021, 4:51 p.m. OK PyPy 3-64 TESTS 37 218 9523200 1600
137271786 sanbada79 D Nov. 28, 2021, 5:57 p.m. OK PyPy 3-64 TESTS 37 233 10240000 1600
137276464 lemiao12 D Nov. 28, 2021, 7:09 p.m. OK PyPy 3-64 TESTS 37 233 10956800 1600
137259609 shehebe D Nov. 28, 2021, 4:29 p.m. OK PyPy 3-64 TESTS 37 234 11468800 1600
137269797 sarthak_bharadwaj_ D Nov. 28, 2021, 5:37 p.m. OK PyPy 3-64 TESTS 37 249 12595200 1600
137261371 lemiao12 D Nov. 28, 2021, 4:37 p.m. OK PyPy 3-64 TESTS 37 265 10956800 1600
137286008 OLOGY D Nov. 29, 2021, 12:05 a.m. OK Python 2 TESTS 37 61 716800 1600
137286145 OLOGY D Nov. 29, 2021, 12:12 a.m. OK Python 2 TESTS 37 62 409600 1600
137285625 OLOGY D Nov. 28, 2021, 11:43 p.m. OK Python 2 TESTS 37 77 614400 1600
137274306 OLOGY D Nov. 28, 2021, 6:33 p.m. OK Python 2 TESTS 37 530 512000 1600
137271981 OLOGY D Nov. 28, 2021, 6 p.m. OK Python 2 TESTS 37 561 409600 1600
137276336 OLOGY D Nov. 28, 2021, 7:07 p.m. OK Python 2 TESTS 37 826 716800 1600
137276388 OLOGY D Nov. 28, 2021, 7:08 p.m. OK Python 2 TESTS 37 857 921600 1600
137288252 Avanta D Nov. 29, 2021, 1:52 a.m. OK Rust TESTS 37 31 409600 1600
137288090 Avanta D Nov. 29, 2021, 1:45 a.m. OK Rust TESTS 37 31 409600 1600
137285454 noogler D Nov. 28, 2021, 11:33 p.m. OK Rust TESTS 37 62 614400 1600
137261186 rustafari D Nov. 28, 2021, 4:36 p.m. OK Rust TESTS 37 124 204800 1600

remove filters

Back to search problems