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.
Problems
B'You are given a string s, initially consisting of n lowercase Latin letters. After that, you perform k operations with it, where . During i-th operation you must erase some substring of length exactly 2i xe2 x80 x89- xe2 x80 x891 from s. Print the lexicographically minimal string you may obtain after performing k such operations. The only line contains one string s consisting of n lowercase Latin letters (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895000). Print the lexicographically minimal string you may obtain after performing k operations. Possible operations in examples: '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
35435955 |
beginend |
F |
Feb. 18, 2018, 4:25 a.m. |
OK |
GNU C++ |
TESTS |
108 |
46 |
2048000 |
|
2600 |
35824391 |
ghostfly233 |
F |
March 2, 2018, 3:50 a.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
1843200 |
|
2600 |
35445558 |
skywalkert |
F |
Feb. 18, 2018, 12:26 p.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
2048000 |
|
2600 |
35385483 |
cyand1317 |
F |
Feb. 17, 2018, 8:09 a.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
2048000 |
|
2600 |
35365129 |
tEMMIE.w. |
F |
Feb. 16, 2018, 4:45 p.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
2048000 |
|
2600 |
35365226 |
guille |
F |
Feb. 16, 2018, 4:46 p.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
2150400 |
|
2600 |
37237469 |
LadyLex |
F |
April 12, 2018, 2:06 a.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
3379200 |
|
2600 |
37237419 |
LadyLex |
F |
April 12, 2018, 2:02 a.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
3379200 |
|
2600 |
37237530 |
LadyLex |
F |
April 12, 2018, 2:12 a.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
3481600 |
|
2600 |
35734888 |
Worldwide_D |
F |
Feb. 26, 2018, 2:17 p.m. |
OK |
GNU C++ |
TESTS |
108 |
62 |
27648000 |
|
2600 |
66784601 |
_Ikun_ |
F |
Dec. 13, 2019, 1:13 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
46 |
0 |
|
2600 |
35370426 |
Georgia_001 |
F |
Feb. 16, 2018, 5:21 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
46 |
2048000 |
|
2600 |
38132107 |
jslijin |
F |
May 12, 2018, 8:08 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
46 |
3788800 |
|
2600 |
36998712 |
vjudge2 |
F |
April 5, 2018, 1:31 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
46 |
28672000 |
|
2600 |
64157050 |
ProgSlacking |
F |
Nov. 3, 2019, 1:09 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
58536449 |
Huang_Yuhan |
F |
Aug. 10, 2019, 12:07 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
58126354 |
PHenning |
F |
Aug. 1, 2019, 12:43 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
58056912 |
ru0k |
F |
July 31, 2019, 5:43 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
55854997 |
Trrui |
F |
June 21, 2019, 6:33 a.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
51449693 |
2002816 |
F |
March 18, 2019, 2:08 p.m. |
OK |
GNU C++11 |
TESTS |
108 |
62 |
0 |
|
2600 |
35522167 |
Moonlit_Rose |
F |
Feb. 20, 2018, 1:19 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
46 |
1945600 |
|
2600 |
35362887 |
gisp_zjz |
F |
Feb. 16, 2018, 4:33 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
46 |
1945600 |
|
2600 |
35362235 |
gisp_zjz |
F |
Feb. 16, 2018, 4:30 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
46 |
1945600 |
|
2600 |
37270688 |
asd123wwww |
F |
April 13, 2018, 5:58 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
46 |
3379200 |
|
2600 |
35897977 |
_____i_____ |
F |
March 3, 2018, 6:11 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
35823183 |
whjhr |
F |
March 2, 2018, 1:57 a.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
35815161 |
Marco_L_T |
F |
March 1, 2018, 3:49 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
35795022 |
badeagl1 |
F |
Feb. 28, 2018, 7:32 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
35452459 |
lbn187 |
F |
Feb. 18, 2018, 5:08 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
35425119 |
Franklyn_W |
F |
Feb. 17, 2018, 4:49 p.m. |
OK |
GNU C++14 |
TESTS |
108 |
62 |
1945600 |
|
2600 |
46628509 |
gerard.lin |
F |
Dec. 4, 2018, 11:58 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
62 |
0 |
|
2600 |
40977632 |
ReaLNero1 |
F |
July 30, 2018, 4:17 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
62 |
0 |
|
2600 |
66525196 |
_PortgasD.Ace_ |
F |
Dec. 9, 2019, 4:05 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
62 |
102400 |
|
2600 |
62520939 |
xz153531 |
F |
Oct. 13, 2019, 3:45 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
77 |
0 |
|
2600 |
39238746 |
Ali_Pi |
F |
June 14, 2018, 9:47 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
78 |
102400 |
|
2600 |
35608662 |
LiChenKoh |
F |
Feb. 23, 2018, 7:58 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
78 |
1945600 |
|
2600 |
58423809 |
SGHD |
F |
Aug. 7, 2019, 8:50 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
93 |
21606400 |
|
2600 |
54019392 |
Kmcode |
F |
May 12, 2019, 8:45 a.m. |
OK |
GNU C++17 |
TESTS |
108 |
140 |
101478400 |
|
2600 |
46523586 |
re_eVVorld |
F |
Dec. 2, 2018, 7:25 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
155 |
21196800 |
|
2600 |
37417592 |
deadRabbit |
F |
April 17, 2018, 6:55 p.m. |
OK |
GNU C++17 |
TESTS |
108 |
155 |
59084800 |
|
2600 |
36449572 |
dalt |
F |
March 21, 2018, 9:10 a.m. |
OK |
Java 8 |
TESTS |
108 |
545 |
61849600 |
|
2600 |
35364298 |
uwi |
F |
Feb. 16, 2018, 4:41 p.m. |
OK |
Java 8 |
TESTS |
108 |
592 |
20684800 |
|
2600 |
35372502 |
Rajpatel |
F |
Feb. 16, 2018, 6:12 p.m. |
OK |
Java 8 |
TESTS |
108 |
654 |
21094400 |
|
2600 |
35420042 |
cxkno1 |
F |
Feb. 17, 2018, 2:27 p.m. |
OK |
MS C++ |
TESTS |
108 |
202 |
22630400 |
|
2600 |
35420001 |
cxkno1 |
F |
Feb. 17, 2018, 2:26 p.m. |
OK |
MS C++ |
TESTS |
108 |
218 |
22630400 |
|
2600 |
35419982 |
cxkno1 |
F |
Feb. 17, 2018, 2:26 p.m. |
OK |
MS C++ |
TESTS |
108 |
249 |
22630400 |
|
2600 |
remove filters
Back to search problems