Tinkoff Internship Warmup Round 2018 and Codeforces Round 475 (Div. 1)

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
963 Tinkoff Internship Warmup Round 2018 and Codeforces Round 475 (Div. 1) FINISHED False 7200 207849299 April 17, 2018, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2067 ) D Frequency of String PROGRAMMING hashing string suffix structures strings 2400

B"You are given a string s . You should answer n queries. The i -th query consists of integer k_i and string m_i . The answer for this query is the minimum length of such a string t that t is a substring of s and m_i has at least k_i occurrences as a substring in t . A substring of a string is a continuous segment of characters of the string. It is guaranteed that for any two queries the strings m_i from these queries are different. The first line contains string s (1 <= q <= ft | s right | <= q 10^{5}) . The second line contains an integer n ( 1 <= q n <= q 10^5 ). Each of next n lines contains an integer k_i (1 <= q k_i <= q |s|) and a non-empty string m_i -- parameters of the query with number i , in this order. All strings in input consists of lowercase English letters. Sum of length of all strings in input doesn't exceed 10^5 . All m_i are distinct. For each query output the answer for it in a separate line. If a string m_{i} occurs in s less that k_{i} times, output -1. "...

Tutorials

Editorial Tinkoff Internship Warmup Round 2018 and Codeforces Round #475 (Div. 1 + Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
39770939 ilnil D June 29, 2018, 2:35 p.m. OK GNU C++ TESTS 48 155 89292800 2400
41075013 AuSquare D Aug. 1, 2018, 7:34 a.m. OK GNU C++ TESTS 48 311 263065600 2400
37487891 Random_chen D April 20, 2018, 1:01 p.m. OK GNU C++ TESTS 48 312 50892800 2400
41077309 AuSquare D Aug. 1, 2018, 9:14 a.m. OK GNU C++ TESTS 48 342 263372800 2400
37410170 phamvanhanhgoldIOI2015 D April 17, 2018, 3:41 p.m. OK GNU C++ TESTS 48 389 62771200 2400
41073041 AuSquare D Aug. 1, 2018, 5:20 a.m. OK GNU C++ TESTS 48 389 263065600 2400
37449650 XingGeRuCi D April 19, 2018, 12:34 a.m. OK GNU C++ TESTS 48 452 12902400 2400
39262836 siddhantray D June 15, 2018, 10:02 a.m. OK GNU C++ TESTS 48 467 38912000 2400
39760197 ZhongJQ D June 29, 2018, 6:29 a.m. OK GNU C++ TESTS 48 468 6246400 2400
39757393 cold_chair D June 29, 2018, 3:47 a.m. OK GNU C++ TESTS 48 468 11878400 2400
37453813 LZHlzh D April 19, 2018, 6:40 a.m. OK GNU C++11 TESTS 48 249 245657600 2400
48690297 seica D Jan. 21, 2019, 5:25 p.m. OK GNU C++11 TESTS 48 280 243097600 2400
57787123 vjudge5 D July 26, 2019, 8:12 a.m. OK GNU C++11 TESTS 48 296 295219200 2400
40762297 llgyc D July 26, 2018, 4:36 a.m. OK GNU C++11 TESTS 48 311 284262400 2400
47966078 epaucus D Jan. 5, 2019, 12:11 p.m. OK GNU C++11 TESTS 48 327 264192000 2400
38935669 scau_support D June 4, 2018, 6:05 a.m. OK GNU C++11 TESTS 48 343 42086400 2400
48201652 Althen D Jan. 11, 2019, 6:08 a.m. OK GNU C++11 TESTS 48 343 85196800 2400
40762328 llgyc D July 26, 2018, 4:37 a.m. OK GNU C++11 TESTS 48 343 261836800 2400
51560189 vjudge1 D March 20, 2019, 7:39 a.m. OK GNU C++11 TESTS 48 358 177254400 2400
38090453 luogu_bot5 D May 10, 2018, 11:43 a.m. OK GNU C++11 TESTS 48 374 41164800 2400
38265092 ZhouTi D May 15, 2018, 11:03 a.m. OK GNU C++14 TESTS 48 233 5632000 2400
37424919 superguymj D April 18, 2018, 4:37 a.m. OK GNU C++14 TESTS 48 296 189542400 2400
55237433 AS8 D June 7, 2019, 9:08 a.m. OK GNU C++14 TESTS 48 311 266137600 2400
41584222 iamz D Aug. 14, 2018, 9:57 a.m. OK GNU C++14 TESTS 48 327 37785600 2400
37422563 NanaKagura D April 18, 2018, 1:08 a.m. OK GNU C++14 TESTS 48 327 277708800 2400
58535634 tbzard D Aug. 10, 2019, 11:44 a.m. OK GNU C++14 TESTS 48 342 242688000 2400
38531976 Never_See D May 22, 2018, 10:44 a.m. OK GNU C++14 TESTS 48 342 253235200 2400
41077421 MetaBro D Aug. 1, 2018, 9:19 a.m. OK GNU C++14 TESTS 48 342 263475200 2400
47497212 Maripium D Dec. 25, 2018, 3:38 p.m. OK GNU C++14 TESTS 48 342 263987200 2400
37489509 Heart_Blue D April 20, 2018, 1:55 p.m. OK GNU C++14 TESTS 48 342 277708800 2400
40932367 ReaLNero1 D July 30, 2018, 1:45 a.m. OK GNU C++17 TESTS 48 108 33996800 2400
37442022 shenyunhan D April 18, 2018, 3:37 p.m. OK GNU C++17 TESTS 48 108 37273600 2400
56471527 congmingyige D July 3, 2019, 11:21 a.m. OK GNU C++17 TESTS 48 233 195481600 2400
45428591 Serrador D Nov. 8, 2018, 12:36 a.m. OK GNU C++17 TESTS 48 327 253849600 2400
62174051 Tourist_Sa_Dec D Oct. 9, 2019, 2:58 a.m. OK GNU C++17 TESTS 48 327 254259200 2400
64144894 Arpa D Nov. 3, 2019, 9:33 a.m. OK GNU C++17 TESTS 48 374 125747200 2400
64144811 Arpa D Nov. 3, 2019, 9:31 a.m. OK GNU C++17 TESTS 48 389 125644800 2400
37981955 aaa2333333 D May 7, 2018, 12:01 a.m. OK GNU C++17 TESTS 48 405 63590400 2400
45168608 ivan100sic D Nov. 1, 2018, 11:59 a.m. OK GNU C++17 TESTS 48 420 6348800 2400
38090237 __123456__ D May 10, 2018, 11:33 a.m. OK GNU C++17 TESTS 48 420 41062400 2400
37434161 fetetriste D April 18, 2018, 11:41 a.m. OK Java 8 TESTS 48 374 22425600 2400
37445312 Lewin D April 18, 2018, 6:17 p.m. OK Java 8 TESTS 48 405 40345600 2400
37445262 Lewin D April 18, 2018, 6:15 p.m. OK Java 8 TESTS 48 421 38604800 2400
37434365 fetetriste D April 18, 2018, 11:47 a.m. OK Java 8 TESTS 48 436 22323200 2400
37434240 fetetriste D April 18, 2018, 11:44 a.m. OK Java 8 TESTS 48 436 22528000 2400
37600552 cplayer D April 25, 2018, 2:42 p.m. OK Java 8 TESTS 48 436 22630400 2400
37434341 fetetriste D April 18, 2018, 11:46 a.m. OK Java 8 TESTS 48 451 22528000 2400
37623357 cplayer D April 26, 2018, 2:58 a.m. OK Java 8 TESTS 48 467 22630400 2400
37445232 Lewin D April 18, 2018, 6:12 p.m. OK Java 8 TESTS 48 514 40345600 2400
65274563 beginner1010 D Nov. 17, 2019, 10:52 p.m. OK Java 8 TESTS 48 1013 388096000 2400

remove filters

Back to search problems