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 |
---|---|---|---|---|---|---|
1446 | Codeforces Round 683 (Div. 1, by Meet IT) | FINISHED | False | 9000 | 131815463 | Nov. 15, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 7987 ) | B | Catching Cheaters | PROGRAMMING | dp strings |
B"You are given two strings A and B representing essays of two students who are suspected cheaters. For any two strings C , D we define their similarity score S(C,D) as 4 cdot LCS(C,D) - |C| - |D| , where LCS(C,D) denotes the length of the Longest Common Subsequence of strings C and D . You believe that only some part of the essays could have been copied, therefore you're interested in their substrings. Calculate the maximal similarity score over all pairs of substrings. More formally, output maximal S(C, D) over all pairs (C, D) , where C is some substring of A , and D is some substring of B . If X is a string, |X| denotes its length. A string a is a substring of a string b if a can be obtained from b by deletion of several (possibly, zero or all) characters from the beginning and several (possibly, zero or all) characters from the end. A string a is a subsequence of a string b if a can be obtained from b by deletion of several (possibly, zero or all) characters. Pay attention to the difference between the substring and subsequence, as they both appear in the problem statement. You may wish to read the Wikipedia page about the Longest Common Subsequence problem. The first line contains two positive integers n and m ( 1 <= q n, m <= q 5000 ) -- lengths of the two strings A and B . The second line contains a string consisting of n lowercase Latin letters -- string A . The third line contains a string consisting of m lowercase Latin letters -- string B . Output maximal S(C, D) over all pairs (C, D) , where C is some substring of A , and D is some substring of B . For the first case: abb from the first string and abab from the second string have LCS equal to abb. The result is S(abb, abab) = (4 cdot |abb| ) - |abb| "... |
E |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
98453869 | Gassa | B | Nov. 15, 2020, 2:53 p.m. | OK | D | TESTS | 102 | 545 | 123904000 | ||
98453171 | zbsnb | B | Nov. 15, 2020, 2:52 p.m. | OK | GNU C++11 | TESTS | 102 | 62 | 100659200 | ||
98463492 | Performanceartist | B | Nov. 15, 2020, 3:15 p.m. | OK | GNU C++11 | TESTS | 102 | 77 | 100454400 | ||
98465545 | gzchenben | B | Nov. 15, 2020, 3:20 p.m. | OK | GNU C++11 | TESTS | 102 | 78 | 100249600 | ||
98496073 | jszz | B | Nov. 15, 2020, 5:49 p.m. | OK | GNU C++11 | TESTS | 102 | 78 | 100454400 | ||
98448997 | Isonan | B | Nov. 15, 2020, 2:45 p.m. | OK | GNU C++11 | TESTS | 102 | 92 | 100454400 | ||
98452337 | eudanip | B | Nov. 15, 2020, 2:50 p.m. | OK | GNU C++11 | TESTS | 102 | 93 | 100249600 | ||
98450734 | fanache99 | B | Nov. 15, 2020, 2:47 p.m. | OK | GNU C++11 | TESTS | 102 | 93 | 100249600 | ||
98460492 | IgorL | B | Nov. 15, 2020, 3:08 p.m. | OK | GNU C++11 | TESTS | 102 | 93 | 100249600 | ||
98496018 | jszz | B | Nov. 15, 2020, 5:49 p.m. | OK | GNU C++11 | TESTS | 102 | 93 | 100454400 | ||
98514989 | mumei | B | Nov. 16, 2020, 2:58 a.m. | OK | GNU C++11 | TESTS | 103 | 93 | 100454400 | ||
98463229 | olimpo | B | Nov. 15, 2020, 3:14 p.m. | OK | GNU C++14 | TESTS | 102 | 78 | 102400 | ||
98457627 | SuperJ6 | B | Nov. 15, 2020, 3:01 p.m. | OK | GNU C++14 | TESTS | 102 | 93 | 100249600 | ||
98499999 | naya_wala | B | Nov. 15, 2020, 6:42 p.m. | OK | GNU C++14 | TESTS | 103 | 93 | 100249600 | ||
98449577 | realcomplex | B | Nov. 15, 2020, 2:45 p.m. | OK | GNU C++14 | TESTS | 102 | 93 | 100454400 | ||
98457238 | vanogam | B | Nov. 15, 2020, 3 p.m. | OK | GNU C++14 | TESTS | 102 | 93 | 100454400 | ||
98465989 | dog_loves_pig_forever | B | Nov. 15, 2020, 3:21 p.m. | OK | GNU C++14 | TESTS | 102 | 93 | 100659200 | ||
98457216 | dl720125 | B | Nov. 15, 2020, 3 p.m. | OK | GNU C++14 | TESTS | 102 | 93 | 100659200 | ||
98451142 | Noam527 | B | Nov. 15, 2020, 2:48 p.m. | OK | GNU C++14 | TESTS | 102 | 108 | 102400 | ||
98461554 | Plasmatic | B | Nov. 15, 2020, 3:10 p.m. | OK | GNU C++14 | TESTS | 102 | 108 | 100249600 | ||
98461256 | casperwang | B | Nov. 15, 2020, 3:09 p.m. | OK | GNU C++14 | TESTS | 102 | 108 | 100249600 | ||
98455367 | kdh9949 | B | Nov. 15, 2020, 2:56 p.m. | OK | GNU C++17 | TESTS | 102 | 78 | 102400 | ||
98449480 | mango_lassi | B | Nov. 15, 2020, 2:45 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 102400 | ||
98500105 | celestialcoder | B | Nov. 15, 2020, 6:44 p.m. | OK | GNU C++17 | TESTS | 103 | 93 | 100249600 | ||
98511091 | peterr | B | Nov. 16, 2020, 12:25 a.m. | OK | GNU C++17 | TESTS | 103 | 93 | 100249600 | ||
98495193 | doped.silicon | B | Nov. 15, 2020, 5:41 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 100454400 | ||
98497616 | MetaPostRocker | B | Nov. 15, 2020, 6:07 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 100454400 | ||
98457462 | halfblindprince | B | Nov. 15, 2020, 3:01 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 100556800 | ||
98500590 | limabeans | B | Nov. 15, 2020, 6:53 p.m. | OK | GNU C++17 | TESTS | 103 | 93 | 100659200 | ||
98450376 | AliShahali1382 | B | Nov. 15, 2020, 2:47 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 100659200 | ||
98461031 | limabeans | B | Nov. 15, 2020, 3:09 p.m. | OK | GNU C++17 | TESTS | 102 | 93 | 100659200 | ||
98495480 | june_waves | B | Nov. 15, 2020, 5:43 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 77 | 102400 | ||
98481375 | Arpa | B | Nov. 15, 2020, 4:12 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 93 | 100761600 | ||
98466765 | fjuengermann | B | Nov. 15, 2020, 3:23 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 93 | 200806400 | ||
98475836 | edisonhello | B | Nov. 15, 2020, 3:51 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 93 | 205926400 | ||
98458694 | MetB | B | Nov. 15, 2020, 3:04 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 108 | 100249600 | ||
98510498 | wlzhouzhuan | B | Nov. 15, 2020, 11:57 p.m. | OK | GNU C++17 (64) | TESTS | 103 | 108 | 100454400 | ||
98454308 | crackersamdjam | B | Nov. 15, 2020, 2:54 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 108 | 100454400 | ||
98455003 | w0nsh | B | Nov. 15, 2020, 2:56 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 108 | 100454400 | ||
98462940 | totori0908 | B | Nov. 15, 2020, 3:14 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 108 | 100454400 | ||
98457374 | HNO2 | B | Nov. 15, 2020, 3:01 p.m. | OK | GNU C++17 (64) | TESTS | 102 | 108 | 100556800 | ||
98457960 | synapse | B | Nov. 15, 2020, 3:02 p.m. | OK | Go | TESTS | 102 | 218 | 108134400 | ||
98450150 | qwerty787788 | B | Nov. 15, 2020, 2:46 p.m. | OK | Java 11 | TESTS | 102 | 327 | 0 | ||
98497195 | nick_301 | B | Nov. 15, 2020, 6:01 p.m. | OK | Java 11 | TESTS | 102 | 436 | 143667200 | ||
98458970 | uwi | B | Nov. 15, 2020, 3:04 p.m. | OK | Java 11 | TESTS | 102 | 452 | 146739200 | ||
98482771 | skittles1412 | B | Nov. 15, 2020, 4:17 p.m. | OK | Java 11 | TESTS | 102 | 467 | 144588800 | ||
98501559 | rreeennnnn | B | Nov. 15, 2020, 7:11 p.m. | OK | Java 11 | TESTS | 103 | 701 | 260198400 | ||
98464019 | golions | B | Nov. 15, 2020, 3:16 p.m. | OK | Java 8 | TESTS | 102 | 343 | 145612800 | ||
98484890 | Katushechka | B | Nov. 15, 2020, 4:26 p.m. | OK | Java 8 | TESTS | 102 | 358 | 137216000 | ||
98464038 | martins | B | Nov. 15, 2020, 3:16 p.m. | OK | Java 8 | TESTS | 102 | 358 | 142438400 | ||
98460550 | StayAwayFromBitches | B | Nov. 15, 2020, 3:08 p.m. | OK | Java 8 | TESTS | 102 | 358 | 188928000 | ||
98502897 | davgogol | B | Nov. 15, 2020, 7:36 p.m. | OK | Java 8 | TESTS | 103 | 374 | 137420800 | ||
98466506 | reborn.chris | B | Nov. 15, 2020, 3:23 p.m. | OK | Java 8 | TESTS | 102 | 420 | 145408000 | ||
98465854 | jxin31415 | B | Nov. 15, 2020, 3:21 p.m. | OK | Java 8 | TESTS | 102 | 467 | 258867200 | ||
98452310 | SecondThread | B | Nov. 15, 2020, 2:50 p.m. | OK | Java 8 | TESTS | 102 | 529 | 144384000 | ||
98467160 | YahiaSherif | B | Nov. 15, 2020, 3:25 p.m. | OK | Java 8 | TESTS | 102 | 530 | 258560000 | ||
98472346 | robinz62 | B | Nov. 15, 2020, 3:40 p.m. | OK | Java 8 | TESTS | 102 | 546 | 258560000 | ||
98462268 | simenl | B | Nov. 15, 2020, 3:12 p.m. | OK | Kotlin | TESTS | 102 | 311 | 143564800 | ||
98462635 | amelentev | B | Nov. 15, 2020, 3:13 p.m. | OK | Kotlin | TESTS | 102 | 358 | 143360000 | ||
98502341 | AryssonFigueiredo | B | Nov. 15, 2020, 7:26 p.m. | OK | Kotlin | TESTS | 103 | 358 | 143360000 | ||
98501735 | AryssonFigueiredo | B | Nov. 15, 2020, 7:14 p.m. | OK | Kotlin | TESTS | 103 | 358 | 143360000 | ||
98473574 | titia | B | Nov. 15, 2020, 3:43 p.m. | OK | Kotlin | TESTS | 102 | 467 | 144793600 | ||
98495185 | Tlatoani | B | Nov. 15, 2020, 5:41 p.m. | OK | Kotlin | TESTS | 102 | 514 | 146432000 | ||
98496144 | r57shell | B | Nov. 15, 2020, 5:50 p.m. | OK | MS C++ | TESTS | 102 | 202 | 100249600 | ||
98472165 | P___ | B | Nov. 15, 2020, 3:39 p.m. | OK | MS C++ 2017 | TESTS | 102 | 139 | 100659200 | ||
98451011 | gnomina007 | B | Nov. 15, 2020, 2:48 p.m. | OK | MS C++ 2017 | TESTS | 102 | 202 | 100556800 | ||
98469227 | tarattata1 | B | Nov. 15, 2020, 3:30 p.m. | OK | MS C++ 2017 | TESTS | 102 | 280 | 200806400 | ||
98472220 | Catmoonlight | B | Nov. 15, 2020, 3:39 p.m. | OK | MS C++ 2017 | TESTS | 102 | 358 | 100556800 | ||
98469890 | AnnSuperstar | B | Nov. 15, 2020, 3:32 p.m. | OK | MS C++ 2017 | TESTS | 102 | 374 | 101068800 | ||
98454229 | azukun | B | Nov. 15, 2020, 2:54 p.m. | OK | .NET Core C# | TESTS | 102 | 264 | 100147200 | ||
98456843 | keymoon | B | Nov. 15, 2020, 3 p.m. | OK | .NET Core C# | TESTS | 102 | 421 | 104550400 | ||
98468717 | mban259 | B | Nov. 15, 2020, 3:29 p.m. | OK | .NET Core C# | TESTS | 102 | 436 | 100147200 | ||
98475760 | astrom.lars | B | Nov. 15, 2020, 3:50 p.m. | OK | PyPy 2 | TESTS | 102 | 951 | 8089600 | ||
98462673 | hir35 | B | Nov. 15, 2020, 3:13 p.m. | OK | PyPy 3 | TESTS | 102 | 733 | 102707200 | ||
98461779 | mkawa2 | B | Nov. 15, 2020, 3:11 p.m. | OK | PyPy 3 | TESTS | 102 | 748 | 168038400 | ||
98504707 | yashw_12345 | B | Nov. 15, 2020, 8:20 p.m. | OK | PyPy 3 | TESTS | 103 | 764 | 102707200 | ||
98499600 | adyrek | B | Nov. 15, 2020, 6:37 p.m. | OK | PyPy 3 | TESTS | 103 | 779 | 11161600 | ||
98457332 | yuusanlondon | B | Nov. 15, 2020, 3:01 p.m. | OK | PyPy 3 | TESTS | 102 | 810 | 113766400 | ||
98489154 | malylesio | B | Nov. 15, 2020, 4:46 p.m. | OK | PyPy 3 | TESTS | 102 | 826 | 103014400 | ||
98512859 | youness.amhaouch | B | Nov. 16, 2020, 1:38 a.m. | OK | PyPy 3 | TESTS | 103 | 857 | 113561600 | ||
98468275 | chinerist | B | Nov. 15, 2020, 3:28 p.m. | OK | PyPy 3 | TESTS | 102 | 872 | 10752000 | ||
98473529 | asdsasd | B | Nov. 15, 2020, 3:43 p.m. | OK | PyPy 3 | TESTS | 102 | 904 | 113254400 | ||
98463345 | nagiss | B | Nov. 15, 2020, 3:15 p.m. | OK | PyPy 3 | TESTS | 102 | 920 | 10649600 | ||
98460966 | GeoffreyY | B | Nov. 15, 2020, 3:09 p.m. | OK | Rust | TESTS | 102 | 186 | 100454400 | ||
98467781 | Russell_Emerine | B | Nov. 15, 2020, 3:26 p.m. | OK | Rust | TESTS | 102 | 248 | 100556800 | ||
98458448 | sansen | B | Nov. 15, 2020, 3:03 p.m. | OK | Rust | TESTS | 102 | 296 | 201011200 |
Back to search problems