Codeforces Round 675 (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
1422 Codeforces Round 675 (Div. 2) FINISHED False 7200 135352463 Oct. 4, 2020, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 758 ) E Minlexes PROGRAMMING dp greedy implementation strings

B'Some time ago Lesha found an entertaining string s consisting of lowercase English letters. Lesha immediately developed an unique algorithm for this string and shared it with you. The algorithm is as follows. Lesha chooses an arbitrary (possibly zero) number of pairs on positions (i, i + 1) in such a way that the following conditions are satisfied: Lesha is interested in the lexicographically smallest strings he can obtain by applying the algorithm to the suffixes of the given string. The only line contains the string s ( 1 <= |s| <= 10^5 ) -- the initial string consisting of lowercase English letters only. In |s| lines print the lengths of the answers and the answers themselves, starting with the answer for the longest suffix. The output can be large, so, when some answer is longer than 10 characters, instead print the first 5 characters, then "...", then the last 2 characters of the answer. Consider the first example. In the second example, for the longest suffix "abbcdddeaaffdfouurtytwoo" choose three pairs (11, 12) , (16, 17) , (23, 24) and we obtain "abbcdddeaadfortytw" '...

Tutorials

Codeforces Round #675 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
94712276 Young.FQ E Oct. 4, 2020, 6:31 p.m. OK GNU C++11 TESTS 130 62 4505600
94716706 architkarandikar E Oct. 4, 2020, 7:25 p.m. OK GNU C++11 TESTS 130 93 3686400
94721474 ajpiano E Oct. 4, 2020, 9:15 p.m. OK GNU C++11 TESTS 130 109 3276800
94725588 njwrz E Oct. 5, 2020, 12:04 a.m. OK GNU C++11 TESTS 131 109 3686400
94699655 deeepeshthakur E Oct. 4, 2020, 5:27 p.m. OK GNU C++11 TESTS 130 124 6860800
94730233 _Jumbo E Oct. 5, 2020, 2:43 a.m. OK GNU C++11 TESTS 131 124 28160000
94721940 Pccc E Oct. 4, 2020, 9:30 p.m. OK GNU C++11 TESTS 130 124 51097600
94721684 Pccc E Oct. 4, 2020, 9:22 p.m. OK GNU C++11 TESTS 130 124 51097600
94734669 goku98 E Oct. 5, 2020, 4:23 a.m. OK GNU C++11 TESTS 131 202 1228800
94711070 Arya_Erin E Oct. 4, 2020, 6:24 p.m. OK GNU C++11 TESTS 130 202 2662400
94713362 antguz E Oct. 4, 2020, 6:40 p.m. OK GNU C++14 TESTS 130 62 4198400
94725142 Devil E Oct. 4, 2020, 11:41 p.m. OK GNU C++14 TESTS 131 62 4608000
94725122 Devil E Oct. 4, 2020, 11:40 p.m. OK GNU C++14 TESTS 131 62 4608000
94735645 bhagwa_brigade E Oct. 5, 2020, 4:43 a.m. OK GNU C++14 TESTS 131 77 3788800
94708058 kamer E Oct. 4, 2020, 5:58 p.m. OK GNU C++14 TESTS 130 77 3891200
94726319 vivace_jr E Oct. 5, 2020, 12:37 a.m. OK GNU C++14 TESTS 131 77 5529600
94718690 NRK7 E Oct. 4, 2020, 8:02 p.m. OK GNU C++14 TESTS 130 77 6656000
94721971 cypherop E Oct. 4, 2020, 9:31 p.m. OK GNU C++14 TESTS 130 77 7884800
94739084 vjudge24 E Oct. 5, 2020, 5:46 a.m. OK GNU C++14 TESTS 131 77 9830400
94717395 mafia99 E Oct. 4, 2020, 7:36 p.m. OK GNU C++14 TESTS 130 78 2969600
94723701 couplefire E Oct. 4, 2020, 10:29 p.m. OK GNU C++17 TESTS 130 62 3174400
94712381 sempav E Oct. 4, 2020, 6:32 p.m. OK GNU C++17 TESTS 130 62 3174400
94714143 sudoBug E Oct. 4, 2020, 6:48 p.m. OK GNU C++17 TESTS 130 62 3379200
94727198 KrK E Oct. 5, 2020, 1:12 a.m. OK GNU C++17 TESTS 131 62 3481600
94713585 shahed_ahmed E Oct. 4, 2020, 6:42 p.m. OK GNU C++17 TESTS 130 62 6656000
94711708 solaimanope E Oct. 4, 2020, 6:27 p.m. OK GNU C++17 TESTS 130 62 6758400
94712221 asd111 E Oct. 4, 2020, 6:31 p.m. OK GNU C++17 TESTS 130 77 819200
94739669 L_lawliet27 E Oct. 5, 2020, 5:56 a.m. OK GNU C++17 TESTS 131 77 2355200
94705862 I_Love_Obukhova_Maria E Oct. 4, 2020, 5:50 p.m. OK GNU C++17 TESTS 130 77 3072000
94715957 dvyn01 E Oct. 4, 2020, 7:13 p.m. OK GNU C++17 TESTS 130 77 3174400
94716637 Ormlis E Oct. 4, 2020, 7:24 p.m. OK GNU C++17 (64) TESTS 130 61 5324800
94725921 ecnerwala E Oct. 5, 2020, 12:21 a.m. OK GNU C++17 (64) TESTS 131 62 1843200
94714708 N_o_o_B E Oct. 4, 2020, 6:54 p.m. OK GNU C++17 (64) TESTS 130 62 3891200
94713302 jiangly E Oct. 4, 2020, 6:39 p.m. OK GNU C++17 (64) TESTS 130 62 4096000
94733312 Marckess E Oct. 5, 2020, 3:55 a.m. OK GNU C++17 (64) TESTS 131 62 4403200
94720749 I3J03RN E Oct. 4, 2020, 8:54 p.m. OK GNU C++17 (64) TESTS 130 62 4403200
94718925 yash_daga E Oct. 4, 2020, 8:07 p.m. OK GNU C++17 (64) TESTS 130 62 4403200
94711773 mariand E Oct. 4, 2020, 6:27 p.m. OK GNU C++17 (64) TESTS 130 62 4505600
94715618 lsantire E Oct. 4, 2020, 7:07 p.m. OK GNU C++17 (64) TESTS 130 62 4608000
94714568 natsugiri E Oct. 4, 2020, 6:53 p.m. OK GNU C++17 (64) TESTS 130 62 4812800
94714801 slinSSS E Oct. 4, 2020, 6:56 p.m. OK Java 11 TESTS 130 327 512000
94726553 martins E Oct. 5, 2020, 12:48 a.m. OK Java 8 TESTS 131 218 14745600
94719724 derrick20 E Oct. 4, 2020, 8:27 p.m. OK Java 8 TESTS 130 233 7270400
94725281 martins E Oct. 4, 2020, 11:48 p.m. OK Java 8 TESTS 131 234 31539200
94714713 azukun E Oct. 4, 2020, 6:55 p.m. OK Mono C# TESTS 130 311 7475200
94716607 pajenegod E Oct. 4, 2020, 7:23 p.m. OK PyPy 2 TESTS 130 249 16896000
94718142 kclee2172 E Oct. 4, 2020, 7:51 p.m. OK PyPy 3 TESTS 130 202 13209600
94716193 TheVan E Oct. 4, 2020, 7:16 p.m. OK PyPy 3 TESTS 130 234 11776000
94717453 throwawayatcoder E Oct. 4, 2020, 7:37 p.m. OK PyPy 3 TESTS 130 358 21913600
94707824 nehan_der_thal E Oct. 4, 2020, 5:57 p.m. OK PyPy 3 TESTS 130 390 11059200
94721045 FlakeLCR E Oct. 4, 2020, 9:02 p.m. OK PyPy 3 TESTS 130 483 21299200
94718657 kclee2172 E Oct. 4, 2020, 8:01 p.m. OK Python 3 TESTS 130 390 11776000
94717864 sh1194 E Oct. 4, 2020, 7:45 p.m. OK Python 3 TESTS 130 451 11161600
94717891 sh1194 E Oct. 4, 2020, 7:46 p.m. OK Python 3 TESTS 130 529 8192000
94717959 sh1194 E Oct. 4, 2020, 7:47 p.m. OK Python 3 TESTS 130 530 7987200

remove filters

Back to search problems