Educational Codeforces Round 62 (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
1140 Educational Codeforces Round 62 (Rated for Div. 2) FINISHED False 7200 178556099 March 22, 2019, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 11357 ) B Good String PROGRAMMING implementation strings 1200

B"You have a string s of length n consisting of only characters > and <. You may do some operations with this string, for each operation you have to choose some character that still remains in the string. If you choose a character >, the character that comes right after it is deleted (if the character you chose was the last one, nothing happens). If you choose a character <, the character that comes right before it is deleted (if the character you chose was the first one, nothing happens). For example, if we choose character > in string > > < >, the string will become to > > >. And if we choose character < in string > <, the string will become to <. The string is good if there is a sequence of operations such that after performing it only one character will remain in the string. For example, the strings >, > > are good. Before applying the operations, you may remove any number of characters from the given string (possibly none, possibly up to n - 1 , but not the whole string). You need to calculate the minimum number of characters to be deleted from string s so that it becomes good. The first line contains one integer t ( 1 <= t <= 100 ) xe2 x80 x93 the number of test cases. Each test case is represented by two lines. The first line of i -th test case contains one integer n ( 1 <= n <= 100 ) xe2 x80 x93 the length of string s . The second line of i -th test case contains string s , consisting of only characters > and <. For each test case print one line. For i -th test case print the minimum number of characters to be deleted from string s so that it becomes good. In the first test case we can delete any character in string <>. In the second test case we don't need to delete any characters. The string > < < is good, because we can perform the following sequence of operations: > < < rightarrow < < rightarrow <. "...

Tutorials

Educational Codeforces Round 62 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
51804043 Ptaszor3 B March 24, 2019, 8:01 p.m. OK Clang++17 Diagnostics TESTS 13 46 2150400 1200
51821775 cedretaber B March 25, 2019, 12:23 p.m. OK D TESTS 13 31 0 1200
51809161 pqhieu B March 25, 2019, 3:20 a.m. OK FPC TESTS 13 15 204800 1200
51754422 AHTOH._. B March 23, 2019, 10:58 a.m. OK FPC TESTS 13 30 204800 1200
51786673 TheCard B March 24, 2019, 10:57 a.m. OK FPC TESTS 13 31 204800 1200
52490708 hyf000831 B April 8, 2019, 11:31 a.m. OK GNU C11 TESTS 13 15 0 1200
51888641 sansen B March 27, 2019, 7:55 a.m. OK GNU C11 TESTS 13 15 0 1200
51825187 NoSoul B March 25, 2019, 1:43 p.m. OK GNU C11 TESTS 13 15 0 1200
51794123 almight1 B March 24, 2019, 2:14 p.m. OK GNU C11 TESTS 13 15 0 1200
51759618 akash19jain B March 23, 2019, 1:10 p.m. OK GNU C11 TESTS 13 15 0 1200
51905695 RuthvikJanu B March 27, 2019, 3:24 p.m. OK GNU C11 TESTS 13 15 0 1200
52154640 2018030401093 B April 1, 2019, 12:58 p.m. OK GNU C11 TESTS 13 15 1228800 1200
53677575 atiq12357894466 B May 2, 2019, 4:53 p.m. OK GNU C11 TESTS 13 15 2048000 1200
64593715 ratul_supertramp B Nov. 9, 2019, 3:46 p.m. OK GNU C11 TESTS 13 30 0 1200
63944655 vjudge2 B Oct. 31, 2019, 6:30 p.m. OK GNU C11 TESTS 13 30 0 1200
58991371 YLWang B Aug. 18, 2019, 9:22 a.m. OK GNU C++11 TESTS 13 15 0 1200
58102419 Atlish B Aug. 1, 2019, 2 a.m. OK GNU C++11 TESTS 13 15 0 1200
57319771 xunzf B July 19, 2019, 9:31 a.m. OK GNU C++11 TESTS 13 15 0 1200
56071320 wucstdio B June 26, 2019, 10:36 a.m. OK GNU C++11 TESTS 13 15 0 1200
55423634 hdt91 B June 11, 2019, 7:52 a.m. OK GNU C++11 TESTS 13 15 0 1200
55211750 Siyue B June 6, 2019, 2:55 p.m. OK GNU C++11 TESTS 13 15 0 1200
67388069 Mushfiq4513 B Dec. 21, 2019, 6:33 p.m. OK GNU C++11 TESTS 13 15 0 1200
64795171 jiangly B Nov. 13, 2019, 12:38 p.m. OK GNU C++11 TESTS 13 15 0 1200
59834112 3016216090 B Sept. 1, 2019, 2:29 a.m. OK GNU C++11 TESTS 13 15 0 1200
58991395 YLWang B Aug. 18, 2019, 9:22 a.m. OK GNU C++11 TESTS 13 15 0 1200
68410126 KarimElghamry B Jan. 8, 2020, 4:40 p.m. OK GNU C++14 TESTS 13 15 0 1200
68425505 htmlbot B Jan. 9, 2020, 2:54 a.m. OK GNU C++14 TESTS 13 15 0 1200
69200646 ragee B Jan. 20, 2020, 4:24 p.m. OK GNU C++14 TESTS 13 15 0 1200
69818116 SUGA_AUGUST-D B Jan. 30, 2020, 6:49 a.m. OK GNU C++14 TESTS 13 15 0 1200
69844284 NoobWarrior B Jan. 30, 2020, 1:57 p.m. OK GNU C++14 TESTS 13 15 0 1200
69855153 white_walker B Jan. 30, 2020, 4:45 p.m. OK GNU C++14 TESTS 13 15 0 1200
68158886 sr4saurabh B Jan. 4, 2020, 10:02 a.m. OK GNU C++14 TESTS 13 15 0 1200
68122948 ankit_akr B Jan. 3, 2020, 2:02 p.m. OK GNU C++14 TESTS 13 15 0 1200
67614358 sparsh_03 B Dec. 25, 2019, 4:38 p.m. OK GNU C++14 TESTS 13 15 0 1200
66288590 rajprakrit B Dec. 4, 2019, 8:38 p.m. OK GNU C++14 TESTS 13 15 0 1200
67291754 KG_1910 B Dec. 20, 2019, 3:47 p.m. OK GNU C++17 TESTS 13 15 0 1200
69770774 somesh1714 B Jan. 29, 2020, 4:02 p.m. OK GNU C++17 TESTS 13 15 0 1200
69228702 Quczer B Jan. 21, 2020, 8:31 a.m. OK GNU C++17 TESTS 13 15 0 1200
69197181 Janvi_Patel B Jan. 20, 2020, 3:18 p.m. OK GNU C++17 TESTS 13 15 0 1200
68735322 Gratata B Jan. 13, 2020, 7:53 p.m. OK GNU C++17 TESTS 13 15 0 1200
68381978 DevJewel B Jan. 8, 2020, 2:16 a.m. OK GNU C++17 TESTS 13 15 0 1200
67680590 nimmi_001 B Dec. 27, 2019, 6:08 a.m. OK GNU C++17 TESTS 13 15 0 1200
67669014 may_21 B Dec. 26, 2019, 7:14 p.m. OK GNU C++17 TESTS 13 15 0 1200
67607537 Doncic B Dec. 25, 2019, 2:09 p.m. OK GNU C++17 TESTS 13 15 0 1200
67157470 kirill2000 B Dec. 18, 2019, 12:57 p.m. OK GNU C++17 TESTS 13 15 0 1200
51739295 fayzzz B March 23, 2019, 4:58 a.m. OK Go TESTS 13 15 0 1200
52078335 mishagam B March 31, 2019, 11:06 a.m. OK Go TESTS 13 31 0 1200
51731885 fayzzz B March 22, 2019, 9:48 p.m. OK Go TESTS 13 31 0 1200
51731728 fayzzz B March 22, 2019, 9:41 p.m. OK Go TESTS 13 31 0 1200
51881640 boltUsain B March 27, 2019, 1:49 a.m. OK Java 8 TESTS 13 93 0 1200
51750309 niteshgowda B March 23, 2019, 9:17 a.m. OK Java 8 TESTS 13 93 0 1200
51721037 CF_TEMP B March 22, 2019, 5:18 p.m. OK Java 8 TESTS 13 93 0 1200
54706115 hridaygoyal007 B May 27, 2019, 5:11 a.m. OK Java 8 TESTS 13 108 0 1200
53085630 tahasin B April 21, 2019, 8:46 a.m. OK Java 8 TESTS 13 108 0 1200
52293097 Piccadilly B April 4, 2019, 4:01 a.m. OK Java 8 TESTS 13 108 0 1200
52279318 arvind_rvs B April 3, 2019, 4:11 p.m. OK Java 8 TESTS 13 108 0 1200
52058419 icpc_loser B March 30, 2019, 9:31 p.m. OK Java 8 TESTS 13 108 0 1200
51918801 yatin B March 28, 2019, 1:49 a.m. OK Java 8 TESTS 13 108 0 1200
51918451 AmmarAlsharif B March 28, 2019, 1:20 a.m. OK Java 8 TESTS 13 108 0 1200
61099042 Spheniscine B Sept. 23, 2019, 5:37 a.m. OK Kotlin TESTS 13 124 0 1200
52721361 vadimmm B April 13, 2019, 8:03 p.m. OK Kotlin TESTS 13 139 0 1200
51874490 rds__98 B March 26, 2019, 6:51 p.m. OK Kotlin TESTS 13 139 0 1200
59888595 david_varela B Sept. 2, 2019, 9:17 a.m. OK Kotlin TESTS 13 140 0 1200
54008138 Farwent B May 11, 2019, 9:59 p.m. OK Kotlin TESTS 13 140 0 1200
51721202 spookywooky B March 22, 2019, 5:20 p.m. OK Kotlin TESTS 13 140 0 1200
59888387 david_varela B Sept. 2, 2019, 9:11 a.m. OK Kotlin TESTS 13 155 0 1200
52003535 nastya1199 B March 30, 2019, 7:20 a.m. OK Mono C# TESTS 13 31 0 1200
52746521 zazak B April 14, 2019, 11:57 a.m. OK Mono C# TESTS 13 46 0 1200
52350150 NikolaySchepalov B April 5, 2019, 2:15 p.m. OK Mono C# TESTS 13 46 0 1200
52256595 treasuryonly B April 3, 2019, 6:10 a.m. OK Mono C# TESTS 13 46 0 1200
52019238 Mosyagin B March 30, 2019, 11:54 a.m. OK Mono C# TESTS 13 46 0 1200
51854066 TRR B March 26, 2019, 9:42 a.m. OK Mono C# TESTS 13 46 0 1200
55537700 ablewhite B June 13, 2019, 5:26 p.m. OK Mono C# TESTS 13 46 0 1200
55536827 bubuta B June 13, 2019, 4:54 p.m. OK Mono C# TESTS 13 46 0 1200
54869866 og.kostya B May 31, 2019, 8:36 a.m. OK Mono C# TESTS 13 46 0 1200
52952841 Xtreemist B April 18, 2019, 12:36 p.m. OK Mono C# TESTS 13 46 0 1200
54482890 vjudge4 B May 22, 2019, 11:49 a.m. OK MS C++ TESTS 13 15 0 1200
51773830 pavel979 B March 23, 2019, 8:03 p.m. OK MS C++ TESTS 13 15 0 1200
63700997 vjudge2 B Oct. 29, 2019, 7:19 a.m. OK MS C++ TESTS 13 15 0 1200
63413422 weiguangyuehui B Oct. 26, 2019, 2:35 a.m. OK MS C++ TESTS 13 15 0 1200
53973935 vjudge5 B May 11, 2019, 2:07 a.m. OK MS C++ TESTS 13 15 0 1200
55700718 vjudge5 B June 18, 2019, 3:50 a.m. OK MS C++ TESTS 13 15 0 1200
55700701 vjudge2 B June 18, 2019, 3:49 a.m. OK MS C++ TESTS 13 15 0 1200
54435060 vjudge2 B May 21, 2019, 4:40 a.m. OK MS C++ TESTS 13 30 0 1200
57093466 vjudge2 B July 15, 2019, 11:30 a.m. OK MS C++ TESTS 13 30 0 1200
55699690 vjudge1 B June 18, 2019, 2:53 a.m. OK MS C++ TESTS 13 30 0 1200
51961466 Straik B March 29, 2019, 7:05 a.m. OK MS C++ 2017 TESTS 13 15 0 1200
53112271 MenOfPassion B April 22, 2019, 4:40 a.m. OK MS C++ 2017 TESTS 13 15 0 1200
53704008 Sorin1932 B May 3, 2019, 12:15 p.m. OK MS C++ 2017 TESTS 13 15 0 1200
51712000 rokirovochka B March 22, 2019, 4:28 p.m. OK MS C++ 2017 TESTS 13 15 0 1200
51892522 amirkho B March 27, 2019, 9:55 a.m. OK MS C++ 2017 TESTS 13 15 0 1200
51811561 SuchRealWorld B March 25, 2019, 6:10 a.m. OK MS C++ 2017 TESTS 13 30 0 1200
68424253 raghavag egrtz B Jan. 9, 2020, 1:49 a.m. OK MS C++ 2017 TESTS 13 30 0 1200
62745485 shio B Oct. 16, 2019, 9:24 p.m. OK MS C++ 2017 TESTS 13 30 0 1200
53119986 Najmus_Sakib_Rashid B April 22, 2019, 10:44 a.m. OK MS C++ 2017 TESTS 13 30 0 1200
52002477 Dmitrenko B March 30, 2019, 6:51 a.m. OK MS C++ 2017 TESTS 13 30 0 1200
51813166 gmusya B March 25, 2019, 7:21 a.m. OK PascalABC.NET TESTS 13 280 614400 1200
51717443 Sokolov15 B March 22, 2019, 4:55 p.m. OK PascalABC.NET TESTS 13 296 0 1200
51725022 sbairammariabs B March 22, 2019, 6:34 p.m. OK PascalABC.NET TESTS 13 312 0 1200
51717161 Danzev B March 22, 2019, 4:53 p.m. OK PascalABC.NET TESTS 13 342 0 1200
51724882 rsFalse B March 22, 2019, 6:31 p.m. OK Perl TESTS 13 31 0 1200
51726033 mayakin B March 22, 2019, 6:58 p.m. OK PHP TESTS 13 46 0 1200
51722615 raj1307 B March 22, 2019, 5:43 p.m. OK PyPy 2 TESTS 13 124 0 1200
51788430 nisargshah95 B March 24, 2019, 11:43 a.m. OK PyPy 2 TESTS 13 140 0 1200
55583064 shafwanur010 B June 15, 2019, 7:52 a.m. OK PyPy 2 TESTS 13 171 1536000 1200
52659331 smunjal96 B April 12, 2019, 9:07 p.m. OK PyPy 2 TESTS 13 249 0 1200
61082777 sjoshi13 B Sept. 22, 2019, 5:02 p.m. OK PyPy 3 TESTS 13 124 0 1200
52752515 TriNguyen17 B April 14, 2019, 2:51 p.m. OK PyPy 3 TESTS 13 124 0 1200
51992531 Kirillov_Alexey B March 29, 2019, 9:16 p.m. OK PyPy 3 TESTS 13 124 0 1200
51905698 Mr.Inconsistent B March 27, 2019, 3:24 p.m. OK PyPy 3 TESTS 13 124 0 1200
51765188 harshits337 B March 23, 2019, 3:29 p.m. OK PyPy 3 TESTS 13 124 0 1200
51721911 iamprayush B March 22, 2019, 5:31 p.m. OK PyPy 3 TESTS 13 124 0 1200
51973665 CodeMaster B March 29, 2019, 1:30 p.m. OK PyPy 3 TESTS 13 124 102400 1200
63299430 PS41 B Oct. 24, 2019, 1:52 p.m. OK PyPy 3 TESTS 13 139 0 1200
53313353 23sergey03 B April 26, 2019, 8:31 a.m. OK PyPy 3 TESTS 13 139 0 1200
51738550 aleonov B March 23, 2019, 4:29 a.m. OK PyPy 3 TESTS 13 139 0 1200
51734483 jrobsonjr B March 23, 2019, 12:48 a.m. OK Python 2 TESTS 13 155 0 1200
51837280 Helli.code B March 25, 2019, 7:04 p.m. OK Python 2 TESTS 13 170 0 1200
51768303 angoncal B March 23, 2019, 5:01 p.m. OK Python 2 TESTS 13 170 0 1200
56421303 vjudge2 B July 2, 2019, 7:28 a.m. OK Python 2 TESTS 13 171 0 1200
56421297 gabxx7 B July 2, 2019, 7:28 a.m. OK Python 2 TESTS 13 171 0 1200
56358955 vjudge2 B June 30, 2019, 6:22 p.m. OK Python 2 TESTS 13 171 0 1200
56276227 vjudge5 B June 29, 2019, 2:23 p.m. OK Python 2 TESTS 13 171 0 1200
52012914 kaif_7 B March 30, 2019, 9:21 a.m. OK Python 2 TESTS 13 171 0 1200
51845906 phoenix28 B March 26, 2019, 4:32 a.m. OK Python 2 TESTS 13 171 0 1200
51768307 nealzane B March 23, 2019, 5:02 p.m. OK Python 2 TESTS 13 171 0 1200
55573175 dejang B June 14, 2019, 8:28 p.m. OK Python 3 TESTS 13 93 0 1200
54800889 tushar_2658 B May 29, 2019, 11:54 a.m. OK Python 3 TESTS 13 93 0 1200
52524261 tushartyagi8750 B April 9, 2019, 10:39 a.m. OK Python 3 TESTS 13 93 0 1200
52062634 surajsirvi88 B March 31, 2019, 2:45 a.m. OK Python 3 TESTS 13 93 0 1200
51906717 belegonovdima B March 27, 2019, 3:54 p.m. OK Python 3 TESTS 13 93 0 1200
51862662 l.j.zakharov B March 26, 2019, 1:50 p.m. OK Python 3 TESTS 13 93 0 1200
51742142 III_Wolverine_III B March 23, 2019, 6:14 a.m. OK Python 3 TESTS 13 93 0 1200
51736666 lIn_nIl B March 23, 2019, 3:01 a.m. OK Python 3 TESTS 13 93 0 1200
51721035 ahManoTravei B March 22, 2019, 5:18 p.m. OK Python 3 TESTS 13 93 0 1200
51716119 Ik_noom B March 22, 2019, 4:48 p.m. OK Python 3 TESTS 13 93 0 1200
51774354 corvvs_ B March 23, 2019, 8:26 p.m. OK Ruby TESTS 13 62 102400 1200
52287517 alykov B April 3, 2019, 8:55 p.m. OK Rust TESTS 13 31 102400 1200
51934811 old_boo B March 28, 2019, 12:03 p.m. OK Scala TESTS 13 467 0 1200

remove filters

Back to search problems