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 |
---|---|---|---|---|---|---|
1081 | Avito Cool Challenge 2018 | FINISHED | False | 9000 | 192209063 | Dec. 16, 2018, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 113 ) | H | Palindromic Magic | PROGRAMMING | data structures hashing strings | 3500 |
B'After learning some fancy algorithms about palindromes, Chouti found palindromes very interesting, so he wants to challenge you with this problem. Chouti has got two strings A and B . Since he likes palindromes, he would like to pick a as some non-empty palindromic substring of A and b as some non-empty palindromic substring of B . Concatenating them, he will get string ab . Chouti thinks strings he could get this way are interesting, so he wants to know how many different strings he can get. The first line contains a single string A ( 1 <= |A| <= 2 cdot 10^5 ). The second line contains a single string B ( 1 <= |B| <= 2 cdot 10^5 ). Strings A and B contain only lowercase English letters. The first and only line should contain a single integer -- the number of possible strings. In the first example, attainable strings are In the second example, attainable strings are "aa", "aaa", "aaaa", "aaaba", "aab", "aaba", "ab", "abaa", "abaaa", "abaaba", "abab", "ba", "baa", "baba", "bb". Notice that though "a"+"aa"="aa"+"a"="aaa", "aaa" will only be counted once. '... |
63888 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
66549402 | XLor | H | Dec. 9, 2019, 2:19 p.m. | OK | GNU C++11 | TESTS | 77 | 841 | 158412800 | 3500 | |
47839666 | bashetti | H | Jan. 2, 2019, 11:02 a.m. | OK | GNU C++11 | TESTS | 77 | 873 | 95948800 | 3500 | |
64889586 | XLor | H | Nov. 14, 2019, 2:15 p.m. | OK | GNU C++11 | TESTS | 77 | 904 | 158412800 | 3500 | |
48205397 | yugao | H | Jan. 11, 2019, 8:28 a.m. | OK | GNU C++11 | TESTS | 77 | 967 | 227737600 | 3500 | |
57735210 | py_ultron | H | July 25, 2019, 9:45 a.m. | OK | GNU C++11 | TESTS | 77 | 1169 | 206540800 | 3500 | |
57867870 | lopare | H | July 27, 2019, 10:42 p.m. | OK | GNU C++11 | TESTS | 77 | 1310 | 206540800 | 3500 | |
47185543 | samjia2000 | H | Dec. 18, 2018, 4 a.m. | OK | GNU C++11 | TESTS | 77 | 1418 | 238182400 | 3500 | |
48655303 | ReaLNero1 | H | Jan. 21, 2019, 2:10 a.m. | OK | GNU C++14 | TESTS | 77 | 794 | 96153600 | 3500 | |
48167642 | T.V_N | H | Jan. 10, 2019, 3:25 a.m. | OK | GNU C++14 | TESTS | 77 | 794 | 96153600 | 3500 | |
67677276 | Benq | H | Dec. 27, 2019, 3:31 a.m. | OK | GNU C++14 | TESTS | 77 | 857 | 103833600 | 3500 | |
49970839 | luogu_bot3 | H | Feb. 16, 2019, 2:01 a.m. | OK | GNU C++14 | TESTS | 77 | 857 | 227840000 | 3500 | |
47299024 | HedgeHog_ | H | Dec. 20, 2018, 1:21 p.m. | OK | GNU C++14 | TESTS | 77 | 966 | 227840000 | 3500 | |
47158888 | gaurav_pandey | H | Dec. 17, 2018, 8:37 a.m. | OK | GNU C++14 | TESTS | 77 | 966 | 227840000 | 3500 | |
47443067 | Maskoffski | H | Dec. 24, 2018, 3:46 a.m. | OK | GNU C++14 | TESTS | 77 | 982 | 227840000 | 3500 | |
55647297 | newbiegcz | H | June 16, 2019, 12:50 p.m. | OK | GNU C++14 | TESTS | 77 | 1060 | 206643200 | 3500 | |
47507079 | krijgertje | H | Dec. 26, 2018, 2:10 a.m. | OK | GNU C++14 | TESTS | 77 | 1231 | 209612800 | 3500 | |
54874075 | Neroast | H | May 31, 2019, 10:54 a.m. | OK | GNU C++14 | TESTS | 77 | 1247 | 618803200 | 3500 | |
47972460 | kologermit | H | Jan. 5, 2019, 3:39 p.m. | OK | GNU C++17 | TESTS | 77 | 779 | 96358400 | 3500 | |
47623857 | matthew99 | H | Dec. 28, 2018, 2:06 p.m. | OK | GNU C++17 | TESTS | 77 | 826 | 96153600 | 3500 | |
49350620 | 4d2 | H | Feb. 2, 2019, 8:17 a.m. | OK | GNU C++17 | TESTS | 77 | 826 | 96358400 | 3500 | |
53830002 | Loquesea | H | May 6, 2019, 7:11 p.m. | OK | GNU C++17 | TESTS | 77 | 919 | 227840000 | 3500 | |
47822753 | rohamizadidoost | H | Jan. 1, 2019, 7:02 p.m. | OK | GNU C++17 | TESTS | 77 | 935 | 227840000 | 3500 | |
52222987 | jinjonik | H | April 2, 2019, 7:42 a.m. | OK | GNU C++17 | TESTS | 77 | 936 | 96153600 | 3500 | |
57725145 | kartik_tiwari | H | July 25, 2019, 6:54 a.m. | OK | GNU C++17 | TESTS | 77 | 951 | 227840000 | 3500 | |
62848376 | gongsuidashen | H | Oct. 18, 2019, 6:18 a.m. | OK | GNU C++17 | TESTS | 77 | 982 | 227840000 | 3500 | |
50674868 | doublef | H | March 2, 2019, 8:47 a.m. | OK | GNU C++17 | TESTS | 77 | 1013 | 227840000 | 3500 | |
58165231 | Alireza_Keshavarz | H | Aug. 2, 2019, 8:49 a.m. | OK | GNU C++17 | TESTS | 77 | 1013 | 261324800 | 3500 | |
60818097 | t.karen.bro | H | Sept. 18, 2019, 9:30 p.m. | OK | Java 8 | TESTS | 77 | 1591 | 245555200 | 3500 |
Back to search problems