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 |
---|---|---|---|---|---|---|
1315 | Codeforces Round 623 (Div. 2, based on VK Cup 2019-2020 - Elimination Round, Engine) | FINISHED | False | 9000 | 154878911 | Feb. 23, 2020, 4:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 9266 ) | B | Homecoming | PROGRAMMING | binary search dp greedy strings | 1300 |
B'After a long party Petya decided to return home, but he turned out to be at the opposite end of the town from his home. There are n crossroads in the line in the town, and there is either the bus or the tram station at each crossroad. The crossroads are represented as a string s of length n , where s_i = texttt{A} , if there is a bus station at i -th crossroad, and s_i = texttt{B} , if there is a tram station at i -th crossroad. Currently Petya is at the first crossroad (which corresponds to s_1 ) and his goal is to get to the last crossroad (which corresponds to s_n ). If for two crossroads i and j for all crossroads i, i+1, ldots, j-1 there is a bus station, one can pay a roubles for the bus ticket, and go from i -th crossroad to the j -th crossroad by the bus (it is not necessary to have a bus station at the j -th crossroad). Formally, paying a roubles Petya can go from i to j if s_t = texttt{A} for all i <= t < j . If for two crossroads i and j for all crossroads i, i+1, ldots, j-1 there is a tram station, one can pay b roubles for the tram ticket, and go from i -th crossroad to the j -th crossroad by the tram (it is not necessary to have a tram station at the j -th crossroad). Formally, paying b roubles Petya can go from i to j if s_t = texttt{B} for all i <= t < j . For example, if s ="AABBBAB", a=4 and b=3 then Petya needs: Thus, in total he needs to spend 4+3+4=11 roubles. Please note that the type of the stop at the last crossroad (i.e. the character s_n ) does not affect the final expense. Now Petya is at the first crossroad, and he wants to get to the n -th crossroad. After the party he has left with p roubles. He 's decided to go to some station on foot, and then go to home using only public transport. Help him to choo'... |
VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
71874285 | pulkitsaini4u | B | Feb. 25, 2020, 5:13 p.m. | OK | Clang++17 Diagnostics | TESTS | 65 | 265 | 18944000 | 1300 | |
71737106 | VSharshukov | B | Feb. 24, 2020, 12:06 a.m. | OK | Clang++17 Diagnostics | TESTS | 65 | 280 | 14745600 | 1300 | |
71716684 | ruban | B | Feb. 23, 2020, 5:21 p.m. | OK | Delphi | TESTS | 65 | 124 | 27648000 | 1300 | |
71712200 | PAG | B | Feb. 23, 2020, 4:53 p.m. | OK | FPC | TESTS | 65 | 77 | 819200 | 1300 | |
71914213 | fpc_coder | B | Feb. 26, 2020, 12:45 p.m. | OK | FPC | TESTS | 65 | 77 | 1331200 | 1300 | |
71716762 | LaSWeeG | B | Feb. 23, 2020, 5:21 p.m. | OK | FPC | TESTS | 65 | 77 | 2150400 | 1300 | |
71704346 | jschr | B | Feb. 23, 2020, 4:15 p.m. | OK | GNU C11 | TESTS | 65 | 62 | 102400 | 1300 | |
71711207 | akash19jain | B | Feb. 23, 2020, 4:48 p.m. | OK | GNU C11 | TESTS | 65 | 62 | 102400 | 1300 | |
71723786 | Suru09 | B | Feb. 23, 2020, 6:11 p.m. | OK | GNU C11 | TESTS | 65 | 62 | 102400 | 1300 | |
71966653 | bal4u | B | Feb. 27, 2020, 10:51 a.m. | OK | GNU C11 | TESTS | 65 | 62 | 102400 | 1300 | |
71948112 | tanruidd | B | Feb. 27, 2020, 3:19 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 0 | 1300 | |
71716780 | bbc_xu | B | Feb. 23, 2020, 5:21 p.m. | OK | GNU C++11 | TESTS | 65 | 31 | 0 | 1300 | |
71712209 | ydh | B | Feb. 23, 2020, 4:54 p.m. | OK | GNU C++11 | TESTS | 65 | 31 | 0 | 1300 | |
71891527 | pyqpyq | B | Feb. 26, 2020, 2:40 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71888047 | luogu_bot1 | B | Feb. 25, 2020, 11:41 p.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71839206 | YHHxBULIATANIA | B | Feb. 25, 2020, 6:48 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71911060 | yuzhechuan | B | Feb. 26, 2020, 11:45 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71912790 | luogu_bot4 | B | Feb. 26, 2020, 12:21 p.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71945487 | wxyww | B | Feb. 27, 2020, 1:30 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71897511 | wyy2004 | B | Feb. 26, 2020, 6:19 a.m. | OK | GNU C++11 | TESTS | 65 | 31 | 102400 | 1300 | |
71708704 | Captain_Knuckles | B | Feb. 23, 2020, 4:35 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 102400 | 1300 | |
71708076 | carcar | B | Feb. 23, 2020, 4:32 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 102400 | 1300 | |
71762297 | GsjzTle | B | Feb. 24, 2020, 12:21 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 204800 | 1300 | |
71763369 | sendn0des | B | Feb. 24, 2020, 12:42 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71958102 | rakshi20 | B | Feb. 27, 2020, 7:59 a.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71954141 | coldEr66 | B | Feb. 27, 2020, 6:26 a.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71855277 | borax | B | Feb. 25, 2020, 12:06 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71819583 | Mikpol | B | Feb. 24, 2020, 7:06 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71767617 | gamer37 | B | Feb. 24, 2020, 1:59 p.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71760050 | gladgeek | B | Feb. 24, 2020, 11:33 a.m. | OK | GNU C++14 | TESTS | 65 | 31 | 307200 | 1300 | |
71739168 | haiqilai | B | Feb. 24, 2020, 2:02 a.m. | OK | GNU C++17 | TESTS | 65 | 30 | 102400 | 1300 | |
71748071 | Ardor | B | Feb. 24, 2020, 6:56 a.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71744712 | Juniorandrade | B | Feb. 24, 2020, 5:28 a.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71712003 | luobiaoba | B | Feb. 23, 2020, 4:52 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71711962 | farhanshahoriar | B | Feb. 23, 2020, 4:52 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71711603 | SingerCoder | B | Feb. 23, 2020, 4:50 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71764219 | Devour_ | B | Feb. 24, 2020, 12:57 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71768722 | kayiko | B | Feb. 24, 2020, 2:18 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71838143 | vjudge1 | B | Feb. 25, 2020, 6:25 a.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71763163 | mallika00 | B | Feb. 24, 2020, 12:38 p.m. | OK | GNU C++17 | TESTS | 65 | 31 | 102400 | 1300 | |
71707469 | ontake | B | Feb. 23, 2020, 4:29 p.m. | OK | Go | TESTS | 65 | 62 | 0 | 1300 | |
71710051 | snow_bear_328 | B | Feb. 23, 2020, 4:42 p.m. | OK | Go | TESTS | 65 | 78 | 0 | 1300 | |
71709778 | toterpinguin | B | Feb. 23, 2020, 4:40 p.m. | OK | Go | TESTS | 65 | 93 | 8908800 | 1300 | |
71736144 | bleh0.5 | B | Feb. 23, 2020, 11:06 p.m. | OK | Java 11 | TESTS | 65 | 202 | 0 | 1300 | |
71730136 | Piccadilly | B | Feb. 23, 2020, 7:47 p.m. | OK | Java 11 | TESTS | 65 | 202 | 0 | 1300 | |
71723280 | TheSawan | B | Feb. 23, 2020, 6:07 p.m. | OK | Java 11 | TESTS | 65 | 202 | 0 | 1300 | |
71729817 | nick_301 | B | Feb. 23, 2020, 7:42 p.m. | OK | Java 11 | TESTS | 65 | 218 | 0 | 1300 | |
71708878 | Oom | B | Feb. 23, 2020, 4:36 p.m. | OK | Java 11 | TESTS | 65 | 218 | 0 | 1300 | |
71705940 | jenish9599 | B | Feb. 23, 2020, 4:22 p.m. | OK | Java 11 | TESTS | 65 | 233 | 6758400 | 1300 | |
71711728 | p_unit | B | Feb. 23, 2020, 4:51 p.m. | OK | Java 11 | TESTS | 65 | 234 | 0 | 1300 | |
71905699 | harshita.nit | B | Feb. 26, 2020, 9:54 a.m. | OK | Java 11 | TESTS | 65 | 280 | 0 | 1300 | |
71884415 | yamen.haddad | B | Feb. 25, 2020, 9:07 p.m. | OK | Java 11 | TESTS | 65 | 280 | 0 | 1300 | |
71732334 | Kimo_Fathy | B | Feb. 23, 2020, 8:35 p.m. | OK | Java 11 | TESTS | 65 | 280 | 0 | 1300 | |
71959936 | kpark | B | Feb. 27, 2020, 8:38 a.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71922032 | nalin_1000101 | B | Feb. 26, 2020, 3:04 p.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71877386 | shashwat07 | B | Feb. 25, 2020, 6:15 p.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71760709 | nandit | B | Feb. 24, 2020, 11:46 a.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71741098 | sangwoo0727 | B | Feb. 24, 2020, 3:24 a.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71739006 | Mhmmd.itani | B | Feb. 24, 2020, 1:53 a.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71731148 | hushojin | B | Feb. 23, 2020, 8:07 p.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71714337 | safiiasaad | B | Feb. 23, 2020, 5:06 p.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71708027 | Tatsuyaaaa | B | Feb. 23, 2020, 4:31 p.m. | OK | Java 8 | TESTS | 65 | 124 | 0 | 1300 | |
71740839 | sangwoo0727 | B | Feb. 24, 2020, 3:15 a.m. | OK | Java 8 | TESTS | 65 | 139 | 0 | 1300 | |
71707809 | SlavaG | B | Feb. 23, 2020, 4:30 p.m. | OK | Kotlin | TESTS | 65 | 233 | 0 | 1300 | |
71732145 | YESMAths | B | Feb. 23, 2020, 8:30 p.m. | OK | Kotlin | TESTS | 65 | 234 | 0 | 1300 | |
71708049 | T49E2 | B | Feb. 23, 2020, 4:31 p.m. | OK | Kotlin | TESTS | 65 | 280 | 204800 | 1300 | |
71710105 | koboshi | B | Feb. 23, 2020, 4:42 p.m. | OK | Kotlin | TESTS | 65 | 296 | 307200 | 1300 | |
71732066 | WiwiHo | B | Feb. 23, 2020, 8:28 p.m. | OK | Kotlin | TESTS | 65 | 296 | 512000 | 1300 | |
71706769 | Long-shot | B | Feb. 23, 2020, 4:26 p.m. | OK | Kotlin | TESTS | 65 | 296 | 1331200 | 1300 | |
71711691 | sid9406 | B | Feb. 23, 2020, 4:50 p.m. | OK | Kotlin | TESTS | 65 | 312 | 204800 | 1300 | |
71710374 | T-D-K | B | Feb. 23, 2020, 4:43 p.m. | OK | Mono C# | TESTS | 65 | 62 | 512000 | 1300 | |
71705416 | eSeF_ | B | Feb. 23, 2020, 4:19 p.m. | OK | Mono C# | TESTS | 65 | 108 | 3072000 | 1300 | |
71705264 | Yupiteru | B | Feb. 23, 2020, 4:19 p.m. | OK | Mono C# | TESTS | 65 | 109 | 142745600 | 1300 | |
71732959 | ansergeyg | B | Feb. 23, 2020, 8:55 p.m. | OK | Mono C# | TESTS | 65 | 140 | 4608000 | 1300 | |
71706339 | sergmel | B | Feb. 23, 2020, 4:24 p.m. | OK | Mono C# | TESTS | 65 | 155 | 3072000 | 1300 | |
71714004 | tvvister | B | Feb. 23, 2020, 5:04 p.m. | OK | Mono C# | TESTS | 65 | 156 | 6758400 | 1300 | |
71763284 | vjudge2 | B | Feb. 24, 2020, 12:41 p.m. | OK | MS C++ | TESTS | 65 | 31 | 102400 | 1300 | |
71956471 | vjudge2 | B | Feb. 27, 2020, 7:19 a.m. | OK | MS C++ | TESTS | 65 | 31 | 102400 | 1300 | |
71763580 | vjudge4 | B | Feb. 24, 2020, 12:46 p.m. | OK | MS C++ | TESTS | 65 | 77 | 102400 | 1300 | |
71956376 | vjudge5 | B | Feb. 27, 2020, 7:17 a.m. | OK | MS C++ | TESTS | 65 | 78 | 102400 | 1300 | |
71908501 | iKarna | B | Feb. 26, 2020, 10:55 a.m. | OK | MS C++ 2017 | TESTS | 65 | 31 | 512000 | 1300 | |
71720781 | Tuenjuko | B | Feb. 23, 2020, 5:49 p.m. | OK | MS C++ 2017 | TESTS | 65 | 46 | 307200 | 1300 | |
71709372 | gyuho965 | B | Feb. 23, 2020, 4:38 p.m. | OK | MS C++ 2017 | TESTS | 65 | 46 | 512000 | 1300 | |
71730967 | ningBr | B | Feb. 23, 2020, 8:03 p.m. | OK | MS C++ 2017 | TESTS | 65 | 61 | 409600 | 1300 | |
71890337 | suun | B | Feb. 26, 2020, 1:48 a.m. | OK | MS C++ 2017 | TESTS | 65 | 62 | 204800 | 1300 | |
71716261 | D_Jet | B | Feb. 23, 2020, 5:18 p.m. | OK | MS C++ 2017 | TESTS | 65 | 62 | 512000 | 1300 | |
71843572 | batyousef | B | Feb. 25, 2020, 8:21 a.m. | OK | MS C++ 2017 | TESTS | 65 | 77 | 512000 | 1300 | |
71707773 | tygrysek | B | Feb. 23, 2020, 4:30 p.m. | OK | MS C++ 2017 | TESTS | 65 | 93 | 307200 | 1300 | |
71719469 | andrea.morels14 | B | Feb. 23, 2020, 5:40 p.m. | OK | MS C++ 2017 | TESTS | 65 | 93 | 307200 | 1300 | |
71843608 | batyousef | B | Feb. 25, 2020, 8:22 a.m. | OK | MS C++ 2017 | TESTS | 65 | 93 | 307200 | 1300 | |
71713854 | badawhite | B | Feb. 23, 2020, 5:03 p.m. | OK | Node.js | TESTS | 65 | 249 | 5939200 | 1300 | |
71719403 | deskata1997 | B | Feb. 23, 2020, 5:39 p.m. | OK | Node.js | TESTS | 65 | 358 | 10854400 | 1300 | |
71707100 | rsFalse | B | Feb. 23, 2020, 4:27 p.m. | OK | Perl | TESTS | 65 | 93 | 716800 | 1300 | |
71707958 | Gaurav1 | B | Feb. 23, 2020, 4:31 p.m. | OK | PyPy 2 | TESTS | 65 | 233 | 8908800 | 1300 | |
71708418 | Mukundan314 | B | Feb. 23, 2020, 4:33 p.m. | OK | PyPy 2 | TESTS | 65 | 249 | 7270400 | 1300 | |
71817244 | Kishen19 | B | Feb. 24, 2020, 6:18 p.m. | OK | PyPy 2 | TESTS | 65 | 358 | 4505600 | 1300 | |
71708873 | MarekW123 | B | Feb. 23, 2020, 4:35 p.m. | OK | PyPy 2 | TESTS | 65 | 358 | 6246400 | 1300 | |
71706276 | YESMAths | B | Feb. 23, 2020, 4:23 p.m. | OK | PyPy 2 | TESTS | 65 | 483 | 6963200 | 1300 | |
71718541 | hritik3878 | B | Feb. 23, 2020, 5:33 p.m. | OK | PyPy 2 | TESTS | 65 | 639 | 8704000 | 1300 | |
71708674 | vaibhavsarda | B | Feb. 23, 2020, 4:34 p.m. | OK | PyPy 3 | TESTS | 65 | 233 | 5836800 | 1300 | |
71709455 | snape_here | B | Feb. 23, 2020, 4:39 p.m. | OK | PyPy 3 | TESTS | 65 | 234 | 6041600 | 1300 | |
71707858 | nehan_der_thal | B | Feb. 23, 2020, 4:30 p.m. | OK | PyPy 3 | TESTS | 65 | 249 | 7680000 | 1300 | |
71711183 | juandrengifo | B | Feb. 23, 2020, 4:48 p.m. | OK | PyPy 3 | TESTS | 65 | 264 | 8294400 | 1300 | |
71747095 | pye | B | Feb. 24, 2020, 6:34 a.m. | OK | PyPy 3 | TESTS | 65 | 265 | 8294400 | 1300 | |
71706688 | vit_72 | B | Feb. 23, 2020, 4:25 p.m. | OK | PyPy 3 | TESTS | 65 | 280 | 7884800 | 1300 | |
71905021 | TimurABS | B | Feb. 26, 2020, 9:38 a.m. | OK | PyPy 3 | TESTS | 65 | 280 | 8396800 | 1300 | |
71706317 | andrewwu73 | B | Feb. 23, 2020, 4:23 p.m. | OK | PyPy 3 | TESTS | 65 | 280 | 8704000 | 1300 | |
71704926 | old_boo | B | Feb. 23, 2020, 4:17 p.m. | OK | PyPy 3 | TESTS | 65 | 280 | 9523200 | 1300 | |
71707036 | aberent | B | Feb. 23, 2020, 4:27 p.m. | OK | PyPy 3 | TESTS | 65 | 280 | 9830400 | 1300 | |
71711747 | notpsaini | B | Feb. 23, 2020, 4:51 p.m. | OK | Python 2 | TESTS | 65 | 248 | 1740800 | 1300 | |
71711776 | clandestine_ | B | Feb. 23, 2020, 4:51 p.m. | OK | Python 2 | TESTS | 65 | 249 | 307200 | 1300 | |
71744285 | Atef | B | Feb. 24, 2020, 5:13 a.m. | OK | Python 2 | TESTS | 65 | 265 | 4812800 | 1300 | |
71733948 | bertrandovide | B | Feb. 23, 2020, 9:26 p.m. | OK | Python 2 | TESTS | 65 | 296 | 5324800 | 1300 | |
71719705 | bertrandovide | B | Feb. 23, 2020, 5:41 p.m. | OK | Python 2 | TESTS | 65 | 483 | 19660800 | 1300 | |
71898692 | mkawa2 | B | Feb. 26, 2020, 6:50 a.m. | OK | Python 3 | TESTS | 65 | 171 | 614400 | 1300 | |
71767303 | torstein | B | Feb. 24, 2020, 1:54 p.m. | OK | Python 3 | TESTS | 65 | 171 | 614400 | 1300 | |
71717741 | ryo_n | B | Feb. 23, 2020, 5:28 p.m. | OK | Python 3 | TESTS | 65 | 171 | 7475200 | 1300 | |
71715292 | kn0412 | B | Feb. 23, 2020, 5:12 p.m. | OK | Python 3 | TESTS | 65 | 187 | 1536000 | 1300 | |
71731409 | eugalt | B | Feb. 23, 2020, 8:13 p.m. | OK | Python 3 | TESTS | 65 | 218 | 307200 | 1300 | |
71880150 | LintuStorm | B | Feb. 25, 2020, 7:14 p.m. | OK | Python 3 | TESTS | 65 | 233 | 307200 | 1300 | |
71753005 | bigchocolate | B | Feb. 24, 2020, 8:56 a.m. | OK | Python 3 | TESTS | 65 | 233 | 307200 | 1300 | |
71731524 | eugalt | B | Feb. 23, 2020, 8:15 p.m. | OK | Python 3 | TESTS | 65 | 233 | 307200 | 1300 | |
71749769 | Prabhakar_987 | B | Feb. 24, 2020, 7:39 a.m. | OK | Python 3 | TESTS | 65 | 233 | 614400 | 1300 | |
71734614 | LaPatate | B | Feb. 23, 2020, 9:55 p.m. | OK | Python 3 | TESTS | 65 | 233 | 614400 | 1300 | |
71712387 | simanman | B | Feb. 23, 2020, 4:55 p.m. | OK | Ruby | TESTS | 65 | 140 | 307200 | 1300 | |
71709023 | BadDuck | B | Feb. 23, 2020, 4:36 p.m. | OK | Scala | TESTS | 65 | 686 | 0 | 1300 |
Back to search problems