Educational Codeforces Round 71 (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
1207 Educational Codeforces Round 71 (Rated for Div. 2) FINISHED False 7200 170954687 Aug. 22, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1061 ) G Indie Album PROGRAMMING data structures dfs and similar hashing string suffix structures strings trees 2600

B"Mishka's favourite experimental indie band has recently dropped a new album! Songs of that album share one gimmick. Each name s_i is one of the following types: Songs are numbered from 1 to n . It's guaranteed that the first song is always of type 1 . Vova is rather interested in the new album but he really doesn't have the time to listen to it entirely. Thus he asks Mishka some questions about it to determine if some song is worth listening to. Questions have the following format: Mishka doesn't question the purpose of that information, yet he struggles to provide it. Can you please help Mishka answer all Vova's questions? The first line contains a single integer n ( 1 <= n <= 4 cdot 10^5 ) -- the number of songs in the album. Each of the next n lines contains the desciption of the i -th song of the album in the following format: The next line contains a single integer m ( 1 <= m <= 4 cdot 10^5 ) -- the number of Vova's questions. Each of the next m lines contains the desciption of the j -th Vova's question in the following format: It's guaranteed that the total length of question strings t doesn't exceed 4 cdot 10^5 . For each question print a single integer -- the number of occurrences of the question string t in the name of the i -th song of the album as a continuous substring. Song names of the first example: Thus the occurrences for each question string are: "...

Tutorials

Educational Codeforces Round 71 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
59357555 rainboy G Aug. 23, 2019, 2:03 p.m. OK GNU C11 TESTS 46 1669 151756800 2600
59357177 yzh666 G Aug. 23, 2019, 1:56 p.m. OK GNU C++11 TESTS 46 296 88473600 2600
62609192 QAQAutoMaton G Oct. 15, 2019, 9:03 a.m. OK GNU C++11 TESTS 47 296 133836800 2600
59575822 vjudge5 G Aug. 27, 2019, 2:07 p.m. OK GNU C++11 TESTS 46 311 179302400 2600
60334330 xzyxzy G Sept. 10, 2019, 7:44 a.m. OK GNU C++11 TESTS 47 327 103731200 2600
59581950 GKxx G Aug. 27, 2019, 4:26 p.m. OK GNU C++11 TESTS 46 327 104857600 2600
59357192 yzh666 G Aug. 23, 2019, 1:56 p.m. OK GNU C++11 TESTS 46 342 88473600 2600
63646008 luogu_bot1 G Oct. 28, 2019, 9:42 a.m. OK GNU C++11 TESTS 47 342 143052800 2600
59346819 wxyww G Aug. 23, 2019, 10:03 a.m. OK GNU C++11 TESTS 46 343 104038400 2600
64037411 _blackjack_ G Nov. 1, 2019, 4:44 p.m. OK GNU C++11 TESTS 47 358 103936000 2600
59435842 LJC00118 G Aug. 25, 2019, 8:45 a.m. OK GNU C++11 TESTS 46 358 153702400 2600
59320337 tokitsukaze G Aug. 22, 2019, 6:07 p.m. OK GNU C++14 TESTS 46 280 107417600 2600
59398159 VahitGuetta G Aug. 24, 2019, 11:07 a.m. OK GNU C++14 TESTS 46 451 169369600 2600
61899827 Hanabiomiteta G Oct. 5, 2019, 8:17 a.m. OK GNU C++14 TESTS 47 467 101990400 2600
67635634 aayush9 G Dec. 26, 2019, 6:47 a.m. OK GNU C++14 TESTS 47 467 109772800 2600
59431286 hiep622032001 G Aug. 25, 2019, 6:24 a.m. OK GNU C++14 TESTS 46 467 156262400 2600
67046413 Shayan G Dec. 16, 2019, 10:51 p.m. OK GNU C++14 TESTS 47 482 134246400 2600
63754288 aviroop123 G Oct. 29, 2019, 10:07 p.m. OK GNU C++14 TESTS 47 483 200806400 2600
59398218 VahitGuetta G Aug. 24, 2019, 11:08 a.m. OK GNU C++14 TESTS 46 498 103628800 2600
59380748 wir G Aug. 24, 2019, 2:52 a.m. OK GNU C++14 TESTS 46 498 116428800 2600
59563852 ccsu_cat_love_jiejie G Aug. 27, 2019, 9:49 a.m. OK GNU C++14 TESTS 46 498 124211200 2600
59410671 lesskreker G Aug. 24, 2019, 3:43 p.m. OK GNU C++17 TESTS 46 373 177868800 2600
65622672 llbra9z G Nov. 24, 2019, 6:47 a.m. OK GNU C++17 TESTS 47 451 103116800 2600
60367676 yhchang3 G Sept. 10, 2019, 10:19 p.m. OK GNU C++17 TESTS 47 467 101683200 2600
66163977 BrendanOh G Dec. 2, 2019, 6:29 a.m. OK GNU C++17 TESTS 47 467 101785600 2600
62538828 pootis G Oct. 14, 2019, 1:38 a.m. OK GNU C++17 TESTS 47 467 121344000 2600
59329913 Kuroni G Aug. 22, 2019, 11:57 p.m. OK GNU C++17 TESTS 46 467 143667200 2600
59578932 Ari G Aug. 27, 2019, 3:11 p.m. OK GNU C++17 TESTS 46 468 104140800 2600
63889927 saketh G Oct. 31, 2019, 12:36 a.m. OK GNU C++17 TESTS 47 468 116428800 2600
59634059 VEGAnn G Aug. 28, 2019, 7:38 p.m. OK GNU C++17 TESTS 47 482 150425600 2600
59516704 kostia244 G Aug. 26, 2019, 10:24 a.m. OK GNU C++17 TESTS 46 483 101478400 2600
59326575 Ahmad G Aug. 22, 2019, 9:02 p.m. OK Java 8 TESTS 46 1497 290304000 2600
60408269 SecondThread G Sept. 11, 2019, 7:45 p.m. OK Java 8 TESTS 47 1715 288358400 2600
59537280 aminul G Aug. 26, 2019, 5:24 p.m. OK Java 8 TESTS 46 1715 293683200 2600
59537111 aminul G Aug. 26, 2019, 5:20 p.m. OK Java 8 TESTS 46 1746 536883200 2600
59332123 dalt G Aug. 23, 2019, 1:58 a.m. OK Java 8 TESTS 46 1777 249958400 2600
59357554 Dukkha G Aug. 23, 2019, 2:03 p.m. OK Java 8 TESTS 46 1981 195276800 2600
59331469 Dukkha G Aug. 23, 2019, 1:25 a.m. OK Java 8 TESTS 46 2276 292761600 2600
59804253 ankurdua15 G Aug. 31, 2019, 11:20 a.m. OK Java 8 TESTS 47 2402 536883200 2600
63949775 sansen G Oct. 31, 2019, 8:34 p.m. OK Rust TESTS 47 436 126054400 2600
63945761 sansen G Oct. 31, 2019, 6:53 p.m. OK Rust TESTS 47 452 129945600 2600

remove filters

Back to search problems