Codeforces Round 823 (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
1730 Codeforces Round 823 (Div. 2) FINISHED False 7200 73063463 Sept. 25, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 16811 ) C Minimum Notation PROGRAMMING data structures greedy math sortings 1200

B'You have a string s consisting of digits from 0 to 9 inclusive. You can perform the following operation any (possibly zero) number of times: What is the lexicographically smallest string you can get by performing these operations? A string a is lexicographically smaller than a string b of the same length if and only if the following holds: The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then the test cases follow. Each test case consists of a single line that contains one string s ( 1 <= |s| <= 2 cdot 10^5 ) -- the string consisting of digits. Please note that s is just a string consisting of digits, so leading zeros are allowed. It is guaranteed that the sum of lengths of s over all test cases does not exceed 2 cdot 10^5 . Print a single string -- the minimum string that is possible to obtain. In the first test case: Nothing needs to be done in the second and third test cases. '...

Tutorials

Codeforces Round #823 — editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
173497186 Yusif C Sept. 25, 2022, 5:14 p.m. OK C# 10 TESTS 12 77 4403200 1200
173535765 bluemegane C Sept. 26, 2022, 3:50 a.m. OK C# 8 TESTS 12 155 7270400 1200
173519065 1435730 C Sept. 25, 2022, 9:13 p.m. OK GNU C11 TESTS 12 31 614400 1200
173490137 maiky C Sept. 25, 2022, 4:28 p.m. OK GNU C++14 TESTS 12 15 512000 1200
173488272 Argon9 C Sept. 25, 2022, 4:23 p.m. OK GNU C++14 TESTS 12 15 512000 1200
173515221 amitkumar2003.edu C Sept. 25, 2022, 8:14 p.m. OK GNU C++14 TESTS 12 15 512000 1200
173508170 guptapriyanshu2001 C Sept. 25, 2022, 6:43 p.m. OK GNU C++14 TESTS 12 15 512000 1200
173505359 As-Sami C Sept. 25, 2022, 6:15 p.m. OK GNU C++14 TESTS 12 15 512000 1200
173495485 Taitup C Sept. 25, 2022, 5:05 p.m. OK GNU C++14 TESTS 12 15 819200 1200
173486721 _mr__robot_ C Sept. 25, 2022, 4:19 p.m. OK GNU C++14 TESTS 12 15 819200 1200
173486667 Edgedancer C Sept. 25, 2022, 4:19 p.m. OK GNU C++14 TESTS 12 15 819200 1200
173535095 Bender2 C Sept. 26, 2022, 3:38 a.m. OK GNU C++14 TESTS 12 15 819200 1200
173492109 Cyrus12 C Sept. 25, 2022, 4:33 p.m. OK GNU C++14 TESTS 12 15 1024000 1200
173540511 vedang12d C Sept. 26, 2022, 5:22 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173538802 walid_ C Sept. 26, 2022, 4:52 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173536332 Pcjmy C Sept. 26, 2022, 4:01 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173532956 Gerges_Hany C Sept. 26, 2022, 2:59 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173541030 i-Shinobi C Sept. 26, 2022, 5:32 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173528332 Mohamed_sayed_34 C Sept. 26, 2022, 1:22 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173520600 abdelfatah147 C Sept. 25, 2022, 9:43 p.m. OK GNU C++17 TESTS 12 15 512000 1200
173520415 pdelai C Sept. 25, 2022, 9:39 p.m. OK GNU C++17 TESTS 12 15 512000 1200
173514338 Sgsaram C Sept. 25, 2022, 8:01 p.m. OK GNU C++17 TESTS 12 15 512000 1200
173531665 hzhu378 C Sept. 26, 2022, 2:33 a.m. OK GNU C++17 TESTS 12 15 512000 1200
173486939 islam231 C Sept. 25, 2022, 4:20 p.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173534839 BlueFoxyy C Sept. 26, 2022, 3:34 a.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173527265 xiaoyiru7 C Sept. 26, 2022, 12:58 a.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173517466 SwapnilSrivastava C Sept. 25, 2022, 8:46 p.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173498355 Rick_GT C Sept. 25, 2022, 5:21 p.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173498289 yaoveil C Sept. 25, 2022, 5:20 p.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173489675 Codula C Sept. 25, 2022, 4:27 p.m. OK GNU C++17 (64) TESTS 12 15 512000 1200
173485080 Heisenberg_71 C Sept. 25, 2022, 4:14 p.m. OK GNU C++17 (64) TESTS 12 15 716800 1200
173502808 ardekarsanket C Sept. 25, 2022, 5:53 p.m. OK GNU C++17 (64) TESTS 12 15 716800 1200
173504043 PurpleCrayon C Sept. 25, 2022, 6:03 p.m. OK GNU C++17 (64) TESTS 12 15 921600 1200
173542641 vamos_abhinav C Sept. 26, 2022, 5:59 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173540197 Harshil4442 C Sept. 26, 2022, 5:17 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173540150 love_krisnaa C Sept. 26, 2022, 5:16 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173538678 capnmoron C Sept. 26, 2022, 4:49 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173538351 akshitgarg09 C Sept. 26, 2022, 4:43 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173538187 TGH_yang_xiao C Sept. 26, 2022, 4:39 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173536763 Lost_Wind C Sept. 26, 2022, 4:10 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173535465 ohmygodtosbryantooorz C Sept. 26, 2022, 3:45 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173534850 AbdAlrahman_Emad C Sept. 26, 2022, 3:34 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173533435 _Pioneer C Sept. 26, 2022, 3:08 a.m. OK GNU C++20 (64) TESTS 12 15 512000 1200
173504911 keutoi C Sept. 25, 2022, 6:10 p.m. OK Haskell TESTS 12 233 16793600 1200
173485326 mivael C Sept. 25, 2022, 4:15 p.m. OK Haskell TESTS 12 436 40960000 1200
173530112 oneafter C Sept. 26, 2022, 2:01 a.m. OK Java 11 TESTS 12 171 0 1200
173529680 oneafter C Sept. 26, 2022, 1:52 a.m. OK Java 11 TESTS 12 187 0 1200
173500353 kkkkush C Sept. 25, 2022, 5:34 p.m. OK Java 11 TESTS 12 187 0 1200
173487776 sunaj C Sept. 25, 2022, 4:22 p.m. OK Java 11 TESTS 12 187 0 1200
173539339 unfixedbug C Sept. 26, 2022, 5:02 a.m. OK Java 11 TESTS 12 202 0 1200
173515003 Keshavkeshu C Sept. 25, 2022, 8:10 p.m. OK Java 11 TESTS 12 202 0 1200
173512114 Aman_dixit C Sept. 25, 2022, 7:31 p.m. OK Java 11 TESTS 12 202 15052800 1200
173514742 IanISam C Sept. 25, 2022, 8:07 p.m. OK Java 11 TESTS 12 217 0 1200
173539009 yogii_123 C Sept. 26, 2022, 4:56 a.m. OK Java 11 TESTS 12 218 0 1200
173528570 white_harmony C Sept. 26, 2022, 1:28 a.m. OK Java 11 TESTS 12 218 0 1200
173541492 Paraboyyyy C Sept. 26, 2022, 5:40 a.m. OK Java 17 TESTS 12 202 512000 1200
173524496 freehandle C Sept. 25, 2022, 11:33 p.m. OK Java 17 TESTS 12 217 204800 1200
173499787 Kedrigern C Sept. 25, 2022, 5:30 p.m. OK Java 17 TESTS 12 265 7372800 1200
173496429 anuragkr898 C Sept. 25, 2022, 5:10 p.m. OK Java 17 TESTS 12 826 307200 1200
173496230 beingmessi1 C Sept. 25, 2022, 5:09 p.m. OK Java 17 TESTS 12 826 307200 1200
173492317 selenophile C Sept. 25, 2022, 4:34 p.m. OK Java 17 TESTS 12 842 614400 1200
173489301 anuragkr898 C Sept. 25, 2022, 4:26 p.m. OK Java 17 TESTS 12 857 409600 1200
173484726 TanishqYadav C Sept. 25, 2022, 4:14 p.m. OK Java 17 TESTS 12 872 819200 1200
173490558 Cromyl C Sept. 25, 2022, 4:29 p.m. OK Java 17 TESTS 12 967 1024000 1200
173539243 Kalesh C Sept. 26, 2022, 5:01 a.m. OK Java 8 TESTS 12 108 0 1200
173541473 15o3 C Sept. 26, 2022, 5:40 a.m. OK Java 8 TESTS 12 109 0 1200
173498414 Sussykin C Sept. 25, 2022, 5:21 p.m. OK Java 8 TESTS 12 109 0 1200
173496720 Mohamed_A7med C Sept. 25, 2022, 5:11 p.m. OK Java 8 TESTS 12 109 0 1200
173516583 OmarKenawi C Sept. 25, 2022, 8:33 p.m. OK Java 8 TESTS 12 124 0 1200
173499851 ganesh_6 C Sept. 25, 2022, 5:31 p.m. OK Java 8 TESTS 12 124 0 1200
173507854 Kaldaruly C Sept. 25, 2022, 6:40 p.m. OK Java 8 TESTS 12 171 0 1200
173504367 Ibrahimovic_The_Lion C Sept. 25, 2022, 6:06 p.m. OK Java 8 TESTS 12 171 0 1200
173490114 Swapniltri C Sept. 25, 2022, 4:28 p.m. OK Java 8 TESTS 12 171 409600 1200
173484758 tyrion_123 C Sept. 25, 2022, 4:14 p.m. OK Java 8 TESTS 12 187 0 1200
173485166 Bloodwyn C Sept. 25, 2022, 4:15 p.m. OK Kotlin 1.6 TESTS 12 296 0 1200
173535572 AlgoTurtle C Sept. 26, 2022, 3:47 a.m. OK Mono C# TESTS 12 811 3788800 1200
173503985 ravina_b29 C Sept. 25, 2022, 6:02 p.m. OK MS C++ 2017 TESTS 12 46 3174400 1200
173489724 vaqa C Sept. 25, 2022, 4:27 p.m. OK MS C++ 2017 TESTS 12 46 4096000 1200
173487065 BlackCodeIsGood C Sept. 25, 2022, 4:20 p.m. OK MS C++ 2017 TESTS 12 62 3891200 1200
173495355 Eldies C Sept. 25, 2022, 5:05 p.m. OK MS C++ 2017 TESTS 12 78 1945600 1200
173491432 gaspar.kristijan C Sept. 25, 2022, 4:32 p.m. OK MS C++ 2017 TESTS 12 108 614400 1200
173489762 cz_itsme C Sept. 25, 2022, 4:27 p.m. OK MS C++ 2017 TESTS 12 124 614400 1200
173511301 andreyDagger C Sept. 25, 2022, 7:20 p.m. OK MS C++ 2017 TESTS 12 171 5836800 1200
173500504 Darooha C Sept. 25, 2022, 5:35 p.m. OK Ocaml TESTS 12 109 1638400 1200
173530797 Jvaeyhcd C Sept. 26, 2022, 2:15 a.m. OK PyPy 3 TESTS 12 187 10342400 1200
173491971 vlk0 C Sept. 25, 2022, 4:33 p.m. OK PyPy 3 TESTS 12 296 7270400 1200
173536403 tinycaterpillar C Sept. 26, 2022, 4:03 a.m. OK PyPy 3 TESTS 12 326 10444800 1200
173485086 jplassmann C Sept. 25, 2022, 4:15 p.m. OK PyPy 3 TESTS 12 327 5734400 1200
173517159 teyouale C Sept. 25, 2022, 8:42 p.m. OK PyPy 3 TESTS 12 373 18739200 1200
173491558 Umeke-1 C Sept. 25, 2022, 4:32 p.m. OK PyPy 3 TESTS 12 467 29696000 1200
173485126 akankshaa262 C Sept. 25, 2022, 4:15 p.m. OK PyPy 3 TESTS 12 624 12902400 1200
173517217 omar.gawdat C Sept. 25, 2022, 8:42 p.m. OK PyPy 3-64 TESTS 12 108 17305600 1200
173491011 mrdhnv C Sept. 25, 2022, 4:31 p.m. OK PyPy 3-64 TESTS 12 124 6041600 1200
173517507 omar.gawdat C Sept. 25, 2022, 8:47 p.m. OK PyPy 3-64 TESTS 12 124 17305600 1200
173495619 venkataakhil4518 C Sept. 25, 2022, 5:06 p.m. OK PyPy 3-64 TESTS 12 139 8396800 1200
173536015 Youarenotgood C Sept. 26, 2022, 3:55 a.m. OK PyPy 3-64 TESTS 12 140 8806400 1200
173513551 crapcode C Sept. 25, 2022, 7:50 p.m. OK PyPy 3-64 TESTS 12 155 9523200 1200
173503872 hvbird C Sept. 25, 2022, 6:01 p.m. OK PyPy 3-64 TESTS 12 155 10752000 1200
173518667 biglunchdude C Sept. 25, 2022, 9:06 p.m. OK PyPy 3-64 TESTS 12 155 14643200 1200
173499831 samchen123 C Sept. 25, 2022, 5:30 p.m. OK PyPy 3-64 TESTS 12 155 23961600 1200
173508412 SangeetaSingh C Sept. 25, 2022, 6:46 p.m. OK PyPy 3-64 TESTS 12 170 18124800 1200
173517194 omar.gawdat C Sept. 25, 2022, 8:42 p.m. OK Python 3 TESTS 12 217 9830400 1200
173516321 shreyas_zagare C Sept. 25, 2022, 8:29 p.m. OK Python 3 TESTS 12 233 7577600 1200
173500553 zhangkang C Sept. 25, 2022, 5:35 p.m. OK Python 3 TESTS 12 233 8089600 1200
173517096 omar.gawdat C Sept. 25, 2022, 8:41 p.m. OK Python 3 TESTS 12 233 9625600 1200
173539695 sheknows C Sept. 26, 2022, 5:08 a.m. OK Python 3 TESTS 12 249 9216000 1200
173518105 AhmdJabr C Sept. 25, 2022, 8:57 p.m. OK Python 3 TESTS 12 249 9728000 1200
173490539 Jahnavi_Chitta C Sept. 25, 2022, 4:29 p.m. OK Python 3 TESTS 12 280 11161600 1200
173491435 carlfre C Sept. 25, 2022, 4:32 p.m. OK Python 3 TESTS 12 296 2764800 1200
173511410 VioletVal C Sept. 25, 2022, 7:22 p.m. OK Python 3 TESTS 12 296 9625600 1200
173535977 Genicis C Sept. 26, 2022, 3:54 a.m. OK Python 3 TESTS 12 311 2764800 1200
173490559 p00f C Sept. 25, 2022, 4:29 p.m. OK Rust 2021 TESTS 12 31 819200 1200

remove filters

Back to search problems