Codeforces Round 726 (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
1537 Codeforces Round 726 (Div. 2) FINISHED False 7200 113153063 June 18, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13414 ) E1 Erase and Extend (Easy Version) PROGRAMMING binary search brute force dp greedy hashing string suffix structures strings

B'This is the easy version of the problem. The only difference is the constraints on n and k . You can make hacks only if all versions of the problem are solved. You have a string s , and you can do two types of operations on it: You can use each operation any number of times (possibly none). Your task is to find the lexicographically smallest string of length exactly k that can be obtained by doing these operations on string s . A string a is lexicographically smaller than a string b if and only if one of the following holds: The first line contains two integers n , k ( 1 <= q n, k <= q 5000 ) -- the length of the original string s and the length of the desired string. The second line contains the string s , consisting of n lowercase English letters. Print the lexicographically smallest string of length k that can be obtained by doing the operations on string s . In the first test, it is optimal to make one duplication: "dbcadabc" to "dbcadabcdbcadabc". In the second test it is optimal to delete the last 3 characters, then duplicate the string 3 times, then delete the last 3 characters to make the string have length k . "abcd" to "abc" to "ab" to "a" to "aa" to "aaaa" to "aaaaaaaa" to "aaaaaaa" to "aaaaaa" to "aaaaa". '...

Tutorials

Codeforces Round #726 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
119941756 royo_sea E1 June 19, 2021, 3:29 a.m. OK FPC TESTS 47 295 307200
119922992 jainmilind E1 June 18, 2021, 7:24 p.m. OK GNU C11 TESTS 45 46 204800
119947066 jainmilind E1 June 19, 2021, 4:44 a.m. OK GNU C11 TESTS 48 62 614400
119932203 Rosecodes E1 June 18, 2021, 10:59 p.m. OK GNU C++11 TESTS 46 15 0
119953681 Puck00 E1 June 19, 2021, 5:54 a.m. OK GNU C++11 TESTS 49 15 0
119953365 lexiyvv E1 June 19, 2021, 5:51 a.m. OK GNU C++11 TESTS 49 15 0
119950871 Bad_liar E1 June 19, 2021, 5:26 a.m. OK GNU C++11 TESTS 48 15 102400
119940794 zxx E1 June 19, 2021, 3:13 a.m. OK GNU C++11 TESTS 47 15 5017600
119936231 luogu_bot2 E1 June 19, 2021, 1:44 a.m. OK GNU C++11 TESTS 46 15 16896000
119937550 Ninelife_Cat E1 June 19, 2021, 2:15 a.m. OK GNU C++11 TESTS 46 30 0
119936853 liuhanwen E1 June 19, 2021, 1:59 a.m. OK GNU C++11 TESTS 46 30 0
119938822 Higuchi E1 June 19, 2021, 2:40 a.m. OK GNU C++11 TESTS 46 30 0
119941533 Sorlag E1 June 19, 2021, 3:25 a.m. OK GNU C++11 TESTS 47 30 0
119925858 suyash_jain_ E1 June 18, 2021, 8:05 p.m. OK GNU C++14 TESTS 45 15 0
119932220 Lavmecodes E1 June 18, 2021, 11 p.m. OK GNU C++14 TESTS 46 15 204800
119942007 ngpin04 E1 June 19, 2021, 3:33 a.m. OK GNU C++14 TESTS 47 15 2048000
119932629 BichPhuong E1 June 18, 2021, 11:23 p.m. OK GNU C++14 TESTS 46 30 0
119926771 Kal-El E1 June 18, 2021, 8:21 p.m. OK GNU C++14 TESTS 45 30 0
119924080 krototype E1 June 18, 2021, 7:39 p.m. OK GNU C++14 TESTS 45 30 0
119921393 rohit_1402 E1 June 18, 2021, 7:08 p.m. OK GNU C++14 TESTS 45 30 0
119918871 shinigami_ E1 June 18, 2021, 6:45 p.m. OK GNU C++14 TESTS 44 30 0
119940272 SF-Manman E1 June 19, 2021, 3:05 a.m. OK GNU C++14 TESTS 47 30 0
119946933 singhish77 E1 June 19, 2021, 4:43 a.m. OK GNU C++14 TESTS 48 30 0
119931203 yjitu9950 E1 June 18, 2021, 10:12 p.m. OK GNU C++17 TESTS 45 15 0
119942830 SongGG E1 June 19, 2021, 3:46 a.m. OK GNU C++17 TESTS 47 15 0
119939176 soosoo E1 June 19, 2021, 2:46 a.m. OK GNU C++17 TESTS 46 15 0
119933788 LonelyAlchmist E1 June 19, 2021, 12:29 a.m. OK GNU C++17 TESTS 46 15 0
119926103 pranavbhatia06 E1 June 18, 2021, 8:09 p.m. OK GNU C++17 TESTS 45 15 0
119933459 viskonsin E1 June 19, 2021, 12:14 a.m. OK GNU C++17 TESTS 46 15 102400
119920375 AbdulAhadKhan E1 June 18, 2021, 7 p.m. OK GNU C++17 TESTS 44 15 102400
119934604 rossy_ E1 June 19, 2021, 1 a.m. OK GNU C++17 TESTS 46 15 102400
119934701 punnu7 E1 June 19, 2021, 1:02 a.m. OK GNU C++17 TESTS 46 15 102400
119925304 Tanvir_Rasel E1 June 18, 2021, 7:56 p.m. OK GNU C++17 TESTS 45 15 307200
119931356 arvindr9 E1 June 18, 2021, 10:18 p.m. OK GNU C++17 (64) TESTS 45 15 102400
119919596 HOLMES_2k E1 June 18, 2021, 6:53 p.m. OK GNU C++17 (64) TESTS 44 30 0
119917828 Mahfel E1 June 18, 2021, 6:35 p.m. OK GNU C++17 (64) TESTS 44 30 0
119916278 shashankk E1 June 18, 2021, 6:25 p.m. OK GNU C++17 (64) TESTS 44 30 0
119918621 albertolg101 E1 June 18, 2021, 6:42 p.m. OK GNU C++17 (64) TESTS 44 30 0
119953554 _ibsti E1 June 19, 2021, 5:53 a.m. OK GNU C++17 (64) TESTS 49 30 0
119948594 Utkarsh_cyborg E1 June 19, 2021, 5:02 a.m. OK GNU C++17 (64) TESTS 48 30 0
119939842 drig E1 June 19, 2021, 2:58 a.m. OK GNU C++17 (64) TESTS 46 30 0
119932068 ScarletS E1 June 18, 2021, 10:53 p.m. OK GNU C++17 (64) TESTS 45 30 0
119931255 adheeraj E1 June 18, 2021, 10:14 p.m. OK GNU C++17 (64) TESTS 45 30 0
119943444 dyzsr E1 June 19, 2021, 3:55 a.m. OK Go TESTS 47 46 102400
119935890 markgeek E1 June 19, 2021, 1:36 a.m. OK Java 11 TESTS 46 171 0
119933256 G.A.T.C E1 June 19, 2021, 12:01 a.m. OK Java 11 TESTS 46 171 0
119932677 G.A.T.C E1 June 18, 2021, 11:26 p.m. OK Java 11 TESTS 46 171 0
119938855 bluesky111 E1 June 19, 2021, 2:40 a.m. OK Java 11 TESTS 46 186 0
119928013 yudi23 E1 June 18, 2021, 8:44 p.m. OK Java 11 TESTS 45 187 0
119942936 nitin23329 E1 June 19, 2021, 3:47 a.m. OK Java 11 TESTS 47 202 0
119942420 Arjun-Ichiban E1 June 19, 2021, 3:39 a.m. OK Java 11 TESTS 47 202 0
119938966 coder_9 E1 June 19, 2021, 2:42 a.m. OK Java 11 TESTS 46 202 0
119919289 Lucifer__89 E1 June 18, 2021, 6:49 p.m. OK Java 11 TESTS 44 202 0
119930626 agarcellr E1 June 18, 2021, 9:52 p.m. OK Java 11 TESTS 45 217 0
119939466 ashuman231 E1 June 19, 2021, 2:51 a.m. OK Java 8 TESTS 46 109 0
119930598 invincible777 E1 June 18, 2021, 9:51 p.m. OK Java 8 TESTS 45 109 0
119921826 love1024 E1 June 18, 2021, 7:12 p.m. OK Java 8 TESTS 45 109 0
119951365 honeysingh18 E1 June 19, 2021, 5:32 a.m. OK Java 8 TESTS 48 124 0
119949323 InANutshell E1 June 19, 2021, 5:10 a.m. OK Java 8 TESTS 48 124 0
119937589 jackiesteed E1 June 19, 2021, 2:15 a.m. OK Java 8 TESTS 46 124 0
119921208 nuni. E1 June 18, 2021, 7:06 p.m. OK Java 8 TESTS 45 124 0
119919546 nuni. E1 June 18, 2021, 6:52 p.m. OK Java 8 TESTS 44 124 0
119916203 FlameFire E1 June 18, 2021, 6:25 p.m. OK Java 8 TESTS 44 124 0
119941827 pulkit1411 E1 June 19, 2021, 3:30 a.m. OK Java 8 TESTS 47 124 15667200
119921139 Hakiobo E1 June 18, 2021, 7:06 p.m. OK Kotlin TESTS 45 124 0
119917674 knightL E1 June 18, 2021, 6:34 p.m. OK Kotlin TESTS 44 171 1740800
119929938 lionvs132 E1 June 18, 2021, 9:31 p.m. OK Mono C# TESTS 45 77 138342400
119928146 lionvs132 E1 June 18, 2021, 8:47 p.m. OK Mono C# TESTS 45 77 138342400
119927156 moreda E1 June 18, 2021, 8:27 p.m. OK MS C++ 2017 TESTS 45 31 0
119921886 incuiio E1 June 18, 2021, 7:12 p.m. OK MS C++ 2017 TESTS 45 31 0
119916501 Blejac E1 June 18, 2021, 6:27 p.m. OK MS C++ 2017 TESTS 44 31 204800
119918939 xsc E1 June 18, 2021, 6:45 p.m. OK MS C++ 2017 TESTS 44 31 1024000
119918086 prost_sasha E1 June 18, 2021, 6:37 p.m. OK MS C++ 2017 TESTS 44 46 204800
119933690 gleb.zuev04 E1 June 19, 2021, 12:25 a.m. OK MS C++ 2017 TESTS 46 46 15462400
119922584 Vitazzz E1 June 18, 2021, 7:19 p.m. OK MS C++ 2017 TESTS 45 78 26624000
119942081 acorn11 E1 June 19, 2021, 3:34 a.m. OK PyPy 2 TESTS 47 374 35328000
119947916 innocent_SINNER E1 June 19, 2021, 4:55 a.m. OK PyPy 3 TESTS 48 93 1228800
119924675 augurar E1 June 18, 2021, 7:47 p.m. OK PyPy 3 TESTS 45 93 1331200
119943361 funywoohoo E1 June 19, 2021, 3:54 a.m. OK PyPy 3 TESTS 47 93 1433600
119944671 Joel_Sathi E1 June 19, 2021, 4:13 a.m. OK PyPy 3 TESTS 48 108 1331200
119918375 Lyamzin_alexandr E1 June 18, 2021, 6:39 p.m. OK PyPy 3 TESTS 44 108 1331200
119936540 young_cr E1 June 19, 2021, 1:52 a.m. OK PyPy 3 TESTS 46 108 1433600
119916376 akshaykhandelwal E1 June 18, 2021, 6:26 p.m. OK PyPy 3 TESTS 44 108 1740800
119945316 jainmilind E1 June 19, 2021, 4:23 a.m. OK PyPy 3 TESTS 48 108 2048000
119921095 sushmanth.dampur8780 E1 June 18, 2021, 7:05 p.m. OK PyPy 3 TESTS 45 108 2048000
119921149 damirych E1 June 18, 2021, 7:06 p.m. OK PyPy 3 TESTS 45 108 2150400
119954077 swapnilvc E1 June 19, 2021, 5:58 a.m. OK Python 3 TESTS 49 62 0
119920443 rubydubee E1 June 18, 2021, 7 p.m. OK Python 3 TESTS 44 62 0
119931708 swagsy E1 June 18, 2021, 10:33 p.m. OK Python 3 TESTS 45 62 102400
119923086 abhinav10398 E1 June 18, 2021, 7:25 p.m. OK Python 3 TESTS 45 62 716800
119944559 hellohowareyou E1 June 19, 2021, 4:11 a.m. OK Python 3 TESTS 48 77 0
119932979 newbie00 E1 June 18, 2021, 11:43 p.m. OK Python 3 TESTS 46 77 0
119938860 swapnilvc E1 June 19, 2021, 2:40 a.m. OK Python 3 TESTS 46 77 102400
119946697 shiviDON E1 June 19, 2021, 4:40 a.m. OK Python 3 TESTS 48 77 307200
119947628 Dinesh_devanaboina E1 June 19, 2021, 4:51 a.m. OK Python 3 TESTS 48 77 409600
119950326 shreyashnahar0 E1 June 19, 2021, 5:20 a.m. OK Python 3 TESTS 48 77 614400
119932163 GraphTheory E1 June 18, 2021, 10:57 p.m. OK Rust TESTS 46 31 204800
119950789 Hillmouse E1 June 19, 2021, 5:25 a.m. OK Rust TESTS 48 61 0
119926351 SorKierkegaard E1 June 18, 2021, 8:13 p.m. OK Rust TESTS 45 109 3891200

remove filters

Back to search problems