Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round)

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
1654 Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) FINISHED False 8100 89403863 March 20, 2022, 11:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15700 ) B Prefix Removals PROGRAMMING strings 800

B'You are given a string s consisting of lowercase letters of the English alphabet. You must perform the following algorithm on s : A prefix is a string consisting of several first letters of a given string, without any reorders. An empty prefix is also a valid prefix. For example, the string "abcd" has 5 prefixes: empty string, "a", "ab", "abc" and "abcd". For instance, if we perform the algorithm on s = "abcabdc", Find the final state of the string after performing the algorithm. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. This is followed by t lines, each containing a description of one test case. Each line contains a string s . The given strings consist only of lowercase letters of the English alphabet and have lengths between 1 and 2 cdot 10^5 inclusive. It is guaranteed that the sum of the lengths of s over all test cases does not exceed 2 cdot 10^5 . For each test case, print a single line containing the string s after executing the algorithm. It can be shown that such string is non-empty. The first test case is explained in the statement. In the second test case, no operations can be performed on s . In the third test case, In the fourth test case, '...

Tutorials

Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
150275985 cuesta B March 20, 2022, 2:55 p.m. OK GNU C11 TESTS 16 62 204800 800
150268387 keutoi B March 20, 2022, 1:38 p.m. OK GNU C11 TESTS 16 748 204800 800
150310877 W.H.Y B March 21, 2022, 12:01 a.m. OK GNU C11 TESTS 16 748 819200 800
150290094 Murli_33 B March 20, 2022, 5:21 p.m. OK GNU C11 TESTS 16 748 1843200 800
150261290 johnsmith0xcf B March 20, 2022, 1:05 p.m. OK GNU C++14 TESTS 16 15 204800 800
150315010 leexzq B March 21, 2022, 2:21 a.m. OK GNU C++14 TESTS 16 15 204800 800
150317152 RollJay B March 21, 2022, 3:19 a.m. OK GNU C++14 TESTS 16 15 409600 800
150325113 NotRealhandle B March 21, 2022, 5:40 a.m. OK GNU C++14 TESTS 16 15 512000 800
150324804 Stupid_cdd B March 21, 2022, 5:35 a.m. OK GNU C++14 TESTS 16 15 512000 800
150318266 janardan_sharma B March 21, 2022, 3:48 a.m. OK GNU C++14 TESTS 16 15 512000 800
150313794 Mr__Peanutbutter B March 21, 2022, 1:42 a.m. OK GNU C++14 TESTS 16 15 512000 800
150313009 syywt B March 21, 2022, 1:12 a.m. OK GNU C++14 TESTS 16 15 512000 800
150311765 Fantasyli B March 21, 2022, 12:29 a.m. OK GNU C++14 TESTS 16 15 512000 800
150288048 zhuoli B March 20, 2022, 4:58 p.m. OK GNU C++14 TESTS 16 15 512000 800
150274907 SajibKC_19 B March 20, 2022, 2:49 p.m. OK GNU C++17 TESTS 16 15 204800 800
150265220 0shwiciqwqq B March 20, 2022, 1:24 p.m. OK GNU C++17 TESTS 16 15 204800 800
150313993 Saborit B March 21, 2022, 1:48 a.m. OK GNU C++17 TESTS 16 15 204800 800
150316788 kyuuso B March 21, 2022, 3:09 a.m. OK GNU C++17 TESTS 16 15 204800 800
150326109 Beginner343 B March 21, 2022, 5:56 a.m. OK GNU C++17 TESTS 16 15 204800 800
150265712 zhouziheng B March 20, 2022, 1:26 p.m. OK GNU C++17 TESTS 16 15 409600 800
150325712 OO7 B March 21, 2022, 5:50 a.m. OK GNU C++17 TESTS 16 15 512000 800
150325405 kingpin119 B March 21, 2022, 5:45 a.m. OK GNU C++17 TESTS 16 15 512000 800
150326458 shuba400 B March 21, 2022, 6:02 a.m. OK GNU C++17 TESTS 16 15 512000 800
150326165 Ricoprogrammer B March 21, 2022, 5:57 a.m. OK GNU C++17 TESTS 16 15 512000 800
150290906 propane B March 20, 2022, 5:30 p.m. OK GNU C++17 (64) TESTS 16 15 204800 800
150309720 wjexmrc B March 20, 2022, 11:25 p.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150321602 casual_programmer B March 21, 2022, 5:03 a.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150319005 iLLusio B March 21, 2022, 4:07 a.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150314716 thilio B March 21, 2022, 2:11 a.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150314669 izumiQR B March 21, 2022, 2:10 a.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150312901 Kidding_Ma B March 21, 2022, 1:08 a.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150303856 PurpleCrayon B March 20, 2022, 8:45 p.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150302305 Naumtsev B March 20, 2022, 8:14 p.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150301503 srinjoy_ray B March 20, 2022, 8 p.m. OK GNU C++17 (64) TESTS 16 15 512000 800
150292064 SashaT9 B March 20, 2022, 5:44 p.m. OK GNU C++20 (64) TESTS 16 0 512000 800
150285541 ftiasch B March 20, 2022, 4:29 p.m. OK GNU C++20 (64) TESTS 16 15 204800 800
150322745 AC_sahER B March 21, 2022, 5:22 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150321588 tloinuy B March 21, 2022, 5:03 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150320861 parasgami3 B March 21, 2022, 4:48 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150325105 spy20051623 B March 21, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150320268 coderdhanraj B March 21, 2022, 4:37 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150325821 Nea1 B March 21, 2022, 5:52 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150320451 AC464 B March 21, 2022, 4:41 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150322971 yashp_ B March 21, 2022, 5:26 a.m. OK GNU C++20 (64) TESTS 16 15 512000 800
150296384 koqo B March 20, 2022, 6:41 p.m. OK Go TESTS 16 31 1740800 800
150289490 haminh02 B March 20, 2022, 5:14 p.m. OK Go TESTS 16 701 2150400 800
150320115 __Serendipity B March 21, 2022, 4:34 a.m. OK Java 11 TESTS 16 171 0 800
150290575 _ryan18_ B March 20, 2022, 5:27 p.m. OK Java 11 TESTS 16 171 0 800
150293527 souravc492 B March 20, 2022, 6:02 p.m. OK Java 11 TESTS 16 186 0 800
150288764 Satyaa B March 20, 2022, 5:06 p.m. OK Java 11 TESTS 16 186 0 800
150269092 insert_cool_handle B March 20, 2022, 1:41 p.m. OK Java 11 TESTS 16 187 0 800
150316497 akashkumarkly B March 21, 2022, 3:01 a.m. OK Java 11 TESTS 16 187 0 800
150283915 mohamedsamirtkd B March 20, 2022, 4:11 p.m. OK Java 11 TESTS 16 187 0 800
150276443 eshan18.09 B March 20, 2022, 2:58 p.m. OK Java 11 TESTS 16 217 0 800
150318470 demo0863 B March 21, 2022, 3:53 a.m. OK Java 11 TESTS 16 218 0 800
150276414 _milon_3.4 B March 20, 2022, 2:58 p.m. OK Java 11 TESTS 16 233 0 800
150302120 Yehia8 B March 20, 2022, 8:10 p.m. OK Java 8 TESTS 16 108 0 800
150295625 CrinklyGolem B March 20, 2022, 6:30 p.m. OK Java 8 TESTS 16 109 0 800
150293913 FirePegasus B March 20, 2022, 6:07 p.m. OK Java 8 TESTS 16 109 0 800
150276756 di_halt B March 20, 2022, 3:01 p.m. OK Java 8 TESTS 16 109 0 800
150275691 Diaa12360 B March 20, 2022, 2:53 p.m. OK Java 8 TESTS 16 109 0 800
150276456 Sjoa B March 20, 2022, 2:59 p.m. OK Java 8 TESTS 16 109 0 800
150320802 RR2000 B March 21, 2022, 4:47 a.m. OK Java 8 TESTS 16 109 0 800
150276908 less_ordinary B March 20, 2022, 3:02 p.m. OK Java 8 TESTS 16 124 0 800
150297101 roctes7 B March 20, 2022, 6:51 p.m. OK Java 8 TESTS 16 124 0 800
150288318 white_square B March 20, 2022, 5:01 p.m. OK Java 8 TESTS 16 124 0 800
150281396 Timoniche B March 20, 2022, 3:45 p.m. OK Kotlin 1.5 TESTS 16 280 0 800
150266227 F_Rio B March 20, 2022, 1:28 p.m. OK MS C++ 2017 TESTS 16 15 204800 800
150265186 return_myself B March 20, 2022, 1:24 p.m. OK MS C++ 2017 TESTS 16 15 204800 800
150265415 ayj35 B March 20, 2022, 1:25 p.m. OK MS C++ 2017 TESTS 16 46 204800 800
150270472 weallxz B March 20, 2022, 1:46 p.m. OK MS C++ 2017 TESTS 16 46 512000 800
150315310 edfearay11 B March 21, 2022, 2:30 a.m. OK MS C++ 2017 TESTS 16 46 819200 800
150312023 vikas.pachisia B March 21, 2022, 12:38 a.m. OK MS C++ 2017 TESTS 16 46 819200 800
150265183 DmtrPpl B March 20, 2022, 1:24 p.m. OK MS C++ 2017 TESTS 16 62 409600 800
150268566 AnnaK B March 20, 2022, 1:39 p.m. OK MS C++ 2017 TESTS 16 62 512000 800
150261228 SWFan B March 20, 2022, 1:04 p.m. OK MS C++ 2017 TESTS 16 187 1024000 800
150287405 Ayman_Attili26 B March 20, 2022, 4:51 p.m. OK MS C++ 2017 TESTS 16 296 716800 800
150289776 suraj B March 20, 2022, 5:17 p.m. OK .NET Core C# TESTS 16 108 2867200 800
150308028 coden00b2021 B March 20, 2022, 10:28 p.m. OK PyPy 2 TESTS 16 93 5427200 800
150283139 kwin B March 20, 2022, 4:03 p.m. OK PyPy 3 TESTS 16 155 5427200 800
150309936 Chiho B March 20, 2022, 11:31 p.m. OK PyPy 3 TESTS 16 171 5939200 800
150281979 worldsaver B March 20, 2022, 3:51 p.m. OK PyPy 3 TESTS 16 171 8601600 800
150299517 legend.ary_as B March 20, 2022, 7:28 p.m. OK PyPy 3 TESTS 16 187 8806400 800
150280398 __J__ B March 20, 2022, 3:35 p.m. OK PyPy 3 TESTS 16 202 8601600 800
150285193 Adolf988 B March 20, 2022, 4:26 p.m. OK PyPy 3 TESTS 16 217 7270400 800
150299188 A_M__T B March 20, 2022, 7:23 p.m. OK PyPy 3 TESTS 16 233 7680000 800
150317408 rutz12 B March 21, 2022, 3:26 a.m. OK PyPy 3 TESTS 16 249 4198400 800
150319277 UnreliableSpare B March 21, 2022, 4:14 a.m. OK PyPy 3 TESTS 16 264 7987200 800
150261073 Dibyendu123 B March 20, 2022, 1:04 p.m. OK PyPy 3 TESTS 16 280 4198400 800
150321834 raushnn B March 21, 2022, 5:07 a.m. OK PyPy 3-64 TESTS 16 109 14336000 800
150279783 Invinc3 B March 20, 2022, 3:28 p.m. OK PyPy 3-64 TESTS 16 139 8601600 800
150293069 nitish420 B March 20, 2022, 5:56 p.m. OK PyPy 3-64 TESTS 16 156 16486400 800
150281122 manish.17 B March 20, 2022, 3:42 p.m. OK PyPy 3-64 TESTS 16 170 28160000 800
150312214 NKUCristiano B March 21, 2022, 12:45 a.m. OK PyPy 3-64 TESTS 16 171 7680000 800
150322724 mmooyyii B March 21, 2022, 5:22 a.m. OK PyPy 3-64 TESTS 16 186 10240000 800
150275970 sPARTY B March 20, 2022, 2:55 p.m. OK PyPy 3-64 TESTS 16 186 12697600 800
150301075 zouyu9631 B March 20, 2022, 7:53 p.m. OK PyPy 3-64 TESTS 16 187 10752000 800
150281639 del-user-774348 B March 20, 2022, 3:47 p.m. OK PyPy 3-64 TESTS 16 202 10547200 800
150291200 Tripodkappa B March 20, 2022, 5:33 p.m. OK PyPy 3-64 TESTS 16 202 19865600 800
150288409 _N_0_0_B_ B March 20, 2022, 5:02 p.m. OK Python 3 TESTS 16 139 1024000 800
150296492 Bishwanath B March 20, 2022, 6:43 p.m. OK Python 3 TESTS 16 155 512000 800
150319215 UnreliableSpare B March 21, 2022, 4:13 a.m. OK Python 3 TESTS 16 155 1331200 800
150281665 samp191919 B March 20, 2022, 3:47 p.m. OK Python 3 TESTS 16 171 512000 800
150292041 X-calibur B March 20, 2022, 5:43 p.m. OK Python 3 TESTS 16 171 716800 800
150298170 Rajesh_Kaipa B March 20, 2022, 7:06 p.m. OK Python 3 TESTS 16 171 921600 800
150302448 FYS B March 20, 2022, 8:17 p.m. OK Python 3 TESTS 16 186 512000 800
150286837 chemistry_guy B March 20, 2022, 4:44 p.m. OK Python 3 TESTS 16 186 512000 800
150285939 AshrafSustS19 B March 20, 2022, 4:34 p.m. OK Python 3 TESTS 16 186 512000 800
150285869 zzzzsust19 B March 20, 2022, 4:33 p.m. OK Python 3 TESTS 16 186 512000 800
150263684 Shinonome_Ena B March 20, 2022, 1:16 p.m. OK Rust 2021 TESTS 16 31 1945600 800

remove filters

Back to search problems