Educational Codeforces Round 168 (Rated for 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
1997 Educational Codeforces Round 168 (Rated for Div. 2) FINISHED False 7200 22260279 July 30, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 31037 ) A Strong Password PROGRAMMING implementation

B"Monocarp's current password on Codeforces is a string s , consisting of lowercase Latin letters. Monocarp thinks that his current password is too weak, so he wants to insert exactly one lowercase Latin letter into the password to make it stronger. Monocarp can choose any letter and insert it anywhere, even before the first character or after the last character. Monocarp thinks that the password's strength is proportional to the time it takes him to type the password. The time it takes to type the password is calculated as follows: For example, the time it takes to type the password abacaba is 14 ; the time it takes to type the password a is 2 ; the time it takes to type the password aaabacc is 11 . You have to help Monocarp -- insert a lowercase Latin letter into his password so that the resulting password takes the maximum possible amount of time to type. The first line contains one integer t ( 1 <= t <= 1000 ) -- the number of test cases. Each test case consists of one line containing the string s ( 1 <= |s| <= 10 ), consisting of lowercase Latin letters. For each test case, print one line containing the new password -- a string which can be obtained from s by inserting one lowercase Latin letter. The string you print should have the maximum possible required time to type it. If there are multiple answers, print any of them. "...

Tutorials

Video Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
273647991 songjiahao_ A July 31, 2024, 2:17 a.m. OK C++14 (GCC 6-32) TESTS 3 15 0
273668100 Lijunzhuo A July 31, 2024, 5:47 a.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273645384 Sunnynotsan1 A July 31, 2024, 1:48 a.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273642721 mumumu111 A July 31, 2024, 1:14 a.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273641202 drinktowind A July 31, 2024, 12:52 a.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273618625 Adarshkodes A July 30, 2024, 7:02 p.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273602720 TW_HHT A July 30, 2024, 5:18 p.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273612455 luffy_2311 A July 30, 2024, 6:15 p.m. OK C++14 (GCC 6-32) TESTS 3 30 0
273669795 bn03 A July 31, 2024, 6:02 a.m. OK C++14 (GCC 6-32) TESTS 3 31 0
273667357 scream_g0d A July 31, 2024, 5:40 a.m. OK C++14 (GCC 6-32) TESTS 3 31 0
273650127 Justsomebodeh A July 31, 2024, 2:40 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273667729 tanvir_islam A July 31, 2024, 5:44 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273664246 Ankit_1703 A July 31, 2024, 5:09 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273663575 rafid_adib A July 31, 2024, 5:01 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273661564 anurag2787 A July 31, 2024, 4:38 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273659730 sparrow_ A July 31, 2024, 4:17 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273659159 shashankvashistha1 A July 31, 2024, 4:10 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273658063 zzzz112233 A July 31, 2024, 3:58 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273653656 NI_Pavel A July 31, 2024, 3:14 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273648385 H_M_K A July 31, 2024, 2:22 a.m. OK C++17 (GCC 7-32) TESTS 3 30 0
273650808 adam01 A July 31, 2024, 2:47 a.m. OK C++20 (GCC 13-64) TESTS 3 15 0
273667616 Chill_xy A July 31, 2024, 5:43 a.m. OK C++20 (GCC 13-64) TESTS 3 15 0
273640690 Syllogisms A July 31, 2024, 12:42 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273668007 Ptyy A July 31, 2024, 5:47 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273667363 soham_14 A July 31, 2024, 5:41 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273662546 baklol_choder A July 31, 2024, 4:49 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273662504 Himanshu_Singh_cpp A July 31, 2024, 4:48 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273657567 DaRuuk A July 31, 2024, 3:53 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273652832 simonsimple305 A July 31, 2024, 3:06 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273648189 blackcheems A July 31, 2024, 2:20 a.m. OK C++20 (GCC 13-64) TESTS 3 30 0
273633306 bluemegane A July 30, 2024, 10:21 p.m. OK C# 8 TESTS 3 93 0
273606870 NoobCoderWT A July 30, 2024, 5:41 p.m. OK GNU C11 TESTS 3 31 102400
273609323 vansh_oberoi07 A July 30, 2024, 5:55 p.m. OK GNU C11 TESTS 3 46 614400
273602222 nahornyi-danylo A July 30, 2024, 5:16 p.m. OK GNU C11 TESTS 3 61 0
273624055 rajkesharwani14428o A July 30, 2024, 7:57 p.m. OK GNU C11 TESTS 3 61 102400
273628085 rahulkumardas45 A July 30, 2024, 8:50 p.m. OK GNU C11 TESTS 3 62 102400
273612828 salmanswe A July 30, 2024, 6:17 p.m. OK Go TESTS 3 62 307200
273658461 botayhard A July 31, 2024, 4:02 a.m. OK Go TESTS 3 62 4403200
273634148 UNsOlVeR_ben_3laa_Zero A July 30, 2024, 10:42 p.m. OK Java 21 TESTS 3 202 1126400
273647551 wawa333666 A July 31, 2024, 2:12 a.m. OK Java 21 TESTS 3 217 819200
273608081 ankush9140 A July 30, 2024, 5:48 p.m. OK Java 21 TESTS 3 218 409600
273641826 flyingArpit A July 31, 2024, 1:02 a.m. OK Java 21 TESTS 3 218 819200
273636980 Alignment A July 30, 2024, 11:50 p.m. OK Java 21 TESTS 3 218 921600
273614139 Pavan__ A July 30, 2024, 6:26 p.m. OK Java 21 TESTS 3 218 1126400
273612469 dzhi A July 30, 2024, 6:15 p.m. OK Java 21 TESTS 3 218 1945600
273614443 tisha.jaiswal.phe21 A July 30, 2024, 6:28 p.m. OK Java 21 TESTS 3 233 819200
273608724 ManasM01 A July 30, 2024, 5:52 p.m. OK Java 21 TESTS 3 234 102400
273603930 RoshanJha23 A July 30, 2024, 5:25 p.m. OK Java 21 TESTS 3 234 307200
273637403 Yousef_Badr A July 31, 2024, midnight OK Java 8 TESTS 3 124 0
273635313 lightbulb112 A July 30, 2024, 11:11 p.m. OK Java 8 TESTS 3 124 0
273605904 JatinRajput A July 30, 2024, 5:36 p.m. OK Java 8 TESTS 3 139 0
273667989 ayush.svt A July 31, 2024, 5:46 a.m. OK Java 8 TESTS 3 140 0
273660923 NerfThis A July 31, 2024, 4:31 a.m. OK Java 8 TESTS 3 140 0
273605411 faresbadr316 A July 30, 2024, 5:33 p.m. OK Java 8 TESTS 3 155 0
273615177 Sumitsingh7 A July 30, 2024, 6:34 p.m. OK Java 8 TESTS 3 155 6656000
273666571 2manas1 A July 31, 2024, 5:33 a.m. OK Java 8 TESTS 3 156 0
273640831 naman_9045 A July 31, 2024, 12:45 a.m. OK Java 8 TESTS 3 156 0
273659027 2210030272 A July 31, 2024, 4:09 a.m. OK Java 8 TESTS 3 171 0
273598869 rsFalse A July 30, 2024, 5:01 p.m. OK Perl TESTS 3 62 0
273610527 elkiasrforce A July 30, 2024, 6:02 p.m. OK PyPy 3 TESTS 3 124 3891200
273666565 T_ilight A July 31, 2024, 5:32 a.m. OK PyPy 3 TESTS 3 139 2867200
273612502 krpb124578 A July 30, 2024, 6:15 p.m. OK PyPy 3 TESTS 3 155 4096000
273604111 MTA9402 A July 30, 2024, 5:26 p.m. OK PyPy 3 TESTS 3 218 5427200
273612951 DeathbringerY A July 30, 2024, 6:18 p.m. OK PyPy 3-64 TESTS 3 77 1536000
273667044 rgeethameenakshi A July 31, 2024, 5:37 a.m. OK PyPy 3-64 TESTS 3 77 2048000
273649146 tricktator A July 31, 2024, 2:30 a.m. OK PyPy 3-64 TESTS 3 77 2048000
273648732 tricktator A July 31, 2024, 2:25 a.m. OK PyPy 3-64 TESTS 3 77 2048000
273612852 rrb_01 A July 30, 2024, 6:17 p.m. OK PyPy 3-64 TESTS 3 77 2048000
273618879 gardengnome A July 30, 2024, 7:04 p.m. OK PyPy 3-64 TESTS 3 92 1433600
273624085 NitroSpear A July 30, 2024, 7:58 p.m. OK PyPy 3-64 TESTS 3 93 1536000
273615617 07-priyanshu A July 30, 2024, 6:37 p.m. OK PyPy 3-64 TESTS 3 93 2048000
273614804 Srichakra A July 30, 2024, 6:31 p.m. OK PyPy 3-64 TESTS 3 93 2048000
273669767 sanskriti.23 A July 31, 2024, 6:02 a.m. OK PyPy 3-64 TESTS 3 93 2150400
273625508 eugalt A July 30, 2024, 8:16 p.m. OK Python 3 TESTS 3 46 0
273606090 Dr_Gero007 A July 30, 2024, 5:37 p.m. OK Python 3 TESTS 3 46 0
273667108 Jagadeeshchakka A July 31, 2024, 5:38 a.m. OK Python 3 TESTS 3 61 0
273661280 shagor1 A July 31, 2024, 4:35 a.m. OK Python 3 TESTS 3 61 0
273659409 javlonbekh2007 A July 31, 2024, 4:13 a.m. OK Python 3 TESTS 3 61 0
273657237 Aravindreddy45 A July 31, 2024, 3:50 a.m. OK Python 3 TESTS 3 61 0
273652785 hzhl123 A July 31, 2024, 3:06 a.m. OK Python 3 TESTS 3 61 0
273651952 areana__ A July 31, 2024, 2:58 a.m. OK Python 3 TESTS 3 61 0
273640554 V_SaiDeep A July 31, 2024, 12:39 a.m. OK Python 3 TESTS 3 61 0
273598828 mahathir73 A July 30, 2024, 5 p.m. OK Python 3 TESTS 3 61 0
273604055 fieubat2x A July 30, 2024, 5:25 p.m. OK Rust 2021 TESTS 3 31 0
273663020 codesbyayush A July 31, 2024, 4:54 a.m. OK Rust 2021 TESTS 3 46 0
273647737 Hawawshy A July 31, 2024, 2:15 a.m. OK Rust 2021 TESTS 3 46 0
273634470 Samuelzila A July 30, 2024, 10:49 p.m. OK Rust 2021 TESTS 3 46 0
273600420 fieubat2x A July 30, 2024, 5:07 p.m. OK Rust 2021 TESTS 3 46 0

remove filters

Back to search problems