Educational Codeforces Round 139 (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
1766 Educational Codeforces Round 139 (Rated for Div. 2) FINISHED False 7200 60967499 Dec. 12, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 21262 ) B Notepad# PROGRAMMING brute force greedy implementation

B'You want to type the string s , consisting of n lowercase Latin letters, using your favorite text editor Notepad#. Notepad# supports two kinds of operations: Can you type string s in strictly less than n operations? The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of testcases. The first line of each testcase contains a single integer n ( 1 <= n <= 2 cdot 10^5 ) -- the length of the string s . The second line contains a string s , consisting of n lowercase Latin letters. The sum of n doesn 't exceed 2 cdot 10^5 over all testcases. For each testcase, print "YES" if you can type string s in strictly less than n operations. Otherwise, print "NO". In the first testcase, you can start with typing "codef" ( 5 operations), then copy "o" ( 1 operation) from an already typed part, then finish with typing "rces" ( 4 operations). That will be 10 operations, which is not strictly less than n . There exist other ways to type "codeforces". However, no matter what you do, you can 't do less than n operations. In the second testcase, you can type "labac" ( 5 operations), then copy "aba" ( 1 operation), finishing the string in 6 operations. '...

Tutorials

110066

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
185008307 kakoy_to_sportsman B Dec. 12, 2022, 8:23 p.m. OK C# 10 TESTS 9 124 3276800
185061001 ansergeyg B Dec. 13, 2022, 10:32 a.m. OK C# 8 TESTS 9 171 4096000
185056007 bluemegane B Dec. 13, 2022, 9:42 a.m. OK C# 8 TESTS 9 1294 3686400
185002111 gxlois B Dec. 12, 2022, 7:13 p.m. OK GNU C11 TESTS 9 31 614400
185054643 _Rezwana B Dec. 13, 2022, 9:29 a.m. OK GNU C11 TESTS 9 46 204800
185090885 mdfaabrar257 B Dec. 13, 2022, 2:55 p.m. OK GNU C11 TESTS 9 46 204800
185064099 naiweilan B Dec. 13, 2022, 11:02 a.m. OK GNU C11 TESTS 9 46 204800
185041506 Ahnaf_Twaha B Dec. 13, 2022, 7:17 a.m. OK GNU C11 TESTS 9 46 204800
185019646 mafijul B Dec. 13, 2022, 12:26 a.m. OK GNU C11 TESTS 9 46 204800
185031352 Sasidhar3159 B Dec. 13, 2022, 4:41 a.m. OK GNU C11 TESTS 9 61 204800
185019697 mafijul B Dec. 13, 2022, 12:28 a.m. OK GNU C11 TESTS 9 62 204800
185027292 ikun_w B Dec. 13, 2022, 3:31 a.m. OK GNU C11 TESTS 9 93 409600
185050588 Interested B Dec. 13, 2022, 8:54 a.m. OK GNU C11 TESTS 9 249 204800
185021873 JustACommonMan B Dec. 13, 2022, 1:33 a.m. OK GNU C++14 TESTS 9 15 512000
185076621 2745518585 B Dec. 13, 2022, 12:55 p.m. OK GNU C++14 TESTS 9 15 5017600
185051840 dimitri1244 B Dec. 13, 2022, 9:05 a.m. OK GNU C++14 TESTS 9 15 40652800
185082264 j412 B Dec. 13, 2022, 1:43 p.m. OK GNU C++14 TESTS 9 30 512000
185027268 rajurastogi B Dec. 13, 2022, 3:30 a.m. OK GNU C++14 TESTS 9 30 512000
185081102 hacker_dvd B Dec. 13, 2022, 1:33 p.m. OK GNU C++14 TESTS 9 30 2560000
185021900 zxl2022 B Dec. 13, 2022, 1:34 a.m. OK GNU C++14 TESTS 9 31 204800
185092795 adityaprak01 B Dec. 13, 2022, 3:11 p.m. OK GNU C++14 TESTS 9 31 512000
185088815 Kuldeep0901 B Dec. 13, 2022, 2:37 p.m. OK GNU C++14 TESTS 9 31 512000
185133847 liangbowen B Dec. 14, 2022, 2:26 a.m. OK GNU C++14 TESTS 9 31 512000
185063613 chengcheng5677 B Dec. 13, 2022, 10:58 a.m. OK GNU C++17 TESTS 9 15 204800
185049766 l1l1l1l1 B Dec. 13, 2022, 8:47 a.m. OK GNU C++17 TESTS 9 15 204800
185099711 xxTailsmanxx B Dec. 13, 2022, 4:10 p.m. OK GNU C++17 TESTS 9 15 512000
185091227 Kirito8055 B Dec. 13, 2022, 2:58 p.m. OK GNU C++17 TESTS 9 15 512000
185087016 rifatrraazz B Dec. 13, 2022, 2:22 p.m. OK GNU C++17 TESTS 9 15 512000
185079709 woyoubuluanlai B Dec. 13, 2022, 1:22 p.m. OK GNU C++17 TESTS 9 15 512000
185078855 manavminsk B Dec. 13, 2022, 1:15 p.m. OK GNU C++17 TESTS 9 15 512000
185073673 Shengmuqian B Dec. 13, 2022, 12:30 p.m. OK GNU C++17 TESTS 9 15 512000
185071375 huyaowen B Dec. 13, 2022, 12:08 p.m. OK GNU C++17 TESTS 9 15 512000
185128681 jbhus B Dec. 13, 2022, 11:25 p.m. OK GNU C++17 TESTS 9 15 512000
185133330 Alex_Wei B Dec. 14, 2022, 2:08 a.m. OK GNU C++17 (64) TESTS 9 15 512000
185019466 Alex_Wei B Dec. 13, 2022, 12:19 a.m. OK GNU C++17 (64) TESTS 9 15 512000
185020645 shuoxuanli B Dec. 13, 2022, 12:57 a.m. OK GNU C++17 (64) TESTS 9 15 512000
185084277 camc B Dec. 13, 2022, 1:59 p.m. OK GNU C++17 (64) TESTS 9 15 512000
185012390 enslaved B Dec. 12, 2022, 9:20 p.m. OK GNU C++17 (64) TESTS 9 31 512000
185018237 Awesome3.14 B Dec. 12, 2022, 11:36 p.m. OK GNU C++17 (64) TESTS 9 31 512000
185042505 soumilaggarwal B Dec. 13, 2022, 7:28 a.m. OK GNU C++17 (64) TESTS 9 31 512000
185132487 PEKKA_l B Dec. 14, 2022, 1:42 a.m. OK GNU C++17 (64) TESTS 9 46 204800
185123171 oneku B Dec. 13, 2022, 9:07 p.m. OK GNU C++17 (64) TESTS 9 46 512000
185141471 xinjiu B Dec. 14, 2022, 5:20 a.m. OK GNU C++17 (64) TESTS 9 46 512000
185056705 toufikislam268 B Dec. 13, 2022, 9:49 a.m. OK GNU C++20 (64) TESTS 9 15 102400
185020507 AkaiLemon B Dec. 13, 2022, 12:53 a.m. OK GNU C++20 (64) TESTS 9 15 204800
185099673 xiaoyo B Dec. 13, 2022, 4:09 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185100086 xiaoyo B Dec. 13, 2022, 4:13 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185100266 xiaoyo B Dec. 13, 2022, 4:14 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185030816 DanielzNikolaevna B Dec. 13, 2022, 4:33 a.m. OK GNU C++20 (64) TESTS 9 15 512000
185122166 ScarletS B Dec. 13, 2022, 8:48 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185140547 tempdefaultdef B Dec. 14, 2022, 5:03 a.m. OK GNU C++20 (64) TESTS 9 15 512000
185112882 p.ferrari B Dec. 13, 2022, 6:05 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185076906 Satoru B Dec. 13, 2022, 12:58 p.m. OK GNU C++20 (64) TESTS 9 15 512000
185122048 shiro B Dec. 13, 2022, 8:45 p.m. OK Go TESTS 9 31 5017600
185096256 sf14t B Dec. 13, 2022, 3:40 p.m. OK Java 11 TESTS 9 171 0
185057301 kartik__sethi B Dec. 13, 2022, 9:55 a.m. OK Java 11 TESTS 9 202 0
185049284 sduMamutbekov B Dec. 13, 2022, 8:43 a.m. OK Java 11 TESTS 9 202 0
185022890 nis1234 B Dec. 13, 2022, 1:58 a.m. OK Java 11 TESTS 9 202 0
185042301 ku_sad_69 B Dec. 13, 2022, 7:26 a.m. OK Java 11 TESTS 9 249 0
185143213 Siddharth_Singh_here B Dec. 14, 2022, 5:49 a.m. OK Java 11 TESTS 9 264 0
185055309 MindSlayer B Dec. 13, 2022, 9:36 a.m. OK Java 11 TESTS 9 264 0
185086861 rd37574 B Dec. 13, 2022, 2:21 p.m. OK Java 11 TESTS 9 280 0
185070052 gayatri__ambati B Dec. 13, 2022, 11:56 a.m. OK Java 11 TESTS 9 295 0
185015737 mcrash12 B Dec. 12, 2022, 10:25 p.m. OK Java 11 TESTS 9 311 0
185020590 uwuenvy B Dec. 13, 2022, 12:56 a.m. OK Java 17 TESTS 9 202 716800
185002650 Mafishard B Dec. 12, 2022, 7:18 p.m. OK Java 17 TESTS 9 249 102400
185024009 mdmehedihqssqn B Dec. 13, 2022, 2:26 a.m. OK Java 17 TESTS 9 295 819200
185000443 Tonystark999 B Dec. 12, 2022, 6:58 p.m. OK Java 17 TESTS 9 296 307200
185056963 gigaby8 B Dec. 13, 2022, 9:51 a.m. OK Java 17 TESTS 9 296 512000
185060142 goalboy B Dec. 13, 2022, 10:24 a.m. OK Java 17 TESTS 9 296 819200
185102556 Aniruddha_Pawar B Dec. 13, 2022, 4:33 p.m. OK Java 17 TESTS 9 373 1024000
185047165 Touhid47 B Dec. 13, 2022, 8:25 a.m. OK Java 17 TESTS 9 608 614400
185055531 destroyer11 B Dec. 13, 2022, 9:38 a.m. OK Java 17 TESTS 9 1887 1024000
185140864 WoodenTable B Dec. 14, 2022, 5:09 a.m. OK Java 17 TESTS 9 2854 716800
185073326 priyaroy3370 B Dec. 13, 2022, 12:27 p.m. OK Java 8 TESTS 9 93 0
185011795 Abdallah_Ragab00 B Dec. 12, 2022, 9:10 p.m. OK Java 8 TESTS 9 93 0
185126912 mohamedhassan_c B Dec. 13, 2022, 10:30 p.m. OK Java 8 TESTS 9 124 0
185095436 govindrajput B Dec. 13, 2022, 3:33 p.m. OK Java 8 TESTS 9 124 0
185019546 ikillmyself B Dec. 13, 2022, 12:22 a.m. OK Java 8 TESTS 9 124 0
185039852 Koka B Dec. 13, 2022, 7 a.m. OK Java 8 TESTS 9 139 0
185141740 hanisntsolo B Dec. 14, 2022, 5:25 a.m. OK Java 8 TESTS 9 139 41472000
185042850 kumarankit1041999 B Dec. 13, 2022, 7:32 a.m. OK Java 8 TESTS 9 140 0
185128281 rameznashaat9999 B Dec. 13, 2022, 11:12 p.m. OK Java 8 TESTS 9 155 0
185019906 ArcadioN B Dec. 13, 2022, 12:34 a.m. OK Java 8 TESTS 9 186 0
185093892 Crysaac B Dec. 13, 2022, 3:20 p.m. OK Kotlin 1.7 TESTS 9 608 23040000
185001885 devashish19 B Dec. 12, 2022, 7:11 p.m. OK Kotlin 1.7 TESTS 9 624 103526400
185001509 devashish19 B Dec. 12, 2022, 7:08 p.m. OK Kotlin 1.7 TESTS 9 654 129536000
185001199 devashish18 B Dec. 12, 2022, 7:05 p.m. OK Kotlin 1.7 TESTS 9 795 106393600
185074420 Spartan3002 B Dec. 13, 2022, 12:36 p.m. OK MS C++ 2017 TESTS 9 61 614400
185082337 honakakaka B Dec. 13, 2022, 1:44 p.m. OK MS C++ 2017 TESTS 9 62 409600
185108681 reversir B Dec. 13, 2022, 5:26 p.m. OK MS C++ 2017 TESTS 9 93 614400
185090427 shantrapa B Dec. 13, 2022, 2:51 p.m. OK MS C++ 2017 TESTS 9 171 614400
185003598 whiteReboot B Dec. 12, 2022, 7:28 p.m. OK MS C++ 2017 TESTS 9 202 204800
185026539 caiji_liu B Dec. 13, 2022, 3:17 a.m. OK MS C++ 2017 TESTS 9 202 614400
185107135 akshit_17 B Dec. 13, 2022, 5:13 p.m. OK MS C++ 2017 TESTS 9 280 614400
185054792 kuki123 B Dec. 13, 2022, 9:31 a.m. OK MS C++ 2017 TESTS 9 1700 614400
185133125 availablegreen B Dec. 14, 2022, 2:02 a.m. OK Node.js TESTS 9 389 7987200
185121714 grawlixes B Dec. 13, 2022, 8:37 p.m. OK PyPy 3 TESTS 9 140 5529600
185055889 voicon B Dec. 13, 2022, 9:41 a.m. OK PyPy 3 TESTS 9 155 5734400
185139904 Raindrops1117 B Dec. 14, 2022, 4:51 a.m. OK PyPy 3 TESTS 9 327 9932800
185106251 sgcc B Dec. 13, 2022, 5:05 p.m. OK PyPy 3 TESTS 9 373 7782400
185073854 fntfaizan B Dec. 13, 2022, 12:31 p.m. OK PyPy 3 TESTS 9 373 7884800
185066099 victorlf B Dec. 13, 2022, 11:19 a.m. OK PyPy 3 TESTS 9 389 9318400
185102023 labibalfaisal B Dec. 13, 2022, 4:29 p.m. OK PyPy 3 TESTS 9 389 9420800
185052771 Saad121002 B Dec. 13, 2022, 9:12 a.m. OK PyPy 3 TESTS 9 405 8294400
185073123 fntfaizan B Dec. 13, 2022, 12:25 p.m. OK PyPy 3 TESTS 9 405 8396800
185026715 hxu10 B Dec. 13, 2022, 3:20 a.m. OK PyPy 3 TESTS 9 405 9011200
185047658 mayank35 B Dec. 13, 2022, 8:29 a.m. OK PyPy 3-64 TESTS 9 109 6758400
185027539 Youarenotgood B Dec. 13, 2022, 3:35 a.m. OK PyPy 3-64 TESTS 9 109 8089600
185081941 chiralcentre B Dec. 13, 2022, 1:41 p.m. OK PyPy 3-64 TESTS 9 124 4812800
185043161 harshk_52 B Dec. 13, 2022, 7:35 a.m. OK PyPy 3-64 TESTS 9 139 9113600
185014371 gesuta B Dec. 12, 2022, 9:54 p.m. OK PyPy 3-64 TESTS 9 139 9625600
185042988 harshk_52 B Dec. 13, 2022, 7:33 a.m. OK PyPy 3-64 TESTS 9 140 9113600
185039644 aneesh2002 B Dec. 13, 2022, 6:58 a.m. OK PyPy 3-64 TESTS 9 155 9113600
185098324 Gtintin B Dec. 13, 2022, 3:58 p.m. OK PyPy 3-64 TESTS 9 155 9728000
185020066 sjNxksbzj B Dec. 13, 2022, 12:40 a.m. OK PyPy 3-64 TESTS 9 171 9728000
185012647 oneku B Dec. 12, 2022, 9:24 p.m. OK PyPy 3-64 TESTS 9 187 5836800
185086054 bogdan_ii B Dec. 13, 2022, 2:15 p.m. OK Python 3 TESTS 9 124 512000
185068340 sarveshschauhan B Dec. 13, 2022, 11:41 a.m. OK Python 3 TESTS 9 140 716800
185019203 drew138 B Dec. 13, 2022, 12:09 a.m. OK Python 3 TESTS 9 155 307200
185141920 Insomniac-12 B Dec. 14, 2022, 5:28 a.m. OK Python 3 TESTS 9 155 716800
185140272 iota_codes B Dec. 14, 2022, 4:58 a.m. OK Python 3 TESTS 9 155 716800
185125061 Seventh_Hokage B Dec. 13, 2022, 9:46 p.m. OK Python 3 TESTS 9 155 716800
185111039 Mukul_01 B Dec. 13, 2022, 5:48 p.m. OK Python 3 TESTS 9 155 716800
185019641 NoLongerHuman B Dec. 13, 2022, 12:25 a.m. OK Python 3 TESTS 9 156 409600
185099096 adarsh23 B Dec. 13, 2022, 4:04 p.m. OK Python 3 TESTS 9 156 716800
185081499 mr.bippen B Dec. 13, 2022, 1:37 p.m. OK Python 3 TESTS 9 156 716800
185018964 liut B Dec. 13, 2022, midnight OK Rust 2021 TESTS 9 30 819200

remove filters

Back to search problems