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 |
---|---|---|---|---|---|---|
1384 | Codeforces Round 659 (Div. 2) | FINISHED | False | 7200 | 136221899 | July 24, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 3921 ) | B1 | Koa and the Beach (Easy Version) | PROGRAMMING | dp greedy |
B"The only difference between easy and hard versions is on constraints. In this version constraints are lower. You can make hacks only if all versions of the problem are solved. Koa the Koala is at the beach! The beach consists (from left to right) of a shore, n+1 meters of sea and an island at n+1 meters from the shore. She measured the depth of the sea at 1, 2, ... , n meters from the shore and saved them in array d . d_i denotes the depth of the sea at i meters from the shore for 1 <= i <= n . Like any beach this one has tide, the intensity of the tide is measured by parameter k and affects all depths from the beginning at time t=0 in the following way: Formally, let's define 0 -indexed array p = [0, 1, 2, ldots, k - 2, k - 1, k, k - 1, k - 2, ldots, 2, 1] of length 2k . At time t ( 0 <= t ) depth at i meters from the shore equals d_i + p[t bmod 2k] ( t bmod 2k denotes the remainder of the division of t by 2k ). Note that the changes occur instantaneously after each second, see the notes for better understanding. At time t=0 Koa is standing at the shore and wants to get to the island. Suppose that at some time t ( 0 <= t ) she is at x ( 0 <= x <= n ) meters from the shore: Note that while Koa swims tide doesn't have effect on her (ie. she can't drown while swimming). Note that Koa can choose to stay on the shore for as long as she needs and neither the shore or the island are affected by the tide (they are solid ground and she won't drown there). Koa wants to know whether she can go from the shore to the island. Help her! The first line of the input contains one integer t ( 1 <= t <= 100 ) -- the number of test cases. Description of the test cases follows. The first line of each test case contains three integers n , k and l ( 1 <= n <= 100; 1 <= k <= 100; 1 <= l <= "... |
Codeforces Round #659 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
88242919 | gxlois | B1 | July 29, 2020, 1:27 a.m. | OK | D | TESTS | 31 | 31 | 4710400 | ||
90271494 | cym_ | B1 | Aug. 18, 2020, 2:44 a.m. | OK | GNU C++11 | TESTS | 31 | 15 | 204800 | ||
90902463 | ympc | B1 | Aug. 25, 2020, 1:19 p.m. | OK | GNU C++11 | TESTS | 31 | 15 | 1228800 | ||
89839108 | luogu_bot4 | B1 | Aug. 14, 2020, 3:57 a.m. | OK | GNU C++11 | TESTS | 31 | 15 | 3276800 | ||
88163911 | liberShip | B1 | July 28, 2020, 1:07 a.m. | OK | GNU C++11 | TESTS | 31 | 15 | 3686400 | ||
88002566 | kogho | B1 | July 25, 2020, 4:48 p.m. | OK | GNU C++11 | TESTS | 31 | 15 | 3993600 | ||
88207549 | CTP_314 | B1 | July 28, 2020, 1:28 p.m. | OK | GNU C++11 | TESTS | 31 | 15 | 4915200 | ||
88200811 | CTP_314 | B1 | July 28, 2020, 11:56 a.m. | OK | GNU C++11 | TESTS | 31 | 15 | 4915200 | ||
88292583 | ashon37w | B1 | July 29, 2020, 2:09 p.m. | OK | GNU C++11 | TESTS | 31 | 15 | 5324800 | ||
88268428 | iuiou | B1 | July 29, 2020, 8:55 a.m. | OK | GNU C++11 | TESTS | 31 | 15 | 5324800 | ||
87988844 | BeNoble | B1 | July 25, 2020, 1:14 p.m. | OK | GNU C++11 | TESTS | 31 | 15 | 6144000 | ||
88058692 | Aldenys | B1 | July 26, 2020, 1:26 p.m. | OK | GNU C++14 | TESTS | 31 | 30 | 3686400 | ||
87986654 | sandeep_kumar_e | B1 | July 25, 2020, 12:38 p.m. | OK | GNU C++14 | TESTS | 31 | 30 | 3891200 | ||
89023501 | coding_tHaLa | B1 | Aug. 5, 2020, 3:47 p.m. | OK | GNU C++14 | TESTS | 31 | 30 | 3993600 | ||
88245564 | pyqjw | B1 | July 29, 2020, 2:48 a.m. | OK | GNU C++14 | TESTS | 31 | 30 | 4915200 | ||
91112185 | chyen89 | B1 | Aug. 27, 2020, 7:27 a.m. | OK | GNU C++14 | TESTS | 31 | 31 | 0 | ||
90453203 | Autron | B1 | Aug. 20, 2020, 10:16 a.m. | OK | GNU C++14 | TESTS | 31 | 31 | 0 | ||
90387364 | MPRUDRA | B1 | Aug. 19, 2020, 12:23 p.m. | OK | GNU C++14 | TESTS | 31 | 31 | 0 | ||
90301855 | miss_me_9 | B1 | Aug. 18, 2020, 11:17 a.m. | OK | GNU C++14 | TESTS | 31 | 31 | 0 | ||
89821870 | emptyLane | B1 | Aug. 13, 2020, 6:48 p.m. | OK | GNU C++14 | TESTS | 31 | 31 | 0 | ||
91531284 | elitedj | B1 | Sept. 1, 2020, 2:22 a.m. | OK | GNU C++14 | TESTS | 31 | 31 | 102400 | ||
89861693 | haot1 | B1 | Aug. 14, 2020, 10:26 a.m. | OK | GNU C++17 | TESTS | 31 | 30 | 614400 | ||
88029588 | Abhiii | B1 | July 26, 2020, 5:37 a.m. | OK | GNU C++17 | TESTS | 31 | 30 | 3788800 | ||
87997253 | DAMULx | B1 | July 25, 2020, 3:19 p.m. | OK | GNU C++17 | TESTS | 31 | 30 | 3788800 | ||
88009320 | bavesh | B1 | July 25, 2020, 6:45 p.m. | OK | GNU C++17 | TESTS | 31 | 30 | 20582400 | ||
91532212 | marwa_gamal5 | B1 | Sept. 1, 2020, 2:52 a.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
91521740 | Prabal08 | B1 | Aug. 31, 2020, 7:59 p.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
91270437 | Beefichor | B1 | Aug. 29, 2020, 8:58 a.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
91082146 | lovekv4321 | B1 | Aug. 26, 2020, 5:59 p.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
90496709 | Mudit_Bhardwaj | B1 | Aug. 20, 2020, 9:28 p.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
90409990 | spatarel | B1 | Aug. 19, 2020, 5:22 p.m. | OK | GNU C++17 | TESTS | 31 | 31 | 0 | ||
88744508 | kort0n | B1 | Aug. 2, 2020, 3:48 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 15 | 4300800 | ||
88018232 | Ameliorate | B1 | July 25, 2020, 10:13 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 15 | 4300800 | ||
88202193 | ianahao | B1 | July 28, 2020, 12:15 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 15 | 5222400 | ||
90041291 | Phortox | B1 | Aug. 15, 2020, 6:44 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 102400 | ||
91535289 | yash_daga | B1 | Sept. 1, 2020, 4:28 a.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 1843200 | ||
89640576 | Artyom123 | B1 | Aug. 12, 2020, 10:02 a.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 4300800 | ||
89606321 | conan1024hao | B1 | Aug. 11, 2020, 7:50 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 4300800 | ||
89188656 | Fortin | B1 | Aug. 7, 2020, 8:37 a.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 4300800 | ||
88985661 | sharrad99 | B1 | Aug. 5, 2020, 2:57 p.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 4300800 | ||
88039027 | Arnab_Bhattacharjee | B1 | July 26, 2020, 8:16 a.m. | OK | GNU C++17 (64) | TESTS | 31 | 30 | 4300800 | ||
89119954 | rehack | B1 | Aug. 6, 2020, 12:24 p.m. | OK | Go | TESTS | 31 | 31 | 10854400 | ||
88725638 | pohzipohzi | B1 | Aug. 2, 2020, 11:10 a.m. | OK | Go | TESTS | 31 | 31 | 13004800 | ||
88847191 | nits24 | B1 | Aug. 4, 2020, 6:47 a.m. | OK | Java 11 | TESTS | 31 | 171 | 23756800 | ||
88087526 | jay_vish | B1 | July 26, 2020, 9:54 p.m. | OK | Java 11 | TESTS | 31 | 171 | 23859200 | ||
89326525 | Baroudy | B1 | Aug. 8, 2020, 10:28 a.m. | OK | Java 11 | TESTS | 31 | 186 | 23756800 | ||
88177103 | PizzaLovers007 | B1 | July 28, 2020, 6:32 a.m. | OK | Java 11 | TESTS | 31 | 186 | 23859200 | ||
88101821 | sf14t | B1 | July 27, 2020, 6:22 a.m. | OK | Java 11 | TESTS | 31 | 186 | 43008000 | ||
88110326 | darthwalker231 | B1 | July 27, 2020, 8:37 a.m. | OK | Java 11 | TESTS | 31 | 187 | 24371200 | ||
88092936 | kals | B1 | July 27, 2020, 2:23 a.m. | OK | Java 11 | TESTS | 31 | 187 | 24371200 | ||
88003729 | Sed12 | B1 | July 25, 2020, 5:10 p.m. | OK | Java 11 | TESTS | 31 | 187 | 24371200 | ||
88285953 | tirtho2107 | B1 | July 29, 2020, 12:42 p.m. | OK | Java 11 | TESTS | 31 | 202 | 23756800 | ||
88139701 | UD_xlinsist | B1 | July 27, 2020, 3:27 p.m. | OK | Java 11 | TESTS | 31 | 202 | 23961600 | ||
87999204 | raunak_many_ac | B1 | July 25, 2020, 3:50 p.m. | OK | Java 8 | TESTS | 31 | 93 | 20275200 | ||
91316082 | partizan22 | B1 | Aug. 29, 2020, 11:45 p.m. | OK | Java 8 | TESTS | 31 | 109 | 0 | ||
88914449 | anathema | B1 | Aug. 5, 2020, 4:18 a.m. | OK | Java 8 | TESTS | 31 | 109 | 20275200 | ||
91470461 | chesiver | B1 | Aug. 31, 2020, 7:55 a.m. | OK | Java 8 | TESTS | 31 | 109 | 20377600 | ||
88080231 | The_Hidden_Man | B1 | July 26, 2020, 6:41 p.m. | OK | Java 8 | TESTS | 31 | 109 | 20377600 | ||
88061855 | shubho96 | B1 | July 26, 2020, 2:07 p.m. | OK | Java 8 | TESTS | 31 | 109 | 20377600 | ||
87987868 | AshrafEzz | B1 | July 25, 2020, 12:58 p.m. | OK | Java 8 | TESTS | 31 | 109 | 20377600 | ||
88827811 | JCKG | B1 | Aug. 3, 2020, 8:27 p.m. | OK | Java 8 | TESTS | 31 | 109 | 20480000 | ||
88131724 | noobie_code | B1 | July 27, 2020, 1:45 p.m. | OK | Java 8 | TESTS | 31 | 109 | 20480000 | ||
88112416 | horseprabhat625 | B1 | July 27, 2020, 9:09 a.m. | OK | Java 8 | TESTS | 31 | 109 | 20992000 | ||
88122937 | Spheniscine | B1 | July 27, 2020, 11:48 a.m. | OK | Kotlin | TESTS | 31 | 109 | 20480000 | ||
88095153 | Spheniscine | B1 | July 27, 2020, 3:30 a.m. | OK | Kotlin | TESTS | 31 | 124 | 20480000 | ||
88382630 | Tlatoani | B1 | July 29, 2020, 7:41 p.m. | OK | Kotlin | TESTS | 31 | 139 | 21504000 | ||
88048077 | a11eca | B1 | July 26, 2020, 10:41 a.m. | OK | Kotlin | TESTS | 31 | 155 | 21299200 | ||
91697692 | azukun | B1 | Sept. 3, 2020, 7:49 a.m. | OK | Mono C# | TESTS | 31 | 62 | 3788800 | ||
88162769 | nns2009 | B1 | July 28, 2020, 12:08 a.m. | OK | MS C++ 2017 | TESTS | 31 | 30 | 3686400 | ||
90439661 | dixmw34 | B1 | Aug. 20, 2020, 6:53 a.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 102400 | ||
87999269 | anirudhgupta0510 | B1 | July 25, 2020, 3:51 p.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 3686400 | ||
89210044 | GeKa | B1 | Aug. 7, 2020, 2:05 p.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 3686400 | ||
88690575 | qwerty123454321 | B1 | Aug. 1, 2020, 7:40 p.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 3686400 | ||
88932423 | getN1ght | B1 | Aug. 5, 2020, 9:26 a.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 3891200 | ||
87995929 | TMHazem | B1 | July 25, 2020, 2:58 p.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 3891200 | ||
88393156 | AliceNCsyuk | B1 | July 30, 2020, 1:30 a.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 4096000 | ||
88203113 | kopris | B1 | July 28, 2020, 12:28 p.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 6348800 | ||
88113903 | 60D9 | B1 | July 27, 2020, 9:35 a.m. | OK | MS C++ 2017 | TESTS | 31 | 31 | 6451200 | ||
88071147 | fanos | B1 | July 26, 2020, 4:07 p.m. | OK | PascalABC.NET | TESTS | 31 | 296 | 25600000 | ||
88072097 | fanos | B1 | July 26, 2020, 4:22 p.m. | OK | PascalABC.NET | TESTS | 31 | 296 | 26726400 | ||
87990711 | raj1307 | B1 | July 25, 2020, 1:42 p.m. | OK | PyPy 2 | TESTS | 31 | 109 | 23449600 | ||
88888680 | SK_EON | B1 | Aug. 4, 2020, 4:27 p.m. | OK | PyPy 2 | TESTS | 31 | 140 | 25497600 | ||
88254690 | _.THUNDER._ | B1 | July 29, 2020, 6:06 a.m. | OK | PyPy 3 | TESTS | 31 | 124 | 20172800 | ||
88947354 | daikisuyama | B1 | Aug. 5, 2020, 12:53 p.m. | OK | PyPy 3 | TESTS | 31 | 139 | 20172800 | ||
91248109 | myotra | B1 | Aug. 28, 2020, 11:39 p.m. | OK | PyPy 3 | TESTS | 31 | 140 | 0 | ||
91245821 | myotra | B1 | Aug. 28, 2020, 9:52 p.m. | OK | PyPy 3 | TESTS | 31 | 140 | 0 | ||
89792480 | 340951987 | B1 | Aug. 13, 2020, 12:18 p.m. | OK | PyPy 3 | TESTS | 31 | 140 | 0 | ||
89388176 | human_shu | B1 | Aug. 9, 2020, 9:21 a.m. | OK | PyPy 3 | TESTS | 31 | 140 | 20172800 | ||
88816976 | Katushechka | B1 | Aug. 3, 2020, 4:44 p.m. | OK | PyPy 3 | TESTS | 31 | 140 | 20172800 | ||
88619402 | evoxtorm | B1 | July 31, 2020, 7:33 p.m. | OK | PyPy 3 | TESTS | 31 | 140 | 20172800 | ||
88251333 | tycyd | B1 | July 29, 2020, 5:09 a.m. | OK | PyPy 3 | TESTS | 31 | 140 | 20172800 | ||
88247686 | gintoki_s | B1 | July 29, 2020, 3:44 a.m. | OK | PyPy 3 | TESTS | 31 | 140 | 20172800 | ||
88531802 | nathan__drake | B1 | July 30, 2020, 6:16 p.m. | OK | Python 3 | TESTS | 31 | 93 | 6963200 | ||
88542629 | BlackBear | B1 | July 30, 2020, 9:29 p.m. | OK | Python 3 | TESTS | 31 | 108 | 6963200 | ||
88056234 | mrugesh08 | B1 | July 26, 2020, 12:52 p.m. | OK | Python 3 | TESTS | 31 | 108 | 6963200 | ||
88037345 | rajnaruka0698 | B1 | July 26, 2020, 7:49 a.m. | OK | Python 3 | TESTS | 31 | 108 | 6963200 | ||
88039345 | mkawa2 | B1 | July 26, 2020, 8:21 a.m. | OK | Python 3 | TESTS | 31 | 109 | 6963200 | ||
88174638 | tinku10 | B1 | July 28, 2020, 5:51 a.m. | OK | Python 3 | TESTS | 31 | 124 | 6963200 | ||
88354661 | amogh17009 | B1 | July 29, 2020, 4:13 p.m. | OK | Python 3 | TESTS | 31 | 124 | 12083200 | ||
89551375 | terraformer | B1 | Aug. 11, 2020, 5:49 a.m. | OK | Rust | TESTS | 31 | 31 | 3788800 | ||
88164359 | Strorkis | B1 | July 28, 2020, 1:25 a.m. | OK | Rust | TESTS | 31 | 31 | 4096000 | ||
90440324 | Svlad_Cjelli | B1 | Aug. 20, 2020, 7:03 a.m. | OK | Rust | TESTS | 31 | 46 | 204800 |
Back to search problems