Dytechlab Cup 2022

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.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 959 ) E Ela Goes Hiking PROGRAMMING dp probabilities

B'Ela likes to go hiking a lot. She loves nature and exploring the various creatures it offers. One day, she saw a strange type of ant, with a cannibalistic feature. More specifically, an ant would eat any ants that it sees which is smaller than it.Curious about this feature from a new creature, Ela ain 't furious. She conducts a long, non-dubious, sentimental experiment. Curious about this feature from a new creature, Ela ain 't furious. She conducts a long, non-dubious, sentimental experiment. She puts n cannibalistic ants in a line on a long wooden stick. Initially, the ants have the same weight of 1 . The distance between any two consecutive ants is the same. The distance between the first ant in the line to the left end and the last ant in the line to the right end is also the same as the distance between the ants. Each ant starts moving towards the left-end or the right-end randomly and equiprobably, at the same constant pace throughout the experiment. Two ants will crash if they are standing next to each other in the line and moving in opposite directions, and ants will change direction immediately when they reach the end of the stick. Ela can 't determine the moving direction of each ant, but she understands very well their behavior when crashes happen. Please, check the example in the "Note" section, which will demonstrate the ants ' behavior as above. We can prove that after a definite amount of time, there will be only one last ant standing. Initially, each ant can randomly and equiprobably move to the left or the right, which generates 2^n different cases of initial movements for the whole pack. For each position in the line, calculate the probability that the ant begins in that position and survives. Output it modulo 10^9 + 7 . Formally, let M = 10^9 + 7 . It can be shown that the answer can be expressed as an irreducible fraction frac{p}{q} , where p and q are integers and q not equiv 0 pmod{M} .'...

Tutorials

Editorial of Dytechlab Cup 2022

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
175070168 Freedom__King E Oct. 8, 2022, 4:28 a.m. OK GNU C11 TESTS 92 312 16896000
175060482 Suffocating E Oct. 8, 2022, 12:23 a.m. OK GNU C++14 TESTS 92 124 20275200
175067192 aha_xjs E Oct. 8, 2022, 3:30 a.m. OK GNU C++14 TESTS 92 249 11980800
175025085 yogahmad77 E Oct. 7, 2022, 4:50 p.m. OK GNU C++14 TESTS 92 249 40038400
175062869 daydream. E Oct. 8, 2022, 1:42 a.m. OK GNU C++14 TESTS 92 264 24064000
175022602 smarthehe E Oct. 7, 2022, 4:40 p.m. OK GNU C++14 TESTS 92 280 11980800
175034149 yao11617 E Oct. 7, 2022, 5:41 p.m. OK GNU C++14 TESTS 92 280 12595200
175028818 wsyhb E Oct. 7, 2022, 5:03 p.m. OK GNU C++14 TESTS 92 280 20070400
175014866 __sleep E Oct. 7, 2022, 4:11 p.m. OK GNU C++14 TESTS 92 280 24064000
175015307 Chinese_zjc_ E Oct. 7, 2022, 4:13 p.m. OK GNU C++14 TESTS 92 296 16076800
175031101 applese E Oct. 7, 2022, 5:24 p.m. OK GNU C++14 TESTS 92 296 20070400
175058912 sg0071729 E Oct. 7, 2022, 11:25 p.m. OK GNU C++17 TESTS 92 233 7987200
175040691 patou E Oct. 7, 2022, 6:34 p.m. OK GNU C++17 TESTS 92 234 7987200
175031892 parsadox E Oct. 7, 2022, 5:28 p.m. OK GNU C++17 TESTS 92 249 7987200
175021838 TeaPot E Oct. 7, 2022, 4:37 p.m. OK GNU C++17 TESTS 92 265 11980800
175020542 SkqLiiiao E Oct. 7, 2022, 4:32 p.m. OK GNU C++17 TESTS 92 265 11980800
175019415 UESTC_All_Accpted E Oct. 7, 2022, 4:28 p.m. OK GNU C++17 TESTS 92 265 11980800
175062875 NusGhy E Oct. 8, 2022, 1:43 a.m. OK GNU C++17 TESTS 92 265 11980800
175063064 yyyz04 E Oct. 8, 2022, 1:49 a.m. OK GNU C++17 TESTS 92 280 20070400
175058545 sg0071729 E Oct. 7, 2022, 11:13 p.m. OK GNU C++17 TESTS 92 280 24064000
175032131 sg0071729 E Oct. 7, 2022, 5:29 p.m. OK GNU C++17 TESTS 92 295 24064000
175066690 Freedom__King E Oct. 8, 2022, 3:18 a.m. OK GNU C++17 (64) TESTS 92 93 16588800
175026123 tuxiaoxiao E Oct. 7, 2022, 4:53 p.m. OK GNU C++17 (64) TESTS 92 171 20070400
175018956 lqx2005 E Oct. 7, 2022, 4:26 p.m. OK GNU C++17 (64) TESTS 92 186 7987200
175016774 yosupo E Oct. 7, 2022, 4:18 p.m. OK GNU C++17 (64) TESTS 92 202 4096000
175061214 enslaved E Oct. 8, 2022, 12:49 a.m. OK GNU C++17 (64) TESTS 92 202 16076800
175028581 I_LOVE_DASHA_KARPENKO E Oct. 7, 2022, 5:02 p.m. OK GNU C++17 (64) TESTS 92 202 24064000
175040411 6aren E Oct. 7, 2022, 6:32 p.m. OK GNU C++17 (64) TESTS 92 217 11980800
175017678 Xylenox E Oct. 7, 2022, 4:21 p.m. OK GNU C++17 (64) TESTS 92 218 7987200
175023647 tsukiko_tsutsukakushi E Oct. 7, 2022, 4:44 p.m. OK GNU C++17 (64) TESTS 92 218 10035200
175021868 MAOooOAM E Oct. 7, 2022, 4:37 p.m. OK GNU C++17 (64) TESTS 92 218 12083200
175023174 flowerletter E Oct. 7, 2022, 4:42 p.m. OK GNU C++20 (64) TESTS 92 140 7987200
175031086 brunovsky E Oct. 7, 2022, 5:24 p.m. OK GNU C++20 (64) TESTS 92 140 7987200
175023468 radal E Oct. 7, 2022, 4:43 p.m. OK GNU C++20 (64) TESTS 92 140 12083200
175064784 TheSelfEatingPizza E Oct. 8, 2022, 2:35 a.m. OK GNU C++20 (64) TESTS 92 140 12083200
175024761 BalintR E Oct. 7, 2022, 4:48 p.m. OK GNU C++20 (64) TESTS 92 140 16076800
175075199 flukehn E Oct. 8, 2022, 5:37 a.m. OK GNU C++20 (64) TESTS 92 140 16076800
175025206 Qingyu E Oct. 7, 2022, 4:50 p.m. OK GNU C++20 (64) TESTS 92 155 7987200
175023841 Bench0310 E Oct. 7, 2022, 4:45 p.m. OK GNU C++20 (64) TESTS 92 155 11980800
175017834 Chenyu_Qiu E Oct. 7, 2022, 4:22 p.m. OK GNU C++20 (64) TESTS 92 155 11980800
175043036 mhq E Oct. 7, 2022, 6:57 p.m. OK GNU C++20 (64) TESTS 92 155 12083200
175028240 eatmore E Oct. 7, 2022, 5:01 p.m. OK Java 11 TESTS 92 795 0
175060494 hxu10 E Oct. 8, 2022, 12:23 a.m. OK PyPy 3 TESTS 92 2448 118579200
175068149 xxh1999 E Oct. 8, 2022, 3:51 a.m. OK PyPy 3-64 TESTS 92 420 55705600
175020086 asdsasd E Oct. 7, 2022, 4:30 p.m. OK PyPy 3-64 TESTS 92 514 79462400
175022397 chinerist E Oct. 7, 2022, 4:39 p.m. OK PyPy 3-64 TESTS 92 577 36864000
175027032 dyppp E Oct. 7, 2022, 4:57 p.m. OK PyPy 3-64 TESTS 92 655 52940800
175028912 duck702702 E Oct. 7, 2022, 5:03 p.m. OK PyPy 3-64 TESTS 92 904 122675200
175031443 1_2_3_4_5_9 E Oct. 7, 2022, 5:25 p.m. OK PyPy 3-64 TESTS 92 920 61440000
175027210 H-1 E Oct. 7, 2022, 4:57 p.m. OK PyPy 3-64 TESTS 92 920 61440000
175029291 shobonvip E Oct. 7, 2022, 5:04 p.m. OK PyPy 3-64 TESTS 92 1325 73728000
175060480 hxu10 E Oct. 8, 2022, 12:23 a.m. OK PyPy 3-64 TESTS 92 2090 42496000
175023949 sansen E Oct. 7, 2022, 4:45 p.m. OK Rust 2021 TESTS 92 140 24064000
175028692 qwerty787788 E Oct. 7, 2022, 5:02 p.m. OK Rust 2021 TESTS 92 701 24064000

remove filters

Back to search problems