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 |
---|---|---|---|---|---|---|
862 | Codeforces Round 435 (Div. 2) | FINISHED | False | 7200 | 231346463 | Sept. 19, 2017, 3:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 214 ) | F | Mahmoud and Ehab and the final stage | PROGRAMMING | data structures strings | 2800 |
B"Mahmoud and Ehab solved Dr. Evil's questions so he gave them the password of the door of the evil land. When they tried to open the door using it, the door gave them a final question to solve before they leave (yes, the door is digital, Dr. Evil is modern). If they don't solve it, all the work will be useless and they won't leave the evil land forever. Will you help them? Mahmoud and Ehab are given n strings s1, xe2 x80 x89s2, xe2 x80 x89... , xe2 x80 x89sn numbered from 1 to n and q queries, Each query has one of the following forms: (r xe2 x80 x89- xe2 x80 x89l xe2 x80 x89+ xe2 x80 x891) xe2 x80 x89* xe2 x80 x89LCP(sl, xe2 x80 x89sl xe2 x80 x89+ xe2 x80 x891, xe2 x80 x89... , xe2 x80 x89sr xe2 x80 x89- xe2 x80 x891, xe2 x80 x89sr) where LCP(str1, xe2 x80 x89str2, xe2 x80 x89str3, xe2 x80 x89... ) is the length of the longest common prefix of the strings str1, xe2 x80 x89str2, xe2 x80 x89str3, xe2 x80 x89... . The first line of input contains 2 integers n and q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) xe2 x80 x93 The number of strings and the number of queries, respectively. The second line contains n strings stri consisting of lowercase English letters. The next q lines describe the queries and may have one of the 2 forms: the total length of all strings in input won't exceed 105 For each query of first type output its answer in a new line. "... |
Codeforces round #435 editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
40254058 | lllllllllllllllllllllll ILoveSetsuna cly_none | F | July 13, 2018, 7:59 a.m. | OK | GNU C++ | TESTS | 81 | 1622 | 427724800 | 2800 | |
35800076 | beginend | F | March 1, 2018, 2:11 a.m. | OK | GNU C++ | TESTS | 81 | 1669 | 429772800 | 2800 | |
36800862 | vjudge1 | F | April 1, 2018, 2:17 p.m. | OK | GNU C++ | TESTS | 81 | 1793 | 47923200 | 2800 | |
36800888 | saoyang | F | April 1, 2018, 2:18 p.m. | OK | GNU C++ | TESTS | 81 | 1840 | 47923200 | 2800 | |
31435205 | LaoZei | F | Oct. 17, 2017, 12:30 a.m. | OK | GNU C++ | TESTS | 81 | 2760 | 239308800 | 2800 | |
32156720 | Georgia_001 | F | Nov. 9, 2017, 11:50 a.m. | OK | GNU C++ | TESTS | 81 | 2948 | 237260800 | 2800 | |
31239166 | F.Darcy | F | Oct. 12, 2017, 11:23 a.m. | OK | GNU C++ | TESTS | 81 | 3073 | 235929600 | 2800 | |
31238873 | F.Darcy | F | Oct. 12, 2017, 11:12 a.m. | OK | GNU C++ | TESTS | 81 | 4149 | 341094400 | 2800 | |
30620366 | wcy1122 | F | Sept. 22, 2017, 4:26 p.m. | OK | GNU C++ | TESTS | 81 | 4601 | 413593600 | 2800 | |
34355894 | alan_cty | F | Jan. 20, 2018, 2:30 p.m. | OK | GNU C++ | TESTS | 81 | 4742 | 249753600 | 2800 | |
55955231 | luogu_bot5 | F | June 23, 2019, 6:33 a.m. | OK | GNU C++11 | TESTS | 81 | 1076 | 93900800 | 2800 | |
50637180 | ddw | F | March 1, 2019, 12:20 p.m. | OK | GNU C++11 | TESTS | 81 | 1091 | 93900800 | 2800 | |
59444706 | luogu_bot2 | F | Aug. 25, 2019, 12:50 p.m. | OK | GNU C++11 | TESTS | 81 | 1092 | 93900800 | 2800 | |
57916542 | luogu_bot4 | F | July 29, 2019, 1:46 a.m. | OK | GNU C++11 | TESTS | 81 | 1107 | 93900800 | 2800 | |
53002493 | luogu_bot4 | F | April 19, 2019, 7:52 a.m. | OK | GNU C++11 | TESTS | 81 | 1122 | 93900800 | 2800 | |
52453288 | luogu_bot5 | F | April 7, 2019, 10:42 a.m. | OK | GNU C++11 | TESTS | 81 | 1122 | 93900800 | 2800 | |
50666643 | ddw | F | March 2, 2019, 4:38 a.m. | OK | GNU C++11 | TESTS | 81 | 1138 | 93900800 | 2800 | |
61785542 | luogu_bot4 | F | Oct. 3, 2019, 2:21 p.m. | OK | GNU C++11 | TESTS | 81 | 1200 | 93900800 | 2800 | |
30552018 | krijgertje | F | Sept. 20, 2017, 4:20 p.m. | OK | GNU C++11 | TESTS | 81 | 1341 | 27443200 | 2800 | |
50637084 | ddw | F | March 1, 2019, 12:17 p.m. | OK | GNU C++11 | TESTS | 81 | 1341 | 93900800 | 2800 | |
30524967 | dreamoon_love_AA | F | Sept. 19, 2017, 6 p.m. | OK | GNU C++14 | TESTS | 81 | 374 | 21196800 | 2800 | |
40979705 | ReaLNero1 | F | July 30, 2018, 5:12 p.m. | OK | GNU C++14 | TESTS | 81 | 390 | 21196800 | 2800 | |
30532692 | ubaidullaev.abil | F | Sept. 20, 2017, 2:18 a.m. | OK | GNU C++14 | TESTS | 81 | 732 | 48742400 | 2800 | |
30569401 | dotorya | F | Sept. 21, 2017, 7:37 a.m. | OK | GNU C++14 | TESTS | 81 | 764 | 18739200 | 2800 | |
31054539 | ztk | F | Oct. 6, 2017, 5:31 a.m. | OK | GNU C++14 | TESTS | 81 | 779 | 245862400 | 2800 | |
34086896 | tmwilliamlin168 | F | Jan. 11, 2018, 11:53 a.m. | OK | GNU C++14 | TESTS | 81 | 826 | 22630400 | 2800 | |
30588399 | GStnt | F | Sept. 21, 2017, 3:58 p.m. | OK | GNU C++14 | TESTS | 81 | 904 | 22220800 | 2800 | |
30870500 | I_Love_Bofei | F | Sept. 30, 2017, 3:29 p.m. | OK | GNU C++14 | TESTS | 81 | 920 | 18329600 | 2800 | |
30572233 | GStnt | F | Sept. 21, 2017, 9:21 a.m. | OK | GNU C++14 | TESTS | 81 | 935 | 18329600 | 2800 | |
30522146 | NiroBC | F | Sept. 19, 2017, 5:03 p.m. | OK | GNU C++14 | TESTS | 81 | 951 | 18329600 | 2800 | |
61750287 | BryanValeriano | F | Oct. 3, 2019, 2:55 a.m. | OK | GNU C++17 | TESTS | 81 | 576 | 26009600 | 2800 | |
65602445 | AM. | F | Nov. 23, 2019, 6:45 p.m. | OK | GNU C++17 | TESTS | 81 | 3353 | 14438400 | 2800 | |
69458083 | hjk1030 | F | Jan. 24, 2020, 9:29 a.m. | OK | GNU C++17 | TESTS | 81 | 3494 | 461721600 | 2800 | |
61877363 | BryanValeriano | F | Oct. 4, 2019, 8:50 p.m. | OK | GNU C++17 | TESTS | 81 | 3727 | 394854400 | 2800 | |
54645792 | vjudge4 | F | May 26, 2019, 12:09 a.m. | OK | GNU C++17 | TESTS | 81 | 4055 | 332083200 | 2800 | |
65684214 | WizWalnut | F | Nov. 24, 2019, 9:25 p.m. | OK | GNU C++17 | TESTS | 81 | 4133 | 19046400 | 2800 | |
54645786 | Smaug | F | May 26, 2019, 12:08 a.m. | OK | GNU C++17 | TESTS | 81 | 4227 | 332083200 | 2800 | |
31090554 | JialinOuyang | F | Oct. 6, 2017, 6:39 p.m. | OK | Java 8 | TESTS | 81 | 795 | 66150400 | 2800 | |
31090261 | JialinOuyang | F | Oct. 6, 2017, 6:28 p.m. | OK | Java 8 | TESTS | 81 | 826 | 66150400 | 2800 | |
30692433 | JialinOuyang | F | Sept. 24, 2017, 11:54 p.m. | OK | Java 8 | TESTS | 81 | 842 | 66150400 | 2800 | |
30528325 | uwi | F | Sept. 19, 2017, 7:58 p.m. | OK | Java 8 | TESTS | 81 | 1076 | 34508800 | 2800 | |
31237275 | vovacomua | F | Oct. 12, 2017, 9:58 a.m. | OK | Java 8 | TESTS | 81 | 1169 | 38092800 | 2800 |
Back to search problems