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 |
---|---|---|---|---|---|---|
1276 | Codeforces Round 606 (Div. 1, based on Technocup 2020 Elimination Round 4) | FINISHED | False | 7200 | 160858463 | Dec. 14, 2019, 11:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 353 ) | F | Asterisk Substrings | PROGRAMMING | string suffix structures | #truth table | 3300 |
B"Consider a string s of n lowercase English letters. Let t_i be the string obtained by replacing the i -th character of s with an asterisk character *. For example, when s = mathtt{abc} , we have t_1 = tt{*bc} , t_2 = tt{a*c} , and t_3 = tt{ab*} . Given a string s , count the number of distinct strings of lowercase English letters and asterisks that occur as a substring of at least one string in the set {s, t_1, ldots, t_n } . The empty string should be counted. Note that *'s are just characters and do not play any special role as in, for example, regex matching. The only line contains a string s of n lowercase English letters ( 1 <= q n <= q 10^5 ). Print a single integer -- the number of distinct strings of s, t_1, ldots, t_n . For the sample case, the distinct substrings are (empty string), a, b, c, *, ab, a*, bc, b*, *b, *c, abc, ab*, a*c, *bc. "... |
Technocup 2020 — Elimination Round 4 + Codeforces Round 606: Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
67195773 | lhylhy | F | Dec. 19, 2019, 8:58 a.m. | OK | GNU C++11 | TESTS | 36 | 234 | 208384000 | 3300 | |
67198803 | lzoilxy | F | Dec. 19, 2019, 10:09 a.m. | OK | GNU C++11 | TESTS | 36 | 234 | 461824000 | 3300 | |
67199055 | lzoilxy | F | Dec. 19, 2019, 10:15 a.m. | OK | GNU C++11 | TESTS | 36 | 234 | 465408000 | 3300 | |
67199082 | lzoilxy | F | Dec. 19, 2019, 10:15 a.m. | OK | GNU C++11 | TESTS | 36 | 249 | 465203200 | 3300 | |
67199096 | lzoilxy | F | Dec. 19, 2019, 10:16 a.m. | OK | GNU C++11 | TESTS | 36 | 264 | 465203200 | 3300 | |
66896337 | zx2003 | F | Dec. 15, 2019, 2:04 a.m. | OK | GNU C++11 | TESTS | 36 | 280 | 144179200 | 3300 | |
67191561 | TiwAirOAO | F | Dec. 19, 2019, 7:17 a.m. | OK | GNU C++11 | TESTS | 36 | 280 | 202035200 | 3300 | |
67199149 | lzoilxy | F | Dec. 19, 2019, 10:17 a.m. | OK | GNU C++11 | TESTS | 36 | 280 | 463462400 | 3300 | |
66872780 | ohweonfire | F | Dec. 14, 2019, 2:07 p.m. | OK | GNU C++11 | TESTS | 36 | 311 | 83148800 | 3300 | |
67195226 | tyler178 | F | Dec. 19, 2019, 8:45 a.m. | OK | GNU C++11 | TESTS | 36 | 311 | 208588800 | 3300 | |
67764479 | BSBandme | F | Dec. 28, 2019, 2:27 a.m. | OK | GNU C++14 | TESTS | 36 | 249 | 57036800 | 3300 | |
67576944 | Benq | F | Dec. 25, 2019, 3:15 a.m. | OK | GNU C++14 | TESTS | 36 | 280 | 36352000 | 3300 | |
67051395 | melancholic_fat_otaku | F | Dec. 17, 2019, 4:19 a.m. | OK | GNU C++14 | TESTS | 36 | 280 | 244940800 | 3300 | |
67765004 | AuqaKyz | F | Dec. 28, 2019, 2:58 a.m. | OK | GNU C++14 | TESTS | 36 | 436 | 501248000 | 3300 | |
68636282 | __ACoder | F | Jan. 12, 2020, 5:56 a.m. | OK | GNU C++14 | TESTS | 36 | 498 | 77926400 | 3300 | |
67158762 | Zhukov_Dmitry | F | Dec. 18, 2019, 1:18 p.m. | OK | GNU C++14 | TESTS | 36 | 592 | 25907200 | 3300 | |
67248715 | calabash_boy | F | Dec. 19, 2019, 6:10 p.m. | OK | GNU C++14 | TESTS | 36 | 592 | 98816000 | 3300 | |
67248528 | calabash_boy | F | Dec. 19, 2019, 6:07 p.m. | OK | GNU C++14 | TESTS | 36 | 623 | 98816000 | 3300 | |
67160473 | Zhukov_Dmitry | F | Dec. 18, 2019, 1:48 p.m. | OK | GNU C++14 | TESTS | 36 | 686 | 23654400 | 3300 | |
66971749 | jerome_wei | F | Dec. 15, 2019, 1:25 p.m. | OK | GNU C++14 | TESTS | 36 | 795 | 138649600 | 3300 | |
67289497 | Okrut | F | Dec. 20, 2019, 3:12 p.m. | OK | GNU C++17 | TESTS | 36 | 280 | 60723200 | 3300 | |
68041009 | ngfam | F | Jan. 1, 2020, 2:19 p.m. | OK | GNU C++17 | TESTS | 36 | 373 | 76185600 | 3300 | |
67149405 | K0u1e | F | Dec. 18, 2019, 10:09 a.m. | OK | GNU C++17 | TESTS | 36 | 389 | 62873600 | 3300 | |
68389185 | Zory | F | Jan. 8, 2020, 7:45 a.m. | OK | GNU C++17 | TESTS | 36 | 436 | 208998400 | 3300 | |
67061122 | Rose_max | F | Dec. 17, 2019, 9:07 a.m. | OK | GNU C++17 | TESTS | 36 | 467 | 273715200 | 3300 | |
66880782 | amethyst0 | F | Dec. 14, 2019, 4:29 p.m. | OK | GNU C++17 | TESTS | 36 | 608 | 53964800 | 3300 | |
67614239 | Nakagawa.Kanon | F | Dec. 25, 2019, 4:35 p.m. | OK | GNU C++17 | TESTS | 36 | 608 | 75776000 | 3300 | |
66875333 | Radewoosh | F | Dec. 14, 2019, 2:46 p.m. | OK | GNU C++17 | TESTS | 36 | 623 | 174489600 | 3300 | |
68039784 | maroonrk | F | Jan. 1, 2020, 1:46 p.m. | OK | GNU C++17 | TESTS | 36 | 654 | 62566400 | 3300 | |
67198171 | aid | F | Dec. 19, 2019, 9:55 a.m. | OK | GNU C++17 | TESTS | 36 | 717 | 58982400 | 3300 |
Back to search problems