Technocup 2017 - Elimination Round 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
729 Technocup 2017 - Elimination Round 2 FINISHED False 7200 252190499 Nov. 20, 2016, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7494 ) A Interview with Oleg PROGRAMMING implementation strings 1000

B'Polycarp has interviewed Oleg and has written the interview down without punctuation marks and spaces to save time. Thus, the interview is now a string s consisting of n lowercase English letters. There is a filler word ogo in Oleg 's speech. All words that can be obtained from ogo by adding go several times to the end of it are also considered to be fillers. For example, the words ogo, ogogo, ogogogo are fillers, but the words go, og, ogog, ogogog and oggo are not fillers. The fillers have maximal size, for example, for ogogoo speech we can 't consider ogo a filler and goo as a normal phrase. We should consider ogogo as a filler here. To print the interview, Polycarp has to replace each of the fillers with three asterisks. Note that a filler word is replaced with exactly three asterisks regardless of its length. Polycarp has dealt with this problem in no time. Can you do the same? The clock is ticking! The first line contains a positive integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the length of the interview. The second line contains the string s of length n, consisting of lowercase English letters. Print the interview text after the replacement of each of the fillers with "***". It is allowed for the substring "***" to have several consecutive occurences. The first sample contains one filler word ogogo, so the interview for printing is "a***b". The second sample contains two fillers ogo and ogogogo. Thus, the interview is transformed to "***gmg***". '...

Tutorials

Technocup 2017 — Elimination Round 2 (and Codeforces Round 380) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
45412751 vjudge5 A Nov. 7, 2018, 12:48 p.m. OK Clang++17 Diagnostics TESTS 48 46 1331200 1000
22354652 _katorina_ A Nov. 20, 2016, 10:20 a.m. OK Delphi TESTS 48 15 0 1000
22348671 Alexandr_Q_Q_ A Nov. 20, 2016, 9:38 a.m. OK Delphi TESTS 48 15 0 1000
22665802 ab176 A Dec. 2, 2016, 8:44 p.m. OK Delphi TESTS 48 15 0 1000
22345438 alexis15 A Nov. 20, 2016, 9:20 a.m. OK Delphi TESTS 48 15 0 1000
22345538 Leonid18101999 A Nov. 20, 2016, 9:21 a.m. OK Delphi TESTS 48 15 0 1000
22344197 Holidin A Nov. 20, 2016, 9:13 a.m. OK Delphi TESTS 48 15 0 1000
22344609 Cabpacob A Nov. 20, 2016, 9:16 a.m. OK Delphi TESTS 48 15 102400 1000
22346246 ivalsori A Nov. 20, 2016, 9:24 a.m. OK Delphi TESTS 48 15 102400 1000
22348959 Crashdown A Nov. 20, 2016, 9:39 a.m. OK Delphi TESTS 48 15 102400 1000
22344515 KillYourself A Nov. 20, 2016, 9:15 a.m. OK Delphi TESTS 48 15 102400 1000
22353590 Davletshina_Kamilla A Nov. 20, 2016, 10:12 a.m. OK FPC TESTS 48 15 0 1000
22345315 Gnom.Ik A Nov. 20, 2016, 9:20 a.m. OK FPC TESTS 48 15 0 1000
22344990 egorguguchkin6764 A Nov. 20, 2016, 9:18 a.m. OK FPC TESTS 48 15 0 1000
31145042 Nikolay_Morgunov A Oct. 8, 2017, 1:13 p.m. OK FPC TESTS 48 15 102400 1000
30372569 Rimdalf A Sept. 15, 2017, 9:23 p.m. OK FPC TESTS 48 15 102400 1000
22704239 RUFABD A Dec. 5, 2016, 3:57 a.m. OK FPC TESTS 48 15 102400 1000
22620550 O_M_E_G_A A Nov. 30, 2016, 11:37 a.m. OK FPC TESTS 48 15 102400 1000
22353469 Andre_SP A Nov. 20, 2016, 10:11 a.m. OK FPC TESTS 48 15 102400 1000
22350726 tolmachevpk A Nov. 20, 2016, 9:51 a.m. OK FPC TESTS 48 15 102400 1000
22350606 WeezleBro A Nov. 20, 2016, 9:50 a.m. OK FPC TESTS 48 15 102400 1000
23049829 betterthanothers A Dec. 17, 2016, 2:38 p.m. OK GNU C TESTS 48 15 0 1000
31969413 NoSoul A Nov. 2, 2017, 6:18 a.m. OK GNU C TESTS 48 15 0 1000
30235746 MarcosK A Sept. 10, 2017, 12:09 a.m. OK GNU C TESTS 48 15 0 1000
29679025 rusurares A Aug. 22, 2017, 9:31 a.m. OK GNU C TESTS 48 15 0 1000
27486073 Takik A June 1, 2017, 1:53 p.m. OK GNU C TESTS 48 15 0 1000
23042322 subramanyam A Dec. 17, 2016, 8:19 a.m. OK GNU C TESTS 48 15 0 1000
23012103 AAGROH5066 A Dec. 15, 2016, 4:24 p.m. OK GNU C TESTS 48 15 0 1000
22908158 ianahao A Dec. 12, 2016, 4:15 p.m. OK GNU C TESTS 48 15 0 1000
22874177 hritwik567 A Dec. 11, 2016, 9:47 a.m. OK GNU C TESTS 48 15 0 1000
22870214 MajAK A Dec. 11, 2016, 4:36 a.m. OK GNU C TESTS 48 15 0 1000
29902172 vjudge3 A Aug. 29, 2017, 8:19 p.m. OK GNU C++ TESTS 48 15 0 1000
29849669 vjudge5 A Aug. 28, 2017, 4:08 p.m. OK GNU C++ TESTS 48 15 0 1000
30697060 vjudge1 A Sept. 25, 2017, 6:55 a.m. OK GNU C++ TESTS 48 15 0 1000
29810384 vjudge2 A Aug. 26, 2017, 4:11 p.m. OK GNU C++ TESTS 48 15 0 1000
29781776 vjudge3 A Aug. 25, 2017, 1:32 p.m. OK GNU C++ TESTS 48 15 0 1000
29781518 vjudge1 A Aug. 25, 2017, 1:22 p.m. OK GNU C++ TESTS 48 15 0 1000
29779411 vjudge1 A Aug. 25, 2017, 12:48 p.m. OK GNU C++ TESTS 48 15 0 1000
29779273 vjudge5 A Aug. 25, 2017, 12:41 p.m. OK GNU C++ TESTS 48 15 0 1000
29778423 vjudge3 A Aug. 25, 2017, 12:02 p.m. OK GNU C++ TESTS 48 15 0 1000
29778404 vjudge3 A Aug. 25, 2017, 12:02 p.m. OK GNU C++ TESTS 48 15 0 1000
22639855 newbass A Dec. 1, 2016, 1:04 p.m. OK GNU C11 TESTS 48 15 0 1000
22843342 sk.sayakkundurdx A Dec. 9, 2016, 8:15 p.m. OK GNU C11 TESTS 48 15 0 1000
22589199 lord.adriano A Nov. 29, 2016, 12:19 a.m. OK GNU C11 TESTS 48 15 0 1000
24066907 vjudge1 A Jan. 23, 2017, 8:46 a.m. OK GNU C11 TESTS 48 15 1843200 1000
35181366 vjudge5 A Feb. 12, 2018, 2:52 p.m. OK GNU C11 TESTS 48 15 1843200 1000
35178779 vjudge2 A Feb. 12, 2018, 1:15 p.m. OK GNU C11 TESTS 48 15 1843200 1000
23138930 Forusser A Dec. 19, 2016, 12:58 p.m. OK GNU C11 TESTS 48 15 1843200 1000
24067138 vjudge3 A Jan. 23, 2017, 8:58 a.m. OK GNU C11 TESTS 48 15 1945600 1000
24066561 vjudge5 A Jan. 23, 2017, 8:29 a.m. OK GNU C11 TESTS 48 15 1945600 1000
26085990 vjudge1 A April 2, 2017, 8:16 p.m. OK GNU C11 TESTS 48 15 1945600 1000
32218081 fordsiera10 A Nov. 11, 2017, 11:34 a.m. OK GNU C++11 TESTS 48 15 0 1000
32247201 Leemur A Nov. 12, 2017, 3:17 p.m. OK GNU C++11 TESTS 48 15 0 1000
32217381 shaurma008 A Nov. 11, 2017, 11:03 a.m. OK GNU C++11 TESTS 48 15 0 1000
32206179 gle8098 A Nov. 10, 2017, 9:15 p.m. OK GNU C++11 TESTS 48 15 0 1000
31853413 stargazer A Oct. 29, 2017, 1:09 a.m. OK GNU C++11 TESTS 48 15 0 1000
31265542 Banan01 A Oct. 13, 2017, 5:17 a.m. OK GNU C++11 TESTS 48 15 0 1000
31264808 Atajan01 A Oct. 13, 2017, 4:07 a.m. OK GNU C++11 TESTS 48 15 0 1000
30925696 Quinas A Oct. 1, 2017, 9 p.m. OK GNU C++11 TESTS 48 15 0 1000
30640822 monya_ghannam A Sept. 23, 2017, 12:09 p.m. OK GNU C++11 TESTS 48 15 0 1000
30359111 lazy_sloth A Sept. 15, 2017, 7:57 a.m. OK GNU C++11 TESTS 48 15 0 1000
31139900 Jostic11 A Oct. 8, 2017, 10:03 a.m. OK GNU C++14 TESTS 48 15 0 1000
66533049 Shajib_ A Dec. 9, 2019, 8:21 a.m. OK GNU C++14 TESTS 48 15 0 1000
66526386 Sagor_1703011 A Dec. 9, 2019, 5:07 a.m. OK GNU C++14 TESTS 48 15 0 1000
39435257 dereksodo A June 20, 2018, 12:09 p.m. OK GNU C++14 TESTS 48 15 0 1000
32577231 Ayazbayev_D A Nov. 23, 2017, 2 p.m. OK GNU C++14 TESTS 48 15 0 1000
32116753 TRY_TO_BE8T_ME A Nov. 7, 2017, 10:56 a.m. OK GNU C++14 TESTS 48 15 0 1000
31875946 X-Ra-X A Oct. 29, 2017, 7:35 p.m. OK GNU C++14 TESTS 48 15 0 1000
31290191 MSTXI A Oct. 14, 2017, 5:32 a.m. OK GNU C++14 TESTS 48 15 0 1000
31278219 IIeJlMeHb A Oct. 13, 2017, 3:10 p.m. OK GNU C++14 TESTS 48 15 0 1000
31188836 Tolmachev A Oct. 10, 2017, 12:06 p.m. OK GNU C++14 TESTS 48 15 0 1000
53478803 k180231 A April 28, 2019, 5:46 p.m. OK GNU C++17 TESTS 48 15 0 1000
49191846 Nurisuam A Jan. 30, 2019, 8:34 a.m. OK GNU C++17 TESTS 48 15 204800 1000
49533464 adarsh150 A Feb. 6, 2019, 2:48 p.m. OK GNU C++17 TESTS 48 15 204800 1000
35148202 imcoollakshay02 A Feb. 11, 2018, 9:51 a.m. OK GNU C++17 TESTS 48 15 1945600 1000
36392408 Marble1 A March 18, 2018, 2:44 p.m. OK GNU C++17 TESTS 48 15 3379200 1000
38759283 vjudge1 A May 30, 2018, 4:36 a.m. OK GNU C++17 TESTS 48 15 3379200 1000
38819841 silent A June 1, 2018, 6:30 a.m. OK GNU C++17 TESTS 48 15 47513600 1000
58486259 auZZder A Aug. 9, 2019, 7:48 a.m. OK GNU C++17 TESTS 48 30 0 1000
58567120 t_swizzle141 A Aug. 11, 2019, 8:28 a.m. OK GNU C++17 TESTS 48 30 0 1000
61854643 bahaa A Oct. 4, 2019, 1:44 p.m. OK GNU C++17 TESTS 48 30 0 1000
24440435 pestovvladimir A Feb. 4, 2017, 7:40 p.m. OK Go TESTS 48 31 23040000 1000
24440350 pestovvladimir A Feb. 4, 2017, 7:35 p.m. OK Go TESTS 48 31 23040000 1000
24439427 pestovvladimir A Feb. 4, 2017, 6:42 p.m. OK Go TESTS 48 46 23040000 1000
47138098 jedikni A Dec. 16, 2018, 6:29 p.m. OK Haskell TESTS 48 31 8396800 1000
30535583 zodiacleo A Sept. 20, 2017, 5:52 a.m. OK Java 8 TESTS 48 109 0 1000
22685751 Kharouba A Dec. 3, 2016, 9:46 p.m. OK Java 8 TESTS 48 109 0 1000
28472794 tomdmitriev A July 12, 2017, 11:58 a.m. OK Java 8 TESTS 48 109 20480000 1000
31590179 4mda4mda A Oct. 22, 2017, 2:33 a.m. OK Java 8 TESTS 48 109 20480000 1000
23218493 ppppppppppppppp A Dec. 22, 2016, 6:28 a.m. OK Java 8 TESTS 48 109 20582400 1000
28697250 Alexxx A July 19, 2017, 1:11 p.m. OK Java 8 TESTS 48 109 20582400 1000
35038804 error_4 A Feb. 7, 2018, 11:32 p.m. OK Java 8 TESTS 48 109 20684800 1000
62098616 goalboy A Oct. 8, 2019, 8:23 a.m. OK Java 8 TESTS 48 124 0 1000
51817253 dtrifonov32 A March 25, 2019, 9:59 a.m. OK Java 8 TESTS 48 124 0 1000
49763659 CharlesDai A Feb. 11, 2019, 10:29 a.m. OK Java 8 TESTS 48 124 0 1000
23192455 bluered A Dec. 21, 2016, 6:41 a.m. OK JavaScript TESTS 48 30 5939200 1000
22596005 CodyMaker A Nov. 29, 2016, 10:20 a.m. OK JavaScript TESTS 48 31 0 1000
22578821 sb_on_work A Nov. 28, 2016, 2:30 p.m. OK JavaScript TESTS 48 31 0 1000
22346581 sa_z20004463 A Nov. 20, 2016, 9:26 a.m. OK JavaScript TESTS 48 31 1126400 1000
22346877 TheWayISteppedOutTheCar A Nov. 20, 2016, 9:28 a.m. OK JavaScript TESTS 48 46 0 1000
22599896 RusinBY A Nov. 29, 2016, 1:45 p.m. OK Mono C# TESTS 48 46 102400 1000
22691294 medegor44 A Dec. 4, 2016, 8:02 a.m. OK Mono C# TESTS 48 46 102400 1000
22348541 mrokiriko A Nov. 20, 2016, 9:37 a.m. OK Mono C# TESTS 48 62 102400 1000
22350517 wase4ka A Nov. 20, 2016, 9:49 a.m. OK Mono C# TESTS 48 77 204800 1000
51086503 nemars A March 9, 2019, 1:14 p.m. OK Mono C# TESTS 48 77 1536000 1000
27301413 kuvaldaman A May 23, 2017, 12:44 p.m. OK MS C# TESTS 48 46 102400 1000
26037663 zatinatscky.ivan A March 31, 2017, 10:25 p.m. OK MS C# TESTS 48 46 9216000 1000
22349175 ArMax A Nov. 20, 2016, 9:41 a.m. OK MS C# TESTS 48 61 0 1000
22345853 basfor2022 A Nov. 20, 2016, 9:22 a.m. OK MS C# TESTS 48 62 102400 1000
22422982 Chubcheg A Nov. 23, 2016, 12:36 p.m. OK MS C# TESTS 48 62 102400 1000
22361837 artsin666 A Nov. 20, 2016, 12:15 p.m. OK MS C# TESTS 48 62 102400 1000
22389802 Enigma314 A Nov. 21, 2016, 6:11 p.m. OK MS C# TESTS 48 77 102400 1000
22352482 PhysTech A Nov. 20, 2016, 10:03 a.m. OK MS C# TESTS 48 77 409600 1000
22370538 Sorryforpartyrocking A Nov. 20, 2016, 6 p.m. OK MS C# TESTS 48 93 1331200 1000
25366482 Samyrai A March 9, 2017, 6:15 p.m. OK MS C# TESTS 48 93 10342400 1000
22871238 vjudge2 A Dec. 11, 2016, 6:34 a.m. OK MS C++ TESTS 48 15 0 1000
22984321 sashakarpyuk.98 A Dec. 14, 2016, 10:50 p.m. OK MS C++ TESTS 48 15 0 1000
22942393 auth A Dec. 14, 2016, 6:02 a.m. OK MS C++ TESTS 48 15 0 1000
22905718 vjudge2 A Dec. 12, 2016, 2:09 p.m. OK MS C++ TESTS 48 15 0 1000
22900587 jslijin A Dec. 12, 2016, 9:16 a.m. OK MS C++ TESTS 48 15 0 1000
22871566 vjudge3 A Dec. 11, 2016, 7:01 a.m. OK MS C++ TESTS 48 15 0 1000
22696082 houtianqian A Dec. 4, 2016, 12:57 p.m. OK MS C++ TESTS 48 15 0 1000
22643775 vlasova_ov A Dec. 1, 2016, 4:04 p.m. OK MS C++ TESTS 48 15 0 1000
22466600 MrDecomposition A Nov. 24, 2016, 12:46 p.m. OK MS C++ TESTS 48 15 0 1000
22397102 tuquanrong A Nov. 22, 2016, 5:29 a.m. OK MS C++ TESTS 48 15 0 1000
58429211 FumeiYaziwa A Aug. 7, 2019, 11:08 a.m. OK MS C++ 2017 TESTS 48 31 0 1000
60408578 Zuckerberg_Facemash A Sept. 11, 2019, 7:56 p.m. OK MS C++ 2017 TESTS 48 31 0 1000
67516064 vjudge3 A Dec. 24, 2019, 10:53 a.m. OK MS C++ 2017 TESTS 48 31 0 1000
58683117 Moen1578 A Aug. 12, 2019, 8:12 p.m. OK MS C++ 2017 TESTS 48 31 0 1000
22405382 isergey.am A Nov. 22, 2016, 2:27 p.m. OK Perl TESTS 48 30 0 1000
38583354 andinet A May 24, 2018, 10:43 a.m. OK Perl TESTS 48 31 0 1000
22375481 uenoku A Nov. 21, 2016, 2:56 a.m. OK Perl TESTS 48 31 0 1000
23346078 Mahakarma A Dec. 26, 2016, 6:18 p.m. OK Perl TESTS 48 31 2457600 1000
22353450 Kogutenko A Nov. 20, 2016, 10:11 a.m. OK PHP TESTS 48 31 512000 1000
22355941 BOTKooper A Nov. 20, 2016, 10:30 a.m. OK PHP TESTS 48 46 102400 1000
22519835 nealzane A Nov. 27, 2016, 3:52 a.m. OK PyPy 2 TESTS 48 62 0 1000
25272406 Unlenin A March 5, 2017, 7:27 p.m. OK PyPy 2 TESTS 48 77 22016000 1000
22408929 abhigupta4 A Nov. 22, 2016, 6:01 p.m. OK PyPy 2 TESTS 48 93 0 1000
31937858 nonis A Nov. 1, 2017, 4:21 a.m. OK PyPy 3 TESTS 48 93 307200 1000
29780562 sankur A Aug. 25, 2017, 1 p.m. OK PyPy 3 TESTS 48 109 307200 1000
29218425 Qumeric A Aug. 5, 2017, 12:26 p.m. OK PyPy 3 TESTS 48 109 23142400 1000
61375031 ayushij2704 A Sept. 27, 2019, 4:01 p.m. OK PyPy 3 TESTS 48 124 0 1000
50534329 cs1g A Feb. 26, 2019, 2:59 p.m. OK PyPy 3 TESTS 48 124 0 1000
47386735 yellowflash A Dec. 23, 2018, 5:34 a.m. OK PyPy 3 TESTS 48 124 0 1000
22349958 randomer A Nov. 20, 2016, 9:46 a.m. OK PyPy 3 TESTS 48 124 0 1000
22344751 vekarpov A Nov. 20, 2016, 9:17 a.m. OK PyPy 3 TESTS 48 124 0 1000
22343976 22528qweewq A Nov. 20, 2016, 9:12 a.m. OK PyPy 3 TESTS 48 124 0 1000
64164551 manish.17 A Nov. 3, 2019, 3:47 p.m. OK PyPy 3 TESTS 48 140 0 1000
28276181 Temirulan A July 4, 2017, 9:03 a.m. OK Python 2 TESTS 48 46 4710400 1000
23165139 nik_min A Dec. 19, 2016, 8:55 p.m. OK Python 2 TESTS 48 46 4710400 1000
30322614 isgulkov A Sept. 14, 2017, 8:08 a.m. OK Python 2 TESTS 48 61 0 1000
22830192 ROOT1167017 A Dec. 9, 2016, 9:45 a.m. OK Python 2 TESTS 48 61 0 1000
22389813 ProNoob A Nov. 21, 2016, 6:11 p.m. OK Python 2 TESTS 48 61 0 1000
22349846 zaterkotv A Nov. 20, 2016, 9:45 a.m. OK Python 2 TESTS 48 61 0 1000
30322592 isgulkov A Sept. 14, 2017, 8:07 a.m. OK Python 2 TESTS 48 62 0 1000
22651634 nikivas A Dec. 2, 2016, 4:45 a.m. OK Python 2 TESTS 48 62 0 1000
22649733 bklan A Dec. 1, 2016, 11:27 p.m. OK Python 2 TESTS 48 62 0 1000
22496468 klynger A Nov. 25, 2016, 7:23 p.m. OK Python 2 TESTS 48 62 0 1000
22344800 valeriy227 A Nov. 20, 2016, 9:17 a.m. OK Python 3 TESTS 48 61 0 1000
31374067 Matin A Oct. 15, 2017, 5:37 p.m. OK Python 3 TESTS 48 62 0 1000
31279060 nonamerus A Oct. 13, 2017, 3:49 p.m. OK Python 3 TESTS 48 62 0 1000
31193016 dmkalash A Oct. 10, 2017, 2:51 p.m. OK Python 3 TESTS 48 62 0 1000
31192859 dmkalash A Oct. 10, 2017, 2:44 p.m. OK Python 3 TESTS 48 62 0 1000
30534713 ConspiracyTrial A Sept. 20, 2017, 4:53 a.m. OK Python 3 TESTS 48 62 0 1000
30416525 defunator01 A Sept. 17, 2017, 9:59 a.m. OK Python 3 TESTS 48 62 0 1000
30295116 aiisme A Sept. 12, 2017, 8:33 p.m. OK Python 3 TESTS 48 62 0 1000
30037091 tusihaha A Sept. 3, 2017, 2:13 p.m. OK Python 3 TESTS 48 62 0 1000
27477467 ycaxgjd A June 1, 2017, 4:48 a.m. OK Python 3 TESTS 48 62 0 1000
22381000 cielavenir A Nov. 21, 2016, 10:33 a.m. OK Ruby TESTS 48 93 0 1000
23250504 abL8ZLsTbF A Dec. 23, 2016, 3:13 p.m. OK Ruby TESTS 48 93 6656000 1000
22398916 reldan A Nov. 22, 2016, 8:19 a.m. OK Scala TESTS 48 295 0 1000

remove filters

Back to search problems