Codeforces Round 211 (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
363 Codeforces Round 211 (Div. 2) FINISHED False 7200 353541597 Nov. 11, 2013, 8 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13459 ) C Fixing Typos PROGRAMMING greedy implementation 1400

B'Many modern text editors automatically check the spelling of the user 's text. Some editors even suggest how to correct typos. In this problem your task to implement a small functionality to correct two types of typos in a word. We will assume that three identical letters together is a typo (for example, word "helllo" contains a typo). Besides, a couple of identical letters immediately followed by another couple of identical letters is a typo too (for example, words "helloo" and "wwaatt" contain typos). Write a code that deletes the minimum number of letters from a word, correcting described typos in the word. You are allowed to delete letters from both ends and from the middle of the word. The single line of the input contains word s, its length is from 1 to 200000 characters. The given word s consists of lowercase English letters. Print such word t that it doesn 't contain any typos described in the problem statement and is obtained from s by deleting the least number of letters. If there are multiple solutions, print any of them. The second valid answer to the test from the statement is "heloo".'...

Tutorials

9537

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
23328136 tieuchanlong C Dec. 25, 2016, 8:15 p.m. OK FPC TESTS 62 31 2252800 1400
28142001 KagamiharaNadeshiko C June 29, 2017, 2:43 p.m. OK FPC TESTS 62 46 3584000 1400
54828325 chaorenhaha C May 30, 2019, 7:41 a.m. OK FPC TESTS 62 62 1433600 1400
41119585 Dasha_Gnedko C Aug. 2, 2018, 11:12 a.m. OK FPC TESTS 62 186 1433600 1400
18588652 Jicote C June 19, 2016, 12:11 a.m. OK FPC TESTS 62 374 614400 1400
54828310 chaorenhaha C May 30, 2019, 7:41 a.m. OK FPC TESTS 62 576 2355200 1400
54828274 chaorenhaha C May 30, 2019, 7:40 a.m. OK FPC TESTS 62 577 6348800 1400
20803207 Kress C Sept. 21, 2016, 6:01 p.m. OK FPC TESTS 62 608 614400 1400
31091402 chinmaykousik1 C Oct. 6, 2017, 7:16 p.m. OK GNU C TESTS 62 15 409600 1400
27009445 code-knight C May 11, 2017, 9:41 a.m. OK GNU C TESTS 62 15 409600 1400
20372130 rainboy C Sept. 3, 2016, 11:26 p.m. OK GNU C TESTS 62 15 409600 1400
26357628 vjudge3 C April 14, 2017, 1:26 p.m. OK GNU C TESTS 62 15 2048000 1400
29423467 vishaldugyala C Aug. 13, 2017, 5:10 a.m. OK GNU C TESTS 62 15 2252800 1400
29277800 vishaldugyala C Aug. 8, 2017, 5:06 a.m. OK GNU C TESTS 62 15 2252800 1400
26368626 vjudge2 C April 15, 2017, 1:24 a.m. OK GNU C TESTS 62 15 2252800 1400
32067188 inguz C Nov. 5, 2017, 3:35 a.m. OK GNU C TESTS 62 30 1024000 1400
32067165 inguz C Nov. 5, 2017, 3:32 a.m. OK GNU C TESTS 62 30 1024000 1400
20370771 rainboy C Sept. 3, 2016, 9:07 p.m. OK GNU C TESTS 62 31 204800 1400
22027036 coder_lesnar C Nov. 4, 2016, 5:03 a.m. OK GNU C++ TESTS 62 15 0 1400
27754209 suda1627405125 C June 13, 2017, 11:26 a.m. OK GNU C++ TESTS 62 15 204800 1400
21698881 manvi_garg45 C Oct. 23, 2016, 5:59 a.m. OK GNU C++ TESTS 62 15 409600 1400
32576371 vjudge5 C Nov. 23, 2017, 1:25 p.m. OK GNU C++ TESTS 62 15 409600 1400
18894424 newcoder_69 C July 5, 2016, 6:52 a.m. OK GNU C++ TESTS 62 15 409600 1400
27753391 suda1627405125 C June 13, 2017, 10:32 a.m. OK GNU C++ TESTS 62 15 716800 1400
20328241 anothervjudge C Sept. 1, 2016, 6:04 p.m. OK GNU C++ TESTS 62 15 716800 1400
18532016 anmol_varshney C June 16, 2016, 9:49 p.m. OK GNU C++ TESTS 62 15 716800 1400
30197710 Mohammad_Shammout C Sept. 8, 2017, 8:06 a.m. OK GNU C++ TESTS 62 15 819200 1400
22177116 kinshukkashyap.1999 C Nov. 12, 2016, 11:49 a.m. OK GNU C++ TESTS 62 15 819200 1400
57142054 Tarek37 C July 16, 2019, 11:30 a.m. OK GNU C11 TESTS 62 31 409600 1400
61872503 kaiboy C Oct. 4, 2019, 6:46 p.m. OK GNU C11 TESTS 62 31 409600 1400
51240745 Noshin_1703086 C March 12, 2019, 9:45 p.m. OK GNU C11 TESTS 62 31 614400 1400
61871868 kaiboy C Oct. 4, 2019, 6:31 p.m. OK GNU C11 TESTS 62 31 614400 1400
39890825 alexey.orlov C July 3, 2018, 10:33 a.m. OK GNU C11 TESTS 62 46 716800 1400
67677115 BugLeave C Dec. 27, 2019, 3:19 a.m. OK GNU C11 TESTS 62 46 1843200 1400
62683132 akash19jain C Oct. 16, 2019, 1:23 p.m. OK GNU C11 TESTS 62 608 409600 1400
27977350 Eagle-EYe C June 23, 2017, 5:23 a.m. OK GNU C11 TESTS 62 810 2048000 1400
19180794 sqr_hussain C July 16, 2016, 11:02 p.m. OK GNU C++11 TESTS 62 15 204800 1400
18589690 Bassel C June 19, 2016, 2:36 a.m. OK GNU C++11 TESTS 62 15 204800 1400
27234139 aquablitz11 C May 20, 2017, 11:09 a.m. OK GNU C++11 TESTS 62 15 204800 1400
18861879 mshokry10 C July 3, 2016, 2:58 a.m. OK GNU C++11 TESTS 62 15 204800 1400
27740829 stjean C June 12, 2017, 3:43 p.m. OK GNU C++11 TESTS 62 15 409600 1400
32045368 OneMore C Nov. 4, 2017, 7:28 a.m. OK GNU C++11 TESTS 62 15 409600 1400
27740082 DavidChan C June 12, 2017, 2:55 p.m. OK GNU C++11 TESTS 62 15 409600 1400
30220360 attiw C Sept. 9, 2017, 8:07 a.m. OK GNU C++11 TESTS 62 15 512000 1400
19214926 charity C July 18, 2016, 2:49 p.m. OK GNU C++11 TESTS 62 15 614400 1400
32068907 anoopchandu C Nov. 5, 2017, 6:11 a.m. OK GNU C++11 TESTS 62 15 716800 1400
32496555 -Green C Nov. 20, 2017, 10:53 a.m. OK GNU C++14 TESTS 62 15 409600 1400
27749773 Wuxing C June 13, 2017, 6:05 a.m. OK GNU C++14 TESTS 62 15 409600 1400
31914681 strawberrry C Oct. 31, 2017, 8:44 a.m. OK GNU C++14 TESTS 62 15 512000 1400
31184518 alfadel C Oct. 10, 2017, 8:37 a.m. OK GNU C++14 TESTS 62 15 512000 1400
29733593 Lena19 C Aug. 24, 2017, 2:35 p.m. OK GNU C++14 TESTS 62 15 512000 1400
20462485 I_Need_Alex_R_Coleman C Sept. 8, 2016, 4:35 p.m. OK GNU C++14 TESTS 62 15 614400 1400
32080379 Cryzek C Nov. 5, 2017, 4:17 p.m. OK GNU C++14 TESTS 62 15 614400 1400
22671309 MesutOzill11 C Dec. 3, 2016, 7:41 a.m. OK GNU C++14 TESTS 62 15 614400 1400
27352129 ray_ban C May 26, 2017, 9:01 a.m. OK GNU C++14 TESTS 62 15 716800 1400
32233937 chamow C Nov. 12, 2017, 3:40 a.m. OK GNU C++14 TESTS 62 15 716800 1400
69486523 vjudge4 C Jan. 24, 2020, 7:50 p.m. OK GNU C++17 TESTS 62 30 512000 1400
55715790 harshrajani460 C June 18, 2019, 12:38 p.m. OK GNU C++17 TESTS 62 30 819200 1400
59980418 suraj1611 C Sept. 4, 2019, 8:01 a.m. OK GNU C++17 TESTS 62 30 819200 1400
64902013 Hoooly C Nov. 14, 2019, 7:26 p.m. OK GNU C++17 TESTS 62 30 819200 1400
53528805 __SandeepDhaka C April 29, 2019, 6:14 p.m. OK GNU C++17 TESTS 62 30 1024000 1400
39009311 silent C June 7, 2018, 5:18 a.m. OK GNU C++17 TESTS 62 30 2355200 1400
43661733 Hoseinali C Oct. 1, 2018, 7:34 p.m. OK GNU C++17 TESTS 62 31 0 1400
41821608 Jaihk662 C Aug. 19, 2018, 9:51 a.m. OK GNU C++17 TESTS 62 31 204800 1400
62952983 manish_109 C Oct. 19, 2019, 7:24 p.m. OK GNU C++17 TESTS 62 31 204800 1400
44356649 NisTa C Oct. 15, 2018, 12:43 p.m. OK GNU C++17 TESTS 62 31 204800 1400
69555082 cribabby C Jan. 26, 2020, 8:27 a.m. OK Java 11 TESTS 62 249 1945600 1400
18729973 ehapmgs C June 26, 2016, 5:44 a.m. OK Java 7 TESTS 62 124 0 1400
17763652 sanket407 C May 6, 2016, 2:49 p.m. OK Java 7 TESTS 62 124 39219200 1400
17822307 buzaubakov.raman C May 9, 2016, 3:33 p.m. OK Java 7 TESTS 62 124 39526400 1400
29593036 zodiacleo C Aug. 19, 2017, 8:32 a.m. OK Java 8 TESTS 62 109 0 1400
29819064 mahestynasser C Aug. 27, 2017, 5:05 a.m. OK Java 8 TESTS 62 109 0 1400
27272257 arnavbansal C May 21, 2017, 6:38 p.m. OK Java 8 TESTS 62 109 0 1400
27214628 da_201501181 C May 19, 2017, 12:47 p.m. OK Java 8 TESTS 62 109 0 1400
25678036 VerticesEdge C March 20, 2017, 11:30 p.m. OK Java 8 TESTS 62 109 20377600 1400
62458600 insane_28 C Oct. 13, 2019, 7:25 a.m. OK Java 8 TESTS 62 124 0 1400
60733969 saisagar07121998 C Sept. 17, 2019, 4:45 p.m. OK Java 8 TESTS 62 124 0 1400
67789214 adarsh000321 C Dec. 28, 2019, 1:59 p.m. OK Java 8 TESTS 62 124 0 1400
58491776 Seco_seco C Aug. 9, 2019, 10:09 a.m. OK Java 8 TESTS 62 124 0 1400
60068194 Abdul01 C Sept. 5, 2019, 10:02 a.m. OK Java 8 TESTS 62 124 0 1400
39763080 0442A403 C June 29, 2018, 8:46 a.m. OK Kotlin TESTS 62 140 20992000 1400
50597674 nemars C Feb. 28, 2019, 11:14 a.m. OK Mono C# TESTS 62 61 1945600 1400
41986534 Skndr801 C Aug. 23, 2018, 6:26 a.m. OK Mono C# TESTS 62 62 1843200 1400
31999303 Skndr C Nov. 3, 2017, 7:18 a.m. OK MS C# TESTS 62 46 1945600 1400
25070877 Chubcheg C Feb. 27, 2017, 7:19 a.m. OK MS C# TESTS 62 61 15974400 1400
21867996 pomjuice C Oct. 29, 2016, 9:20 a.m. OK MS C# TESTS 62 77 6348800 1400
28938975 Phortox C July 27, 2017, 10:42 p.m. OK MS C# TESTS 62 78 15769600 1400
20822580 m.fawzy C Sept. 22, 2016, 4:41 p.m. OK MS C++ TESTS 62 15 921600 1400
26973968 Nathan1 C May 9, 2017, 12:49 p.m. OK MS C++ TESTS 62 15 921600 1400
29505512 kerolesmonsef C Aug. 16, 2017, 12:47 p.m. OK MS C++ TESTS 62 15 1126400 1400
34197842 WooDeND C Jan. 15, 2018, 1:22 p.m. OK MS C++ TESTS 62 15 2457600 1400
27928819 ayaatiyeh C June 20, 2017, 4:25 p.m. OK MS C++ TESTS 62 15 2662400 1400
28011371 ahmed_elsaghear C June 24, 2017, 8:03 p.m. OK MS C++ TESTS 62 15 2867200 1400
28630109 ashis041 C July 17, 2017, 6:46 a.m. OK MS C++ TESTS 62 15 2867200 1400
17873935 houtianqian C May 12, 2016, 10:51 a.m. OK MS C++ TESTS 62 15 4198400 1400
42136069 ezzatmohamed C Aug. 27, 2018, 12:04 a.m. OK MS C++ TESTS 62 30 716800 1400
19025385 mukul_42 C July 11, 2016, 8:29 a.m. OK MS C++ TESTS 62 30 921600 1400
57298749 AhmedAdelSalama C July 18, 2019, 9:07 p.m. OK MS C++ 2017 TESTS 62 46 614400 1400
57839520 IbraheemJanajreh C July 27, 2019, 8:47 a.m. OK MS C++ 2017 TESTS 62 857 1228800 1400
52191632 kabeer27 C April 1, 2019, 4:28 p.m. OK PyPy 2 TESTS 62 186 12492800 1400
47796213 YESMAths C Dec. 31, 2018, 5:13 p.m. OK PyPy 2 TESTS 62 187 27545600 1400
30219113 iit2014101 C Sept. 9, 2017, 6:51 a.m. OK PyPy 2 TESTS 62 264 28876800 1400
35590634 jubaer.hossain C Feb. 23, 2018, 7:38 a.m. OK PyPy 2 TESTS 62 655 22118400 1400
35590461 jubaer.hossain C Feb. 23, 2018, 7:28 a.m. OK PyPy 2 TESTS 62 717 22118400 1400
60498226 swapnil2597 C Sept. 13, 2019, 5:21 p.m. OK PyPy 3 TESTS 62 171 11776000 1400
68649115 gaidash C Jan. 12, 2020, 10:07 a.m. OK PyPy 3 TESTS 62 187 16588800 1400
50657758 Mr.Inconsistent C March 1, 2019, 8:32 p.m. OK PyPy 3 TESTS 62 233 18432000 1400
58664108 Gaurav1 C Aug. 12, 2019, noon OK PyPy 3 TESTS 62 249 19046400 1400
60816035 shall_not_pass C Sept. 18, 2019, 8:19 p.m. OK PyPy 3 TESTS 62 280 18534400 1400
61892377 KeshavSinghal C Oct. 5, 2019, 6:12 a.m. OK PyPy 3 TESTS 62 296 13516800 1400
57575616 fahad17049 C July 23, 2019, 6:54 a.m. OK PyPy 3 TESTS 62 296 13926400 1400
65627841 mayank753 C Nov. 24, 2019, 8:14 a.m. OK PyPy 3 TESTS 62 327 13312000 1400
32171299 nonis C Nov. 9, 2017, 4:20 p.m. OK PyPy 3 TESTS 62 327 33075200 1400
56271028 rajat_2548 C June 29, 2019, 12:06 p.m. OK PyPy 3 TESTS 62 389 34816000 1400
26745355 arpitkath C April 29, 2017, 10:22 a.m. OK Python 2 TESTS 62 93 7782400 1400
21262153 Abhinav2107 C Oct. 7, 2016, 4:15 p.m. OK Python 2 TESTS 62 124 7577600 1400
31371823 Lord_ozb C Oct. 15, 2017, 4:07 p.m. OK Python 2 TESTS 62 140 5939200 1400
30663839 satu0king C Sept. 24, 2017, 11:11 a.m. OK Python 2 TESTS 62 155 4198400 1400
28132542 krull C June 29, 2017, 6:04 a.m. OK Python 2 TESTS 62 202 8908800 1400
20035754 FrontLever C Aug. 21, 2016, 10:36 p.m. OK Python 2 TESTS 62 202 8908800 1400
39727430 aashay C June 27, 2018, 8:48 p.m. OK Python 2 TESTS 62 218 3072000 1400
23675628 Trunks C Jan. 10, 2017, 6:19 a.m. OK Python 2 TESTS 62 218 5222400 1400
28394460 dbhrockzz C July 9, 2017, 9:33 p.m. OK Python 2 TESTS 62 218 7680000 1400
31825707 toxic_hack C Oct. 28, 2017, 6:01 a.m. OK Python 2 TESTS 62 249 5120000 1400
61800192 sherlock8696 C Oct. 3, 2019, 6:41 p.m. OK Python 3 TESTS 62 171 3993600 1400
51900587 5amessi C March 27, 2019, 1:21 p.m. OK Python 3 TESTS 62 187 3276800 1400
23925516 _4C3_ C Jan. 18, 2017, 3:19 p.m. OK Python 3 TESTS 62 187 6144000 1400
37828572 dcshin C May 2, 2018, 1:50 a.m. OK Python 3 TESTS 62 187 7987200 1400
62622939 ashok123 C Oct. 15, 2019, 1:19 p.m. OK Python 3 TESTS 62 202 1228800 1400
23021382 ljjChem C Dec. 16, 2016, 3:10 a.m. OK Python 3 TESTS 62 202 3481600 1400
66628553 Asif01933 C Dec. 11, 2019, 10:12 a.m. OK Python 3 TESTS 62 217 2662400 1400
50616582 jlewis6 C Feb. 28, 2019, 8:03 p.m. OK Python 3 TESTS 62 233 1024000 1400
66536386 vjudge3 C Dec. 9, 2019, 9:46 a.m. OK Python 3 TESTS 62 233 2560000 1400
60501738 shiaurv C Sept. 13, 2019, 7:03 p.m. OK Python 3 TESTS 62 233 2662400 1400
35862025 ______u______ C March 2, 2018, 10:16 p.m. OK Ruby TESTS 62 140 16793600 1400
35861851 ______n______ C March 2, 2018, 10:11 p.m. OK Ruby TESTS 62 140 16793600 1400
35861430 _____i_____ C March 2, 2018, 10:03 p.m. OK Ruby TESTS 62 140 16793600 1400
35861361 _____k_____ C March 2, 2018, 10:01 p.m. OK Ruby TESTS 62 140 16793600 1400
35858264 ______h______ C March 2, 2018, 8:56 p.m. OK Ruby TESTS 62 140 16793600 1400
35858263 ______k______ C March 2, 2018, 8:56 p.m. OK Ruby TESTS 62 140 16793600 1400
35857653 ______i______ C March 2, 2018, 8:45 p.m. OK Ruby TESTS 62 140 16793600 1400
35855752 ______M______ C March 2, 2018, 8:07 p.m. OK Ruby TESTS 62 140 16793600 1400
23894058 karthickpdy C Jan. 17, 2017, 3:49 a.m. OK Ruby TESTS 62 233 7372800 1400

remove filters

Back to search problems