Codeforces Round 427 (Div. 2)

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
835 Codeforces Round 427 (Div. 2) FINISHED False 7200 230311499 July 31, 2017, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4144 ) D Palindromic characteristics PROGRAMMING brute force dp hashing strings 1900

B'Palindromic characteristics of string s with length |s| is a sequence of |s| integers, where k-th number is the total number of non-empty substrings of s which are k-palindromes. A string is 1-palindrome if and only if it reads the same backward as forward. A string is k-palindrome (k xe2 x80 x89> xe2 x80 x891) if and only if: The left half of string t is its prefix of length xe2 x8c x8a|t| xe2 x80 x89/ xe2 x80 x892 xe2 x8c x8b, and right half -- the suffix of the same length. xe2 x8c x8a|t| xe2 x80 x89/ xe2 x80 x892 xe2 x8c x8b denotes the length of string t divided by 2, rounded down. Note that each substring is counted as many times as it appears in the string. For example, in the string "aaa" the substring "a" appears 3 times. The first line contains the string s (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|s| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895000) consisting of lowercase English letters. Print |s| integers -- palindromic characteristics of string s. In the first example 1-palindromes are substring xc2 xaba xc2 xbb, xc2 xabb xc2 xbb, xc2 xabb xc2 xbb, xc2 xaba xc2 xbb, xc2 xabbb xc2 xbb, xc2 xababba xc2 xbb, the substring xc2 xabbb xc2 xbb is 2-palindrome. There are no 3- and 4-palindromes here. '...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
29113981 fluffyowl D Aug. 2, 2017, 1:44 a.m. OK D TESTS 65 202 125030400 1900
29085508 ruban D Aug. 1, 2017, 2:36 a.m. OK Delphi TESTS 65 514 146432000 1900
33884572 HsOH D Jan. 3, 2018, 12:33 p.m. OK FPC TESTS 65 249 102297600 1900
47267159 chaorenhaha D Dec. 19, 2018, 2:51 p.m. OK FPC TESTS 65 264 200908800 1900
29848579 huw D Aug. 28, 2017, 3:10 p.m. OK FPC TESTS 65 296 104652800 1900
40735952 chaorenhaha D July 25, 2018, 9:58 a.m. OK FPC TESTS 65 436 100659200 1900
40735942 chaorenhaha D July 25, 2018, 9:58 a.m. OK FPC TESTS 65 498 100966400 1900
30197863 toida12chu D Sept. 8, 2017, 8:15 a.m. OK FPC TESTS 65 655 100761600 1900
29830989 dinhquyduc13021 D Aug. 27, 2017, 4:56 p.m. OK FPC TESTS 65 857 125849600 1900
29831051 dinhquyduc13021 D Aug. 27, 2017, 5 p.m. OK FPC TESTS 65 888 125644800 1900
29105020 rainboy D Aug. 1, 2017, 3:20 p.m. OK GNU C TESTS 65 62 102092800 1900
29850221 vjudge2 D Aug. 28, 2017, 4:41 p.m. OK GNU C TESTS 65 904 200396800 1900
29508690 dasinlsb D Aug. 16, 2017, 3:20 p.m. OK GNU C++ TESTS 65 15 716800 1900
29156731 Pepcy_Ch D Aug. 3, 2017, 1:47 p.m. OK GNU C++ TESTS 65 15 2560000 1900
29152144 Anque D Aug. 3, 2017, 9:50 a.m. OK GNU C++ TESTS 65 15 3072000 1900
40980365 ReaLNero1 D July 30, 2018, 5:30 p.m. OK GNU C++ TESTS 65 31 921600 1900
29085544 dy0607 D Aug. 1, 2017, 2:38 a.m. OK GNU C++ TESTS 65 31 2764800 1900
38716881 Ebola_Emperor D May 29, 2018, 11:21 a.m. OK GNU C++ TESTS 65 31 6860800 1900
29104595 I_Love_Zzq D Aug. 1, 2017, 3:04 p.m. OK GNU C++ TESTS 65 61 2150400 1900
29149260 NeverN D Aug. 3, 2017, 7:47 a.m. OK GNU C++ TESTS 65 62 102502400 1900
29133628 qwerty123q D Aug. 2, 2017, 2:54 p.m. OK GNU C++ TESTS 65 62 106803200 1900
30216705 bestFy D Sept. 9, 2017, 3:43 a.m. OK GNU C++ TESTS 65 77 125542400 1900
29372323 ywwyww D Aug. 12, 2017, 8:15 a.m. OK GNU C++11 TESTS 65 15 154316800 1900
46999780 ButterflyDew D Dec. 14, 2018, 10:54 a.m. OK GNU C++11 TESTS 65 31 512000 1900
52631690 vjudge2 D April 12, 2019, 7:28 a.m. OK GNU C++11 TESTS 65 31 921600 1900
62053363 luogu_bot1 D Oct. 7, 2019, 10:14 a.m. OK GNU C++11 TESTS 65 31 1024000 1900
62053309 luogu_bot3 D Oct. 7, 2019, 10:13 a.m. OK GNU C++11 TESTS 65 31 1024000 1900
53982006 ouuan D May 11, 2019, 7:38 a.m. OK GNU C++11 TESTS 65 31 1024000 1900
51999412 luogu_bot3 D March 30, 2019, 5:21 a.m. OK GNU C++11 TESTS 65 31 1228800 1900
29116261 Haarmony D Aug. 2, 2017, 3:52 a.m. OK GNU C++11 TESTS 65 31 3993600 1900
49936947 luogu_bot3 D Feb. 15, 2019, 7:44 a.m. OK GNU C++11 TESTS 65 31 6860800 1900
49905056 luogu_bot3 D Feb. 14, 2019, 11:33 a.m. OK GNU C++11 TESTS 65 31 6860800 1900
33811565 RogerDTZ D Dec. 30, 2017, 2:37 p.m. OK GNU C++14 TESTS 65 15 2662400 1900
29353889 Kepperoni D Aug. 11, 2017, 1:18 p.m. OK GNU C++14 TESTS 65 30 2560000 1900
46636792 ezoilearner D Dec. 5, 2018, 7:14 a.m. OK GNU C++14 TESTS 65 31 716800 1900
29186285 pimukthee D Aug. 4, 2017, 6:50 a.m. OK GNU C++14 TESTS 65 31 1945600 1900
29199251 r.i D Aug. 4, 2017, 4:32 p.m. OK GNU C++14 TESTS 65 31 2560000 1900
29077684 moyashi D July 31, 2017, 5:58 p.m. OK GNU C++14 TESTS 65 31 2560000 1900
29279269 Lance_HAOH D Aug. 8, 2017, 6:51 a.m. OK GNU C++14 TESTS 65 31 2662400 1900
64878196 JasonZhan D Nov. 14, 2019, 10:40 a.m. OK GNU C++14 TESTS 65 31 71065600 1900
64878086 Jason_Zhan D Nov. 14, 2019, 10:38 a.m. OK GNU C++14 TESTS 65 31 71065600 1900
29353748 Kepperoni D Aug. 11, 2017, 1:12 p.m. OK GNU C++14 TESTS 65 61 2560000 1900
60923569 Sooke D Sept. 20, 2019, 11:31 a.m. OK GNU C++17 TESTS 65 31 12902400 1900
51266562 ArshiaDadras D March 13, 2019, 3:49 p.m. OK GNU C++17 TESTS 65 46 102400 1900
51266626 ArshiaDadras D March 13, 2019, 3:50 p.m. OK GNU C++17 TESTS 65 62 102400 1900
47535815 vjudge5 D Dec. 27, 2018, 1:22 a.m. OK GNU C++17 TESTS 65 77 100454400 1900
63397487 codekode D Oct. 25, 2019, 5:08 p.m. OK GNU C++17 TESTS 65 93 100659200 1900
45231872 xymtxdy D Nov. 3, 2018, 7:27 a.m. OK GNU C++17 TESTS 65 93 201216000 1900
55615772 maxnguyen D June 16, 2019, 8:48 a.m. OK GNU C++17 TESTS 65 109 102400 1900
63016974 OrangE_3 D Oct. 20, 2019, 1:12 p.m. OK GNU C++17 TESTS 65 140 100249600 1900
52336825 qyx D April 5, 2019, 8:26 a.m. OK GNU C++17 TESTS 65 140 100454400 1900
52336786 vjudge3 D April 5, 2019, 8:25 a.m. OK GNU C++17 TESTS 65 155 100454400 1900
29428076 megaspazz D Aug. 13, 2017, 8:20 a.m. OK Go TESTS 65 810 133427200 1900
31382844 Marii D Oct. 16, 2017, 5:58 a.m. OK Go TESTS 65 872 105984000 1900
31316373 Marii D Oct. 14, 2017, 3:36 p.m. OK Go TESTS 65 1528 231219200 1900
29427077 megaspazz D Aug. 13, 2017, 7:34 a.m. OK Go TESTS 65 2324 114995200 1900
67183337 Playfair D Dec. 19, 2019, 2:14 a.m. OK Java 11 TESTS 65 763 144179200 1900
29463006 donli D Aug. 14, 2017, 4:50 p.m. OK Java 8 TESTS 65 155 20582400 1900
29154102 spar5h D Aug. 3, 2017, 11:33 a.m. OK Java 8 TESTS 65 280 167219200 1900
29082023 kaseik D July 31, 2017, 10:02 p.m. OK Java 8 TESTS 65 296 167014400 1900
49541454 KulikAlex D Feb. 6, 2019, 6:42 p.m. OK Java 8 TESTS 65 358 145612800 1900
31676115 tomdmitriev D Oct. 24, 2017, 9:47 a.m. OK Java 8 TESTS 65 390 165068800 1900
45944119 Ahmad_Elsagheer D Nov. 18, 2018, 9:35 p.m. OK Java 8 TESTS 65 405 137113600 1900
29135609 mikcorer D Aug. 2, 2017, 4:36 p.m. OK Java 8 TESTS 65 421 167014400 1900
46178624 mennafadali D Nov. 24, 2018, 4:32 p.m. OK Java 8 TESTS 65 436 142336000 1900
29074833 csullivan203 D July 31, 2017, 4:29 p.m. OK Java 8 TESTS 65 436 165376000 1900
46178687 mennafadali D Nov. 24, 2018, 4:34 p.m. OK Java 8 TESTS 65 452 142233600 1900
32435639 og.kostya D Nov. 18, 2017, 3:50 p.m. OK MS C# TESTS 65 639 218009600 1900
29075955 valergrad D July 31, 2017, 4:34 p.m. OK MS C# TESTS 65 2698 87756800 1900
29841310 vjudge4 D Aug. 28, 2017, 8:35 a.m. OK MS C++ TESTS 65 234 100556800 1900
29281257 bojverdict1 D Aug. 8, 2017, 8:32 a.m. OK MS C++ TESTS 65 249 125849600 1900
29846059 Loesen D Aug. 28, 2017, 1:10 p.m. OK MS C++ TESTS 65 265 100352000 1900
29294705 _mactep D Aug. 8, 2017, 11:09 p.m. OK MS C++ TESTS 65 265 102604800 1900
29117783 Dinrod D Aug. 2, 2017, 5:22 a.m. OK MS C++ TESTS 65 280 102400000 1900
29133309 Arwill D Aug. 2, 2017, 2:40 p.m. OK MS C++ TESTS 65 358 102502400 1900
29134638 Arwill D Aug. 2, 2017, 3:49 p.m. OK MS C++ TESTS 65 390 102502400 1900
29300551 Universe7 D Aug. 9, 2017, 7:37 a.m. OK MS C++ TESTS 65 499 102707200 1900
29458718 scorpiowf D Aug. 14, 2017, 1:30 p.m. OK MS C++ TESTS 65 529 110489600 1900
42343350 DavitMarg D Sept. 1, 2018, 6:54 p.m. OK MS C++ TESTS 65 561 100556800 1900
29717852 pluristiq D Aug. 23, 2017, 9:39 p.m. OK PyPy 2 TESTS 65 249 4096000 1900
29277721 ahxgw D Aug. 8, 2017, 4:59 a.m. OK PyPy 2 TESTS 65 670 123494400 1900
29153276 Ostkaka D Aug. 3, 2017, 10:53 a.m. OK PyPy 2 TESTS 65 1871 123699200 1900
29236776 aybekko D Aug. 6, 2017, 8:44 a.m. OK PyPy 3 TESTS 65 732 84480000 1900
29083378 ecjtu-nzf D Aug. 1, 2017, 12:37 a.m. OK PyPy 3 TESTS 65 732 84480000 1900
29082380 hop-hop D July 31, 2017, 10:42 p.m. OK PyPy 3 TESTS 65 732 84480000 1900
29097965 hackentosh11 D Aug. 1, 2017, 11:34 a.m. OK PyPy 3 TESTS 65 748 126668800 1900
29077276 qoo2p5 D July 31, 2017, 5:49 p.m. OK PyPy 3 TESTS 65 763 84480000 1900
67246096 Playfair D Dec. 19, 2019, 5:18 p.m. OK PyPy 3 TESTS 65 764 115097600 1900
67183331 Playfair D Dec. 19, 2019, 2:14 a.m. OK PyPy 3 TESTS 65 764 115097600 1900
67298946 Playfair D Dec. 20, 2019, 5:55 p.m. OK PyPy 3 TESTS 65 935 114790400 1900
67298745 Playfair D Dec. 20, 2019, 5:51 p.m. OK PyPy 3 TESTS 65 967 117145600 1900
29342037 freedom_dr D Aug. 11, 2017, 3:22 a.m. OK PyPy 3 TESTS 65 1435 128102400 1900
29490025 Hillmouse D Aug. 15, 2017, 8:19 p.m. OK Rust TESTS 65 233 51712000 1900
29085614 williamyaoh D Aug. 1, 2017, 2:41 a.m. OK Rust TESTS 65 343 101683200 1900
30093607 kobae964 D Sept. 5, 2017, 7:44 a.m. OK Rust TESTS 65 405 158617600 1900
29597461 sntea D Aug. 19, 2017, noon OK Rust TESTS 65 655 52838400 1900
29597343 sntea D Aug. 19, 2017, 11:55 a.m. OK Rust TESTS 65 2324 52838400 1900
29597269 sntea D Aug. 19, 2017, 11:52 a.m. OK Rust TESTS 65 2807 52838400 1900

remove filters

Back to search problems