Educational Codeforces Round 17

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
762 Educational Codeforces Round 17 FINISHED False 7200 246468299 Jan. 25, 2017, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2581 ) C Two strings PROGRAMMING binary search hashing strings two pointers 2100

B"You are given two strings a and b. You have to remove the minimum possible number of consecutive (standing one after another) characters from string b in such a way that it becomes a subsequence of string a. It can happen that you will not need to remove any characters at all, or maybe you will have to remove all of the characters from b and make it empty. Subsequence of string s is any such string that can be obtained by erasing zero or more characters (not necessarily consecutive) from string s. The first line contains string a, and the second line -- string b. Both of these strings are nonempty and consist of lowercase letters of English alphabet. The length of each string is no bigger than 105 characters. On the first line output a subsequence of string a, obtained from b by erasing the minimum number of consecutive characters. If the answer consists of zero characters, output xc2 xab- xc2 xbb (a minus sign). In the first example strings a and b don't share any symbols, so the longest string that you can get is empty. In the second example ac is a subsequence of a, and at the same time you can obtain it by erasing consecutive symbols cepted from string b. "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
24188726 FalseMirror C Jan. 27, 2017, 2:07 p.m. OK D TESTS 99 30 7168000 2100
24610127 ilyakanyshev C Feb. 12, 2017, 2:02 p.m. OK FPC TESTS 99 139 4300800 2100
24129934 kmc1987g2002 C Jan. 25, 2017, 4:30 p.m. OK FPC TESTS 99 155 3481600 2100
24156349 Zeron C Jan. 26, 2017, 7:27 p.m. OK FPC TESTS 99 156 4300800 2100
24134156 Choppa C Jan. 25, 2017, 6:05 p.m. OK FPC TESTS 99 202 10752000 2100
24132646 rainboy C Jan. 25, 2017, 5:22 p.m. OK GNU C TESTS 99 15 2867200 2100
24148755 srijansingh C Jan. 26, 2017, 1:07 p.m. OK GNU C TESTS 99 31 2867200 2100
24244076 Tebak_Siapa_Aku C Jan. 29, 2017, 10:01 a.m. OK GNU C TESTS 99 31 2969600 2100
31696704 linkfqy C Oct. 25, 2017, 1:49 a.m. OK GNU C++ TESTS 99 15 819200 2100
30567806 wmd C Sept. 21, 2017, 5:52 a.m. OK GNU C++ TESTS 99 15 819200 2100
32352159 vjudge1 C Nov. 16, 2017, 10:16 a.m. OK GNU C++ TESTS 99 15 1024000 2100
31696729 vjudge2 C Oct. 25, 2017, 1:51 a.m. OK GNU C++ TESTS 99 15 1024000 2100
30225213 vjudge1 C Sept. 9, 2017, 12:18 p.m. OK GNU C++ TESTS 99 15 1024000 2100
30192511 vjudge5 C Sept. 8, 2017, 12:30 a.m. OK GNU C++ TESTS 99 15 1024000 2100
30036911 dhuacm9 C Sept. 3, 2017, 2:05 p.m. OK GNU C++ TESTS 99 15 1024000 2100
30036889 Sherlock_Tang C Sept. 3, 2017, 2:05 p.m. OK GNU C++ TESTS 99 15 1024000 2100
27389266 a_g2009 C May 27, 2017, 1:10 p.m. OK GNU C++ TESTS 99 15 1024000 2100
27207456 noxe C May 19, 2017, 4:19 a.m. OK GNU C++ TESTS 99 15 1024000 2100
31197960 Man Milad C Oct. 10, 2017, 4:38 p.m. OK GNU C++11 TESTS 99 15 921600 2100
30966635 hpkt.pkt C Oct. 3, 2017, 12:04 p.m. OK GNU C++11 TESTS 99 15 1024000 2100
30201826 limn2o4 C Sept. 8, 2017, 12:10 p.m. OK GNU C++11 TESTS 99 15 1024000 2100
29516968 Qhb C Aug. 17, 2017, 3:14 a.m. OK GNU C++11 TESTS 99 15 1024000 2100
26836628 MGalc C May 4, 2017, 2:24 p.m. OK GNU C++11 TESTS 99 15 1331200 2100
27775474 bigcrunch C June 14, 2017, 2:43 p.m. OK GNU C++11 TESTS 99 15 1433600 2100
31811580 ac_fun C Oct. 27, 2017, 4:14 p.m. OK GNU C++11 TESTS 99 15 1843200 2100
31696405 vjudge1 C Oct. 25, 2017, 1:16 a.m. OK GNU C++11 TESTS 99 15 1843200 2100
27458852 PAULZHOU C May 31, 2017, 4:06 a.m. OK GNU C++11 TESTS 99 15 2150400 2100
25378272 thecarrot C March 10, 2017, 11:46 a.m. OK GNU C++11 TESTS 99 15 2457600 2100
31696911 Sdywolf C Oct. 25, 2017, 2:10 a.m. OK GNU C++14 TESTS 99 15 1024000 2100
30533916 hnqw1214 C Sept. 20, 2017, 3:53 a.m. OK GNU C++14 TESTS 99 15 1024000 2100
30206527 vjudge1 C Sept. 8, 2017, 3:49 p.m. OK GNU C++14 TESTS 99 15 1024000 2100
30206282 askl1997 C Sept. 8, 2017, 3:40 p.m. OK GNU C++14 TESTS 99 15 1024000 2100
30013927 ss1h2a3tw C Sept. 2, 2017, 1:39 p.m. OK GNU C++14 TESTS 99 15 1024000 2100
27402585 DTDT C May 28, 2017, 7:17 a.m. OK GNU C++14 TESTS 99 15 1024000 2100
27102829 lukecavabarrett C May 14, 2017, 8:07 a.m. OK GNU C++14 TESTS 99 15 1024000 2100
30359488 pb0207 C Sept. 15, 2017, 8:25 a.m. OK GNU C++14 TESTS 99 15 1126400 2100
27193348 KafuChino C May 18, 2017, 9:14 a.m. OK GNU C++14 TESTS 99 15 1228800 2100
29692984 Practice273 C Aug. 22, 2017, 8:19 p.m. OK GNU C++14 TESTS 99 15 1331200 2100
49207892 ShJ C Jan. 30, 2019, 2:30 p.m. OK GNU C++17 TESTS 99 30 1536000 2100
54990206 gourav.iitbhu C June 2, 2019, 6:13 p.m. OK GNU C++17 TESTS 99 30 2252800 2100
67696630 twangal C Dec. 27, 2019, 1:06 p.m. OK GNU C++17 TESTS 99 31 716800 2100
55512219 vjudge3 C June 13, 2019, 12:50 a.m. OK GNU C++17 TESTS 99 31 716800 2100
69254124 kostia244 C Jan. 21, 2020, 3:08 p.m. OK GNU C++17 TESTS 99 31 921600 2100
54873595 lmiskiew C May 31, 2019, 10:40 a.m. OK GNU C++17 TESTS 99 31 921600 2100
65330429 vjudge5 C Nov. 19, 2019, 5:40 a.m. OK GNU C++17 TESTS 99 31 1024000 2100
64638430 vjudge2 C Nov. 10, 2019, 12:19 p.m. OK GNU C++17 TESTS 99 31 1024000 2100
57080199 vjudge2 C July 15, 2019, 6:58 a.m. OK GNU C++17 TESTS 99 31 1024000 2100
56981616 vjudge5 C July 13, 2019, 2:07 p.m. OK GNU C++17 TESTS 99 31 1024000 2100
24247025 goC C Jan. 29, 2017, 12:27 p.m. OK Go TESTS 99 31 26419200 2100
24195715 goC C Jan. 27, 2017, 5:48 p.m. OK Go TESTS 99 46 27545600 2100
55218225 vaibhavpulastya C June 6, 2019, 5:57 p.m. OK Java 8 TESTS 99 109 0 2100
25061877 maldonadokevin11 huapito C Feb. 26, 2017, 6:11 p.m. OK Java 8 TESTS 99 109 20377600 2100
26482963 PrakharJain C April 18, 2017, 7:19 p.m. OK Java 8 TESTS 99 109 20582400 2100
25535795 danield7 MTSranger luccasiau C March 16, 2017, 12:38 a.m. OK Java 8 TESTS 99 109 20582400 2100
59946108 jakejase2 C Sept. 3, 2019, 1:03 p.m. OK Java 8 TESTS 99 124 0 2100
45112308 hongquanntct C Oct. 30, 2018, 7:10 p.m. OK Java 8 TESTS 99 124 0 2100
28776465 jagauthier C July 22, 2017, 10:54 a.m. OK Java 8 TESTS 99 124 20480000 2100
29370227 Maulik_Patel C Aug. 12, 2017, 6:34 a.m. OK Java 8 TESTS 99 124 20582400 2100
26483463 pitfall C April 18, 2017, 8 p.m. OK Java 8 TESTS 99 124 20582400 2100
25794998 Petruchcho C March 25, 2017, 10:25 a.m. OK Java 8 TESTS 99 124 20582400 2100
24157983 lionvs13 C Jan. 26, 2017, 9:05 p.m. OK JavaScript TESTS 99 46 16486400 2100
24244150 bintree C Jan. 29, 2017, 10:05 a.m. OK Kotlin TESTS 99 171 22220800 2100
24520485 DigitalArtistKz C Feb. 8, 2017, 7:30 a.m. OK MS C# TESTS 99 62 13107200 2100
24283932 fr0st C Jan. 31, 2017, 7:30 a.m. OK MS C# TESTS 99 78 16793600 2100
24129777 og.kostya C Jan. 25, 2017, 4:29 p.m. OK MS C# TESTS 99 93 10342400 2100
32495433 swin16 C Nov. 20, 2017, 10:04 a.m. OK MS C++ TESTS 99 15 1024000 2100
29107751 vjudge1 C Aug. 1, 2017, 5:21 p.m. OK MS C++ TESTS 99 15 3072000 2100
24599545 nikgaevoy C Feb. 12, 2017, 1:39 a.m. OK MS C++ TESTS 99 15 3174400 2100
24247813 Diplomate C Jan. 29, 2017, 1:06 p.m. OK MS C++ TESTS 99 15 3174400 2100
24156304 wp32pw C Jan. 26, 2017, 7:24 p.m. OK MS C++ TESTS 99 30 3174400 2100
24155892 wp32pw C Jan. 26, 2017, 6:56 p.m. OK MS C++ TESTS 99 30 3174400 2100
24155873 wp32pw C Jan. 26, 2017, 6:54 p.m. OK MS C++ TESTS 99 30 3174400 2100
28370128 mshcherba C July 8, 2017, 1:25 p.m. OK MS C++ TESTS 99 30 3276800 2100
24265800 jslijin C Jan. 30, 2017, 11:44 a.m. OK MS C++ TESTS 99 30 3276800 2100
65569847 vjudge2 C Nov. 23, 2019, 7:26 a.m. OK MS C++ TESTS 99 31 1024000 2100
60656722 siwei C Sept. 16, 2019, 12:34 a.m. OK MS C++ 2017 TESTS 99 31 716800 2100
26035982 2bcn C March 31, 2017, 8:50 p.m. OK Ocaml TESTS 99 15 4812800 2100
24615995 2bcn C Feb. 12, 2017, 7:46 p.m. OK Ocaml TESTS 99 30 4812800 2100
24132186 alexey.shchepin C Jan. 25, 2017, 5:11 p.m. OK Ocaml TESTS 99 62 31744000 2100
24529442 s_p C Feb. 8, 2017, 2:43 p.m. OK Perl TESTS 99 327 52531200 2100
34085838 yugle7 C Jan. 11, 2018, 10:46 a.m. OK PyPy 3 TESTS 99 93 28057600 2100
27122423 iynaur87 C May 15, 2017, 1:21 p.m. OK PyPy 3 TESTS 99 186 5529600 2100
24354925 yigitozen C Feb. 1, 2017, 9:07 p.m. OK PyPy 3 TESTS 99 202 27443200 2100
24136975 GreenGrape C Jan. 25, 2017, 8:08 p.m. OK PyPy 3 TESTS 99 249 29798400 2100
24233698 habdu C Jan. 28, 2017, 7:36 p.m. OK Python 2 TESTS 99 187 17510400 2100
24875028 Memphis C Feb. 21, 2017, 3:34 p.m. OK Python 2 TESTS 99 233 9523200 2100
24609160 sushant101 C Feb. 12, 2017, 1:07 p.m. OK Python 2 TESTS 99 249 18739200 2100
24286165 alexeyqu C Jan. 31, 2017, 9:35 a.m. OK Python 3 TESTS 99 171 10137600 2100
24135358 Paulina C Jan. 25, 2017, 6:50 p.m. OK Python 3 TESTS 99 186 10035200 2100
46240261 QuantumKnight C Nov. 26, 2018, 7:23 a.m. OK Python 3 TESTS 99 202 8601600 2100
24867882 deep_j C Feb. 21, 2017, 10:12 a.m. OK Python 3 TESTS 99 280 10547200 2100
55412519 vjudge1 C June 10, 2019, 9:22 p.m. OK Python 3 TESTS 99 342 5939200 2100
42141097 Mk_Python_v1 C Aug. 27, 2018, 5:31 a.m. OK Python 3 TESTS 99 343 5939200 2100
24143854 Iriskinn C Jan. 26, 2017, 6:13 a.m. OK Python 3 TESTS 99 389 10547200 2100
27939404 rprtr258 C June 21, 2017, 7:22 a.m. OK Python 3 TESTS 99 405 9216000 2100
28194919 BenL C July 1, 2017, 4:16 p.m. OK Python 3 TESTS 99 421 10854400 2100
24200008 valeriy227 C Jan. 27, 2017, 7:40 p.m. OK Python 3 TESTS 99 1138 9011200 2100
24182089 kobae964 C Jan. 27, 2017, 6:40 a.m. OK Rust TESTS 99 30 2560000 2100
40082122 dendi239 C July 8, 2018, 10:33 a.m. OK Rust TESTS 99 46 1126400 2100

remove filters

Back to search problems