Codeforces Round 189 (Div. 1)

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
319 Codeforces Round 189 (Div. 1) FINISHED False 7800 365446787 June 23, 2013, 1 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 676 ) D Have You Ever Heard About the Word? PROGRAMMING greedy hashing string suffix structures strings 2700

B"A substring of a string is a contiguous subsequence of that string. So, string bca is substring of string abcabc, but string cc is not. A repeating block is a string formed by concatenating some string with itself. So, string abcabc is a repeating block, but strings abcabd, ababab are not. You've got a sequence of Latin characters (string). At each step you find the shortest substring that is a repeating block, if there exists more than one you must choose the leftmost. As the substring is of form XX (X -- some string) you replace this substring with X, in other words you delete one of the X substrings in the substring. You repeat this process until there remains no repeating block in the string. How would the final string looks like? Look at the sample explanation to understand the statement more precise. In the first line of input you're given a string of small Latin characters with length between 1 to 50000, inclusive. Print the final string after applying changes. At the first sample the string transforms as follows: abccabc xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 abcabc xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 abc. At the second sample the string transforms as follows: aaaabaaab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 aaabaaab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 aabaaab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 abaaab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 abaab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 abab xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 ab."...

Tutorials

Codeforces Round #189 — Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3957673 Chen_ChaoRui D June 25, 2013, 2:40 a.m. OK Delphi TESTS 59 3687 204800 2700
15268249 yinlingfeng D Jan. 9, 2016, 11:02 a.m. OK FPC TESTS 59 716 1228800 2700
15204983 vjudge4 D Jan. 6, 2016, 2:13 p.m. OK FPC TESTS 59 716 1228800 2700
10531161 yubaby D March 31, 2015, 7:49 a.m. OK FPC TESTS 59 748 819200 2700
62866086 luogu_bot1 D Oct. 18, 2019, 12:16 p.m. OK FPC TESTS 59 842 1536000 2700
10530937 louisja1 D March 31, 2015, 7:16 a.m. OK FPC TESTS 59 1028 1536000 2700
4100237 shubhangipriya D July 18, 2013, 4:31 p.m. OK GNU C TESTS 59 1453 0 2700
39464452 Danieldh100 D June 21, 2018, 2:08 p.m. OK GNU C TESTS 59 1996 102400 2700
3962743 liouzhou_101 D June 26, 2013, 7:33 a.m. OK GNU C TESTS 59 2234 102400 2700
3962730 liouzhou_101 D June 26, 2013, 7:31 a.m. OK GNU C TESTS 59 2293 102400 2700
35859617 ______u______ D March 2, 2018, 9:23 p.m. OK GNU C TESTS 59 3026 1945600 2700
35859406 ______n______ D March 2, 2018, 9:18 p.m. OK GNU C TESTS 59 3026 1945600 2700
35858941 _____i_____ D March 2, 2018, 9:10 p.m. OK GNU C TESTS 59 3026 1945600 2700
35858874 _____k_____ D March 2, 2018, 9:08 p.m. OK GNU C TESTS 59 3026 1945600 2700
35855260 ______h______ D March 2, 2018, 7:57 p.m. OK GNU C TESTS 59 3026 1945600 2700
35855200 ______k______ D March 2, 2018, 7:57 p.m. OK GNU C TESTS 59 3026 1945600 2700
4075720 tworuler D July 15, 2013, 1:28 p.m. OK GNU C++ TESTS 59 62 409600 2700
8927256 hta D Dec. 2, 2014, 4:12 a.m. OK GNU C++ TESTS 59 62 614400 2700
20940657 crybymyself D Sept. 27, 2016, 8:36 a.m. OK GNU C++ TESTS 59 62 1024000 2700
23267509 ShinFeb D Dec. 24, 2016, 8:43 a.m. OK GNU C++ TESTS 59 62 3584000 2700
33044651 Scut82 D Dec. 9, 2017, 9:31 a.m. OK GNU C++ TESTS 59 62 3788800 2700
31566055 owen_creeper D Oct. 21, 2017, 10:32 a.m. OK GNU C++ TESTS 59 62 4198400 2700
36670058 zyding D March 27, 2018, 1:57 p.m. OK GNU C++ TESTS 59 62 4812800 2700
4185607 PeterTong97 D July 27, 2013, 10:22 a.m. OK GNU C++ TESTS 59 92 409600 2700
8031556 wwx D Sept. 30, 2014, 2:51 a.m. OK GNU C++ TESTS 59 92 512000 2700
8841631 Aponoia D Nov. 25, 2014, 2:38 a.m. OK GNU C++ TESTS 59 92 614400 2700
8875256 equation314 D Nov. 28, 2014, 2:56 a.m. OK GNU C++0x TESTS 59 92 34099200 2700
10102312 thesilione D March 1, 2015, 11:43 p.m. OK GNU C++0x TESTS 59 248 921600 2700
10102320 thesilione D March 1, 2015, 11:44 p.m. OK GNU C++0x TESTS 59 280 921600 2700
5870200 Krasnokutskiy D Feb. 2, 2014, 7:52 p.m. OK GNU C++0x TESTS 59 560 5017600 2700
3987424 Ixanezis D June 28, 2013, 9:59 p.m. OK GNU C++0x TESTS 59 1468 102400 2700
8833123 Aponoia D Nov. 24, 2014, 10:15 a.m. OK GNU C++0x TESTS 59 1590 0 2700
3951271 Archon.JK D June 23, 2013, 4:14 p.m. OK GNU C++0x TESTS 59 1937 0 2700
3960817 kraskevich D June 25, 2013, 4:22 p.m. OK GNU C++0x TESTS 59 2574 307200 2700
4247433 error202 D Aug. 9, 2013, 2:03 p.m. OK GNU C++0x TESTS 59 2652 0 2700
4032683 Goofy57 D July 6, 2013, 10:01 p.m. OK GNU C++0x TESTS 59 3187 1433600 2700
45310227 Darling-IcePrincess_1968 D Nov. 5, 2018, 3:11 a.m. OK GNU C++11 TESTS 59 92 921600 2700
40663626 Feeey D July 23, 2018, 8:27 a.m. OK GNU C++11 TESTS 59 92 921600 2700
45314155 Crossguard D Nov. 5, 2018, 6:57 a.m. OK GNU C++11 TESTS 59 92 1536000 2700
35169338 vjudge1 D Feb. 12, 2018, 5:39 a.m. OK GNU C++11 TESTS 59 92 2969600 2700
39233694 luogu_bot5 D June 14, 2018, 7:01 a.m. OK GNU C++11 TESTS 59 122 1228800 2700
39233627 luogu_bot4 D June 14, 2018, 6:58 a.m. OK GNU C++11 TESTS 59 124 1228800 2700
38400188 Suika_predator D May 18, 2018, 11:53 a.m. OK GNU C++11 TESTS 59 124 1536000 2700
45310158 Darling-IcePrincess_1968 D Nov. 5, 2018, 3:07 a.m. OK GNU C++11 TESTS 59 124 1740800 2700
36682287 thchuan D March 28, 2018, 3:16 a.m. OK GNU C++11 TESTS 59 124 5120000 2700
65541018 JCC_ D Nov. 22, 2019, 3:32 p.m. OK GNU C++11 TESTS 59 186 102400 2700
56382510 Scut82 D July 1, 2019, 9:04 a.m. OK GNU C++14 TESTS 59 92 614400 2700
45134822 dasinlsb D Oct. 31, 2018, 11:54 a.m. OK GNU C++14 TESTS 59 92 1228800 2700
48888436 Hamzqq9 D Jan. 24, 2019, 1:11 p.m. OK GNU C++14 TESTS 59 124 409600 2700
48888010 KATATONIA D Jan. 24, 2019, 1:02 p.m. OK GNU C++14 TESTS 59 124 512000 2700
34551049 boook D Jan. 25, 2018, 3:45 p.m. OK GNU C++14 TESTS 59 124 3891200 2700
41611792 apia D Aug. 15, 2018, 6:53 a.m. OK GNU C++14 TESTS 59 186 1024000 2700
36694798 little_waxberry D March 28, 2018, 1:54 p.m. OK GNU C++14 TESTS 59 248 4505600 2700
47315065 transs D Dec. 21, 2018, 1:59 a.m. OK GNU C++14 TESTS 59 312 50073600 2700
38405216 ShakuganSky D May 18, 2018, 3:55 p.m. OK GNU C++14 TESTS 59 560 1126400 2700
48887567 KATATONIA D Jan. 24, 2019, 12:54 p.m. OK GNU C++14 TESTS 59 590 512000 2700
53498367 ruo D April 29, 2019, 1:01 p.m. OK GNU C++17 TESTS 59 1808 102400 2700
54420315 Lucina D May 20, 2019, 3:02 p.m. OK GNU C++17 TESTS 59 1808 307200 2700
61430805 nikunj_1999 D Sept. 28, 2019, 2:39 p.m. OK GNU C++17 TESTS 59 1902 102400 2700
65911776 hjk1030 D Nov. 28, 2019, 1:11 p.m. OK GNU C++17 TESTS 59 2120 9420800 2700
36687693 the_silliest D March 28, 2018, 9:22 a.m. OK GNU C++17 TESTS 59 2432 3686400 2700
36333295 112 D March 16, 2018, 5:38 p.m. OK GNU C++17 TESTS 59 2620 3379200 2700
49561690 Slaaava D Feb. 7, 2019, 12:53 p.m. OK GNU C++17 TESTS 59 3274 6041600 2700
53093046 m_ea D April 21, 2019, 12:09 p.m. OK GNU C++17 TESTS 59 4242 102400 2700
4164272 tsun D July 25, 2013, 1:49 p.m. OK Java 7 TESTS 59 171 0 2700
3966146 mmaxio D June 27, 2013, 6:18 a.m. OK Java 7 TESTS 59 1640 307200 2700
3966115 mmaxio D June 27, 2013, 6:08 a.m. OK Java 7 TESTS 59 1781 409600 2700
3966132 mmaxio D June 27, 2013, 6:12 a.m. OK Java 7 TESTS 59 1812 307200 2700
3966130 mmaxio D June 27, 2013, 6:12 a.m. OK Java 7 TESTS 59 1825 204800 2700
3966127 mmaxio D June 27, 2013, 6:11 a.m. OK Java 7 TESTS 59 1828 204800 2700
3966113 mmaxio D June 27, 2013, 6:08 a.m. OK Java 7 TESTS 59 2012 307200 2700
3966086 mmaxio D June 27, 2013, 5:54 a.m. OK Java 7 TESTS 59 2046 614400 2700
3966089 mmaxio D June 27, 2013, 5:55 a.m. OK Java 7 TESTS 59 2168 409600 2700
3966119 mmaxio D June 27, 2013, 6:09 a.m. OK Java 7 TESTS 59 2199 307200 2700
15233811 AndreiNet D Jan. 8, 2016, 7:50 a.m. OK Java 8 TESTS 59 5022 0 2700
4650509 Aharon D Oct. 3, 2013, 4:05 p.m. OK MS C++ TESTS 59 2496 102400 2700
4041884 aa2985759 D July 9, 2013, 9:54 a.m. OK MS C++ TESTS 59 2843 0 2700
12344864 MTJJH D Aug. 5, 2015, 2:25 a.m. OK MS C++ TESTS 59 3524 102400 2700
4495794 lzsb D Sept. 18, 2013, 2:14 p.m. OK MS C++ TESTS 59 3618 0 2700
3948106 GlebsHP D June 23, 2013, 2:18 p.m. OK MS C++ TESTS 59 3781 0 2700

remove filters

Back to search problems