Technocup 2022 - Elimination Round 3

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
1585 Technocup 2022 - Elimination Round 3 FINISHED False 7200 92501099 Dec. 12, 2021, 3:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15208 ) B Array Eversion PROGRAMMING greedy

B"You are given an array a of length n . Let's define the eversion operation. Let x = a_n . Then array a is partitioned into two parts: left and right. The left part contains the elements of a that are not greater than x ( <= x ). The right part contains the elements of a that are strictly greater than x ( > x ). The order of elements in each part is kept the same as before the operation, i. e. the partition is stable. Then the array is replaced with the concatenation of the left and the right parts. For example, if the array a is [2, 4, 1, 5, 3] , the eversion goes like this: [2, 4, 1, 5, 3] to [2, 1, 3], [4, 5] to [2, 1, 3, 4, 5] . We start with the array a and perform eversions on this array. We can prove that after several eversions the array a stops changing. Output the minimum number k such that the array stops changing after k eversions. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 100 ). Description of the test cases follows. The first line contains a single integer n ( 1 <= n <= 2 cdot 10^5 ). The second line contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^9 ). It is guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 . For each test case print a single integer k -- the number of eversions after which the array stops changing. Consider the fist example. Consider the second example. "...

Tutorials

Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
138890365 hochufenderyaguar B Dec. 12, 2021, 3:45 p.m. OK GNU C++14 TESTS 63 62 819200
139018237 anoopraj46 B Dec. 13, 2021, 6:59 p.m. OK GNU C++14 TESTS 64 62 819200
138987184 Captnikh B Dec. 13, 2021, 1:15 p.m. OK GNU C++14 TESTS 64 62 819200
138901409 Serious_Max B Dec. 12, 2021, 4:12 p.m. OK GNU C++14 TESTS 63 62 819200
138876463 the_amazing_grape B Dec. 12, 2021, 3:24 p.m. OK GNU C++14 TESTS 63 62 1638400
139032377 adrianmuro02 B Dec. 14, 2021, 12:40 a.m. OK GNU C++14 TESTS 64 62 1638400
139003006 repuri20_ug B Dec. 13, 2021, 4:02 p.m. OK GNU C++14 TESTS 64 62 1638400
138910487 IloPaTa B Dec. 12, 2021, 4:36 p.m. OK GNU C++14 TESTS 63 62 1638400
138890656 CalisthenicsMan B Dec. 12, 2021, 3:46 p.m. OK GNU C++14 TESTS 63 62 2457600
139037765 smile_joke B Dec. 14, 2021, 3:55 a.m. OK GNU C++14 TESTS 64 77 819200
138912358 kerlenton B Dec. 12, 2021, 4:42 p.m. OK GNU C++17 TESTS 63 61 819200
138915361 vicodin13 B Dec. 12, 2021, 4:52 p.m. OK GNU C++17 TESTS 63 62 819200
139038772 GennadyTran B Dec. 14, 2021, 4:23 a.m. OK GNU C++17 TESTS 64 62 819200
139019138 FreakingOmen B Dec. 13, 2021, 7:12 p.m. OK GNU C++17 TESTS 64 62 819200
139011968 astrodol B Dec. 13, 2021, 5:37 p.m. OK GNU C++17 TESTS 64 62 819200
139006186 rayhan28 B Dec. 13, 2021, 4:34 p.m. OK GNU C++17 TESTS 64 62 819200
138998008 lapselol B Dec. 13, 2021, 3:09 p.m. OK GNU C++17 TESTS 64 62 819200
138987532 TomAndJerryFan B Dec. 13, 2021, 1:19 p.m. OK GNU C++17 TESTS 64 62 819200
138982467 Nafeu B Dec. 13, 2021, 12:25 p.m. OK GNU C++17 TESTS 64 62 819200
138912514 porridge05 B Dec. 12, 2021, 4:43 p.m. OK GNU C++17 TESTS 63 62 819200
138883365 kucipendik B Dec. 12, 2021, 3:33 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138907756 kugeki B Dec. 12, 2021, 4:27 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138904262 MatveyR B Dec. 12, 2021, 4:20 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138893933 PluPlo B Dec. 12, 2021, 3:53 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138890301 Jabca B Dec. 12, 2021, 3:45 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138885270 oxxyumoron B Dec. 12, 2021, 3:36 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138883294 HhuskarH B Dec. 12, 2021, 3:32 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138883051 spartanes B Dec. 12, 2021, 3:32 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138882718 ketsunyan B Dec. 12, 2021, 3:31 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138880819 efimovpaul B Dec. 12, 2021, 3:29 p.m. OK GNU C++17 (64) TESTS 63 46 819200
138891868 kibergyl B Dec. 12, 2021, 3:49 p.m. OK GNU C++20 (64) TESTS 63 46 819200
139009050 igorfardoc B Dec. 13, 2021, 5:06 p.m. OK GNU C++20 (64) TESTS 64 46 819200
138975347 Quesatt B Dec. 13, 2021, 11:13 a.m. OK GNU C++20 (64) TESTS 64 46 819200
138902880 Randomick B Dec. 12, 2021, 4:16 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138900593 RedMACHINE B Dec. 12, 2021, 4:10 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138899562 stanislav_shchetinin B Dec. 12, 2021, 4:07 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138898501 Yobchiy2_0 B Dec. 12, 2021, 4:05 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138896785 Mortelman B Dec. 12, 2021, 4 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138893485 funchoza B Dec. 12, 2021, 3:52 p.m. OK GNU C++20 (64) TESTS 63 46 819200
138886744 Iltasks B Dec. 12, 2021, 3:38 p.m. OK GNU C++20 (64) TESTS 63 46 819200
139002404 Yash9890 B Dec. 13, 2021, 3:56 p.m. OK Java 11 TESTS 64 218 0
139015449 will_probably_cheat B Dec. 13, 2021, 6:20 p.m. OK Java 11 TESTS 64 233 0
138893347 vcherashny-zahar B Dec. 12, 2021, 3:52 p.m. OK Java 11 TESTS 63 483 0
138888363 aloeok B Dec. 12, 2021, 3:41 p.m. OK Java 8 TESTS 63 155 2764800
139021397 _TurboGhost_ B Dec. 13, 2021, 7:45 p.m. OK Java 8 TESTS 64 155 2764800
138890227 Embrion_top B Dec. 12, 2021, 3:45 p.m. OK Java 8 TESTS 63 155 2764800
138879322 KhamGao_O B Dec. 12, 2021, 3:27 p.m. OK Java 8 TESTS 63 155 2764800
139009605 gssakash B Dec. 13, 2021, 5:12 p.m. OK Java 8 TESTS 64 171 3072000
139016357 Varun7777 B Dec. 13, 2021, 6:31 p.m. OK Java 8 TESTS 64 358 0
138908378 Koo_Pung-Kei B Dec. 12, 2021, 4:29 p.m. OK Kotlin 1.5 TESTS 63 264 0
138902932 AndrOgurc B Dec. 12, 2021, 4:16 p.m. OK Kotlin 1.5 TESTS 63 358 17408000
138917706 AntonMordakin B Dec. 12, 2021, 5 p.m. OK MS C++ 2017 TESTS 63 187 1740800
138896430 ShelbyCompany B Dec. 12, 2021, 3:59 p.m. OK MS C++ 2017 TESTS 63 187 2252800
138893555 alever B Dec. 12, 2021, 3:52 p.m. OK MS C++ 2017 TESTS 63 187 2560000
138913687 inteshil B Dec. 12, 2021, 4:46 p.m. OK MS C++ 2017 TESTS 63 202 819200
139004760 dicobraz B Dec. 13, 2021, 4:19 p.m. OK MS C++ 2017 TESTS 64 202 819200
138910750 cinnamon_bun B Dec. 12, 2021, 4:37 p.m. OK MS C++ 2017 TESTS 63 202 819200
138908493 Tanya0312 B Dec. 12, 2021, 4:30 p.m. OK MS C++ 2017 TESTS 63 202 819200
138897166 Liter3 B Dec. 12, 2021, 4:01 p.m. OK MS C++ 2017 TESTS 63 202 819200
138887970 HADUKIN B Dec. 12, 2021, 3:41 p.m. OK MS C++ 2017 TESTS 63 202 819200
138903834 asdflk B Dec. 12, 2021, 4:19 p.m. OK MS C++ 2017 TESTS 63 202 1638400
138891264 reosfire B Dec. 12, 2021, 3:47 p.m. OK .NET Core C# TESTS 63 124 17408000
138886454 beg18 B Dec. 12, 2021, 3:38 p.m. OK PascalABC.NET TESTS 63 468 102400
138914186 Kiriru B Dec. 12, 2021, 4:48 p.m. OK PyPy 3 TESTS 63 265 19046400
138892756 billexey B Dec. 12, 2021, 3:51 p.m. OK PyPy 3 TESTS 63 265 19148800
138878000 bulbunyuk B Dec. 12, 2021, 3:25 p.m. OK PyPy 3 TESTS 63 280 17408000
138904677 AleksanderV B Dec. 12, 2021, 4:22 p.m. OK PyPy 3 TESTS 63 280 19046400
138909404 RomUsh B Dec. 12, 2021, 4:32 p.m. OK PyPy 3 TESTS 63 280 19046400
138908760 zhopych B Dec. 12, 2021, 4:30 p.m. OK PyPy 3 TESTS 63 280 19046400
138908346 Nekrasovmaksim B Dec. 12, 2021, 4:29 p.m. OK PyPy 3 TESTS 63 280 19046400
138905677 DVANZER B Dec. 12, 2021, 4:24 p.m. OK PyPy 3 TESTS 63 280 19046400
138894219 34z12000 B Dec. 12, 2021, 3:54 p.m. OK PyPy 3 TESTS 63 280 19046400
138893707 egoluback B Dec. 12, 2021, 3:53 p.m. OK PyPy 3 TESTS 63 280 19046400
138891492 Dkoplik B Dec. 12, 2021, 3:48 p.m. OK PyPy 3-64 TESTS 63 280 13926400
138885606 AntonVot B Dec. 12, 2021, 3:36 p.m. OK PyPy 3-64 TESTS 63 280 13926400
138904191 kirillstepnov05 B Dec. 12, 2021, 4:20 p.m. OK PyPy 3-64 TESTS 63 280 19865600
138889925 kl.nei B Dec. 12, 2021, 3:45 p.m. OK PyPy 3-64 TESTS 63 295 19865600
138897964 Ganter B Dec. 12, 2021, 4:03 p.m. OK PyPy 3-64 TESTS 63 296 13721600
138901137 selmik B Dec. 12, 2021, 4:12 p.m. OK PyPy 3-64 TESTS 63 296 19865600
138882833 bodorbolo B Dec. 12, 2021, 3:32 p.m. OK PyPy 3-64 TESTS 63 296 19865600
138897053 DaniilPl B Dec. 12, 2021, 4:01 p.m. OK PyPy 3-64 TESTS 63 311 19865600
138891065 zfk B Dec. 12, 2021, 3:47 p.m. OK PyPy 3-64 TESTS 63 311 19865600
138886307 Stranik2504 B Dec. 12, 2021, 3:38 p.m. OK PyPy 3-64 TESTS 63 311 19865600
138918038 Parsukov1 B Dec. 12, 2021, 5:01 p.m. OK Python 3 TESTS 63 124 15769600
138911600 ArthurDavletov B Dec. 12, 2021, 4:40 p.m. OK Python 3 TESTS 63 124 15769600
138898490 Lucifer_Delnitsa B Dec. 12, 2021, 4:05 p.m. OK Python 3 TESTS 63 124 15769600
138895021 Rey838 B Dec. 12, 2021, 3:56 p.m. OK Python 3 TESTS 63 124 15769600
138884057 imartemy1524 B Dec. 12, 2021, 3:34 p.m. OK Python 3 TESTS 63 124 15769600
138893402 m-i-h-v B Dec. 12, 2021, 3:52 p.m. OK Python 3 TESTS 63 139 15769600
138894958 lavrent B Dec. 12, 2021, 3:56 p.m. OK Python 3 TESTS 63 140 15667200
139003663 user100 B Dec. 13, 2021, 4:09 p.m. OK Python 3 TESTS 64 140 15769600
138914948 nioli B Dec. 12, 2021, 4:51 p.m. OK Python 3 TESTS 63 140 15769600
138914631 waterwav3 B Dec. 12, 2021, 4:50 p.m. OK Python 3 TESTS 63 140 15769600

remove filters

Back to search problems