Skip to content

lior5654/competitive-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Submissions

Auto-generated with ❤ using Harwest

Introduction

A repository to keep track of problem solving practice, containing solutions from platforms:

  • Codeforces   Codeforces

Contents

# Title Solution Tags Submitted
332 D - Edge Split GNU C++17 (64) brute force constructive algorithms dfs and similar dsu graphs probabilities trees *2000 Sep/15/2022 00:28
331 E - Placing Jinas GNU C++17 (64) combinatorics math *2000 Jun/25/2022 19:13
330 C - Fishingprince Plays With Array GNU C++17 (64) constructive algorithms greedy implementation math *1400 Jun/25/2022 18:51
329 B - NIT Destroys the Universe GNU C++17 (64) greedy *900 Jun/25/2022 17:44
328 A - NIT orz! GNU C++17 (64) bitmasks greedy *800 Jun/25/2022 17:37
327 E - Coloring GNU C++17 (64) brute force combinatorics constructive algorithms dp geometry graphs greedy implementation math *2400 Jun/17/2022 00:17
326 A - Xor-tree GNU C++17 (64) dfs and similar trees *1300 May/07/2022 17:26
325 F - Yet another 2D Walking GNU C++17 (64) dp *2100 May/07/2022 03:01
324 D - Keep the Average High GNU C++17 (64) dp greedy math *2000 May/06/2022 16:58
323 G - Sorting Pancakes GNU C++17 (64) dp *2300 May/06/2022 14:27
322 F - Vlad and Unfinished Business GNU C++17 (64) dfs and similar dp greedy trees *1800 May/05/2022 18:38
321 E - Replace With the Previous, Minimize GNU C++17 (64) dsu greedy strings *1500 May/05/2022 18:18
320 D - Vertical Paths GNU C++17 (64) graphs implementation trees *1300 May/05/2022 18:03
319 C - Detective Task GNU C++17 (64) implementation *1100 May/05/2022 17:47
318 B - Make It Increasing GNU C++17 (64) greedy implementation *900 May/05/2022 17:39
317 A - Food for Animals GNU C++17 (64) greedy math *800 May/05/2022 17:37
316 E - Gojou and Matrix Game GNU C++17 (64) data structures dp games hashing implementation math number theory sortings *2500 Apr/01/2022 18:47
315 E - Special Positions GNU C++17 (64) combinatorics divide and conquer fft math *3300 Mar/06/2022 02:56
314 A - Reverse GNU C++17 (64) constructive algorithms greedy math *800 Mar/04/2022 17:32
313 E - Best Pair GNU C++17 (64) binary search brute force implementation *2100 Feb/27/2022 19:40
312 D1 - Game on Sum (Easy Version) GNU C++17 (64) combinatorics dp games math *2100 Jan/22/2022 18:21
311 B - Peculiar Movie Preferences GNU C++17 (64) greedy strings *1700 Jan/22/2022 17:10
310 A - Meximum Array GNU C++17 (64) binary search constructive algorithms greedy implementation math two pointers *1400 Jan/22/2022 16:51
309 D - Flood Fill GNU C++17 (64) dp *1900 Jan/08/2022 22:42
308 C1 - Madhouse (Easy version) GNU C++17 (64) brute force constructive algorithms interactive math *2400 Jan/08/2022 21:50
307 G1 - Playlist for Polycarp (easy version) GNU C++17 (64) bitmasks combinatorics dp *2100 Jan/08/2022 19:13
306 D - Shuffle GNU C++17 (64) combinatorics math two pointers *2000 Jan/08/2022 02:28
305 G - Minimal Coverage Go dp *2200 Oct/24/2021 23:34
304 D1 - Two Hundred Twenty One (easy version) GNU C++17 (64) data structures dp math *1700 Aug/26/2021 19:41
303 C - Rings GNU C++17 (64) constructive algorithms math *1500 Aug/26/2021 18:20
302 B - Scenes From a Memory GNU C++17 (64) brute force constructive algorithms implementation math number theory *1000 Aug/26/2021 18:01
301 A - The Miracle and the Sleeper GNU C++17 (64) greedy math *800 Aug/26/2021 17:38
300 E - Minimum Path GNU C++17 (64) graphs shortest paths *2400 Aug/23/2021 22:33
299 D - Boxes And Balls GNU C++17 (64) data structures greedy *2300 Aug/04/2021 21:45
298 D - Diane GNU C++17 (64) constructive algorithms greedy strings *1800 Jul/30/2021 15:49
297 E - Alex and Complicated Task GNU C++17 (64) data structures dp greedy *2300 Jul/16/2021 13:47
296 C - Monster Invaders GNU C++17 (64) dp greedy implementation *2300 Jul/16/2021 03:07
295 E - Nastya Hasn't Written a Legend GNU C++17 (64) binary search data structures *2200 Jun/05/2021 18:44
294 D - Zigzag GNU C++17 (64) data structures *2100 Jun/05/2021 16:25
293 B - I Hate 1111 GNU C++17 (64) dp math number theory *1400 May/28/2021 18:41
292 C2 - Potions (Hard Version) GNU C++17 (64) data structures greedy *1600 May/28/2021 17:31
291 C1 - Potions (Easy Version) GNU C++17 (64) brute force data structures dp greedy *1500 May/28/2021 17:24
290 A - Mean Inequality GNU C++17 (64) constructive algorithms sortings *800 May/28/2021 17:07
289 A - Watermelon GNU C++17 (64) brute force math *800 May/17/2021 23:44
288 E - Pig and Palindromes GNU C++17 (64) combinatorics dp *2300 May/17/2021 03:18
287 F - Two Different GNU C++17 (64) constructive algorithms divide and conquer *2300 May/17/2021 02:35
286 C - Hyperspace Highways GNU C++17 (64) dfs and similar graphs trees *2300 May/17/2021 00:53
285 F - Card Bag GNU C++17 (64) dp math probabilities *2300 May/16/2021 17:50
284 C - Orac and Game of Life GNU C++17 (64) dfs and similar graphs implementation shortest paths *2000 May/14/2021 14:32
283 E - Binary Subsequence Rotation GNU C++17 (64) binary search constructive algorithms data structures greedy *2100 May/08/2021 20:34
282 E - Coprocessor GNU C++17 (64) dfs and similar dp graphs greedy *1900 May/08/2021 18:43
281 D - Nastia Plays with a Tree GNU C++17 (64) constructive algorithms data structures dfs and similar dp dsu greedy implementation trees *2500 May/07/2021 19:39
280 B - Nastia and a Good Array GNU C++17 (64) constructive algorithms math number theory *1300 May/07/2021 18:12
279 A - Nastia and Nearly Good Numbers GNU C++17 (64) constructive algorithms math number theory *1000 May/07/2021 17:44
278 B - Subway Pursuit GNU C++17 (64) binary search interactive probabilities *2100 May/07/2021 16:19
277 E - Down or Right GNU C++17 (64) constructive algorithms interactive matrices *2100 May/07/2021 13:53
276 C2 - Guessing the Greatest (hard version) GNU C++17 (64) binary search interactive *1900 May/07/2021 13:39
275 D - Guess The Maximums GNU C++17 (64) binary search implementation interactive math *2100 May/07/2021 12:21
274 G - Candy Box (hard version) GNU C++17 (64) greedy implementation sortings *2000 May/05/2021 01:06
273 E - The LCMs Must be Large GNU C++17 (64) bitmasks brute force constructive algorithms math number theory *2100 May/05/2021 00:19
272 E - Phoenix and Computers GNU C++17 (64) combinatorics dp math *2200 May/02/2021 20:01
271 D - Phoenix and Socks GNU C++17 (64) greedy sortings two pointers *1500 May/02/2021 18:29
270 C - Phoenix and Towers GNU C++17 (64) constructive algorithms data structures greedy *1400 May/02/2021 17:57
269 B - Phoenix and Puzzle GNU C++17 (64) brute force geometry math number theory *1000 May/02/2021 17:45
268 A - Phoenix and Gold GNU C++17 (64) constructive algorithms greedy math *800 May/02/2021 17:38
267 E - Different Subsets For All Tuples GNU C++17 (64) combinatorics math *2300 May/02/2021 15:57
266 D - Steps to One GNU C++17 (64) dp math number theory probabilities *2300 May/01/2021 17:24
265 A - Warrior and Archer GNU C++17 (64) games *2300 Apr/28/2021 23:35
264 B - Looksery Party GNU C++17 (64) constructive algorithms dfs and similar graphs greedy *2300 Apr/28/2021 19:40
263 D - Cut GNU C++17 (64) binary search data structures dp graphs number theory two pointers *2100 Apr/21/2021 18:11
262 C - Baby Ehab Partitions Again GNU C++17 (64) bitmasks constructive algorithms dp math *1700 Apr/21/2021 17:42
261 A - Tit for Tat GNU C++17 (64) greedy *800 Apr/21/2021 16:38
260 B - 0-1 MST GNU C++17 (64) dfs and similar dsu graphs sortings *1900 Apr/19/2021 02:20
259 A - Binary Literature GNU C++17 (64) constructive algorithms greedy implementation strings two pointers *1900 Apr/16/2021 18:55
258 B - Almost Sorted GNU C++17 (64) binary search combinatorics constructive algorithms implementation *1800 Apr/16/2021 18:29
257 D - Kuro and GCD and XOR and SUM GNU C++17 (64) binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees *2200 Apr/10/2021 02:02
256 C - Travelling Salesman Problem GNU C++17 (64) binary search data structures dp greedy shortest paths sortings two pointers *2200 Apr/09/2021 15:44
255 A - Balance the Bits GNU C++17 (64) constructive algorithms greedy *1600 Apr/09/2021 14:59
254 B - 3-Coloring GNU C++17 (64) constructive algorithms games interactive *1700 Apr/03/2021 18:07
253 D - Yet Another Monster Killing Problem GNU C++17 (64) binary search data structures dp greedy sortings two pointers *1700 Apr/03/2021 03:35
252 D - Almost Difference GNU C++17 (64) data structures math *2200 Mar/31/2021 18:03
251 D - Two Arithmetic Progressions GNU C++17 (64) math number theory *2500 Mar/30/2021 23:19
250 D - Ehab and the Expected XOR Problem GNU C++17 (64) bitmasks constructive algorithms *1900 Mar/30/2021 02:43
249 C - Phoenix and Distribution GNU C++17 (64) constructive algorithms greedy sortings strings *1600 Mar/30/2021 01:36
248 D - GCD of an Array GNU C++17 (64) brute force data structures hashing implementation math number theory sortings two pointers *2100 Mar/30/2021 00:34
247 A - Nauuo and Cards GNU C++17 (64) greedy implementation *1800 Mar/25/2021 19:55
246 C - World of Darkraft: Battle for Azathoth GNU C++17 (64) brute force data structures sortings *2000 Mar/25/2021 00:54
245 F - Diameter Cuts GNU C++17 (64) combinatorics dfs and similar dp trees *2400 Mar/24/2021 02:58
244 C - Skyline Photo GNU C++17 (64) binary search data structures dp greedy *2100 Mar/21/2021 16:21
243 A - Basic Diplomacy GNU C++17 (64) constructive algorithms greedy implementation *1600 Mar/21/2021 15:40
242 E - Placing Rooks GNU C++17 (64) combinatorics fft math *2300 Mar/20/2021 01:32
241 C1 - k-LCM (easy version) GNU C++17 (64) constructive algorithms math *1200 Mar/17/2021 17:15
240 C2 - k-LCM (hard version) GNU C++17 (64) constructive algorithms math *1600 Mar/17/2021 17:14
239 B - M-arrays GNU C++17 (64) constructive algorithms greedy math *1200 Mar/17/2021 16:54
238 A - Meximization GNU C++17 (64) brute force data structures greedy sortings *800 Mar/17/2021 16:39
237 A - Going Home GNU C++17 (64) brute force hashing implementation math *1800 Mar/13/2021 13:31
236 D - Zigzags GNU C++17 (64) brute force combinatorics data structures math two pointers *1900 Mar/10/2021 23:32
235 C - Binary String Reconstruction GNU C++17 (64) 2-sat brute force constructive algorithms greedy *1500 Mar/10/2021 20:08
234 E - Clear the Multiset GNU C++17 (64) data structures divide and conquer dp greedy *2200 Mar/10/2021 19:54
233 B - Let's Go Hiking GNU C++17 (64) games greedy *1900 Mar/10/2021 14:42
232 A - Diamond Miner GNU C++17 (64) geometry greedy math sortings *1200 Mar/10/2021 14:13
231 C - Envy GNU C++17 (64) data structures dsu graphs *2300 Mar/10/2021 03:42
230 E - Dog Snacks GNU C++17 (64) binary search dfs and similar dp greedy trees *2300 Mar/07/2021 00:50
229 C - Point Ordering GNU C++17 (64) constructive algorithms geometry interactive math *2300 Mar/06/2021 23:15
228 B - Count Pairs GNU C++17 (64) math matrices number theory two pointers *2300 Mar/06/2021 19:50
227 E - Vasya and Magic Matrix GNU C++17 (64) dp math probabilities *2300 Mar/05/2021 04:11
226 B - Berland Crossword GNU C++17 (64) bitmasks brute force greedy implementation *1400 Mar/02/2021 19:25
225 F - Escape Through Leaf GNU C++17 (64) data structures dp geometry *2700 Feb/26/2021 04:14
224 C - Replace To Make Regular Bracket Sequence GNU C++17 (64) data structures expression parsing math *1400 Feb/24/2021 22:29
223 E - Move and Swap GNU C++17 (64) dfs and similar dp greedy trees *2500 Feb/13/2021 01:11
222 D - Multiples and Power Differences GNU C++17 (64) constructive algorithms graphs math number theory *2200 Feb/12/2021 17:46
221 B - Replace and Keep Sorted GNU C++17 (64) dp implementation math *1200 Feb/12/2021 17:13
220 A - Add and Divide GNU C++17 (64) brute force greedy math number theory *1000 Feb/12/2021 16:57
219 C - Fence Painting GNU C++17 (64) brute force constructive algorithms greedy *1600 Feb/05/2021 17:10
218 B - New Colony GNU C++17 (64) brute force greedy implementation *1100 Feb/05/2021 16:46
217 A - Space Navigation GNU C++17 (64) greedy strings *800 Feb/05/2021 16:40
216 D - Balanced Playlist GNU C++17 (64) binary search data structures implementation *2000 Jan/24/2021 15:55
215 C - Propagating tree GNU C++17 (64) data structures dfs and similar trees *2000 Jan/24/2021 11:10
214 D - Fafa and Ancient Alphabet GNU C++17 (64) math probabilities *1900 Jan/16/2021 00:11
213 D - Count Good Substrings GNU C++17 (64) math *2000 Jan/09/2021 23:23
212 H - Subsequences (hard version) GNU C++17 (64) dp strings *1900 Jan/09/2021 19:53
211 B - Hills And Valleys GNU C++17 (64) brute force implementation *1700 Jan/08/2021 19:04
210 C - Three Bags GNU C++17 (64) constructive algorithms greedy *1900 Jan/08/2021 18:15
209 A - Wizard of Orz GNU C++17 (64) constructive algorithms greedy math *900 Jan/08/2021 16:44
208 D - Strange Definition GNU C++17 (64) bitmasks graphs hashing math number theory *1900 Jan/08/2021 13:55
207 D - Ceil Divisions GNU C++17 (64) brute force constructive algorithms math number theory *1700 Dec/28/2020 19:25
206 E - Tree Shuffling GNU C++17 (64) dfs and similar dp greedy trees *2000 Dec/09/2020 00:59
205 E - Xor-sequences GNU C++17 (64) matrices *1900 Dec/08/2020 02:58
204 D - Road to Post Office GNU C++17 (64) math *1900 Dec/08/2020 02:21
203 B - Snow Walking Robot GNU C++17 (64) constructive algorithms greedy implementation *1200 Dec/08/2020 00:58
202 D - Distinct Characters Queries GNU C++17 (64) data structures *1600 Dec/08/2020 00:46
201 A - Add Odd or Subtract Even GNU C++17 (64) greedy implementation math *800 Dec/08/2020 00:36
200 A - Minimal Square GNU C++17 (64) greedy math *800 Dec/08/2020 00:32
199 A - Superhero Transformation GNU C++17 (64) implementation strings *1000 Dec/08/2020 00:24
198 B - Honest Coach GNU C++17 (64) greedy sortings *800 Dec/08/2020 00:20
197 A - QAQ GNU C++17 (64) brute force dp *800 Dec/08/2020 00:14
196 D - Number of Parallelograms GNU C++17 (64) geometry *1900 Dec/07/2020 00:16
195 B - Balls of Steel GNU C++17 (64) brute force geometry greedy *1000 Dec/06/2020 18:32
194 D - Rating Compression GNU C++17 (64) binary search data structures greedy implementation two pointers *1800 Dec/06/2020 18:04
193 A - Avoid Trygub GNU C++17 (64) constructive algorithms sortings *800 Dec/06/2020 16:35
192 E - Roma and Poker GNU C++17 (64) dp graphs *2000 Nov/27/2020 23:19
191 D - Good Triple GNU C++17 (64) brute force *1900 Nov/24/2020 14:23
190 D - Three Sequences GNU C++17 (64) constructive algorithms data structures greedy math *2200 Nov/24/2020 01:56
189 D - Ralph And His Tour in Binary Country GNU C++17 (64) brute force data structures trees *2200 Nov/16/2020 23:12
188 B - Apple Tree GNU C++17 dfs and similar number theory trees *2100 Nov/06/2020 02:18
187 E - Long Permutation GNU C++17 brute force math two pointers *2400 Nov/04/2020 14:22
186 G - Years GNU C++17 data structures sortings *1300 Nov/03/2020 18:01
185 D - Extreme Subtraction GNU C++17 dp greedy math *1800 Nov/02/2020 17:33
184 B - Saving the City GNU C++17 dp greedy math sortings *1300 Nov/02/2020 17:02
183 C - The Delivery Dilemma GNU C++17 binary search greedy sortings *1400 Nov/02/2020 16:49
182 A - Kids Seating GNU C++17 constructive algorithms math *800 Nov/02/2020 16:42
181 A - Division GNU C++17 brute force math number theory *1500 Nov/01/2020 13:30
180 C - Permutation Partitions GNU C++17 combinatorics greedy math *1300 Oct/31/2020 19:48
179 C - Ehab and a 2-operation task GNU C++17 constructive algorithms greedy math *1400 Oct/31/2020 16:45
178 B - T-shirt buying GNU C++17 data structures implementation *1400 Oct/31/2020 16:26
177 A - Adding Digits GNU C++17 implementation math *1400 Oct/31/2020 16:13
176 E - Connected Components? GNU C++17 data structures dfs and similar dsu graphs *2100 Oct/31/2020 01:47
175 C - Fire Again GNU C++17 brute force dfs and similar shortest paths *1500 Oct/30/2020 02:01
174 B - Mr. Kitayuta's Colorful Graph GNU C++17 dfs and similar dp dsu graphs *1400 Oct/30/2020 01:40
173 B - War of the Corporations GNU C++17 constructive algorithms greedy strings *1200 Oct/28/2020 01:39
172 C - Binary Search GNU C++17 binary search combinatorics *1500 Oct/27/2020 17:09
171 B - Prime Square GNU C++17 constructive algorithms math *900 Oct/27/2020 16:56
170 A - Reorder GNU C++17 math *800 Oct/27/2020 16:52
169 D - Imbalanced Array GNU C++17 (64) data structures divide and conquer dsu sortings *1900 Oct/22/2020 18:40
168 F - Binary String Reconstruction GNU C++17 (64) constructive algorithms dfs and similar math *1500 Oct/22/2020 09:26
167 E - Intellectual Inquiry GNU C++17 (64) dp greedy strings *2200 Oct/21/2020 23:57
166 D - High Cry GNU C++17 (64) binary search bitmasks combinatorics data structures divide and conquer *2200 Oct/21/2020 20:34
165 E - Two Round Dances GNU C++17 (64) combinatorics math *1300 Oct/20/2020 18:30
164 C - Painting Fence GNU C++17 (64) divide and conquer dp greedy *1900 Oct/20/2020 18:11
163 C - XOR Inverse GNU C++17 (64) bitmasks data structures divide and conquer dp greedy math sortings strings trees *2000 Oct/20/2020 17:21
162 A - Magical Sticks GNU C++17 (64) math *800 Oct/16/2020 23:06
161 C - The Hard Work of Paparazzi GNU C++17 (64) dp *2000 Oct/14/2020 19:44
160 B - Chess Cheater GNU C++17 (64) greedy implementation sortings *1400 Oct/14/2020 01:08
159 A - Avoiding Zero GNU C++17 (64) math sortings *900 Oct/14/2020 00:41
158 A - Transformation: from A to B GNU C++17 (64) brute force dfs and similar math *1000 Oct/13/2020 23:07
157 E - String Reversal GNU C++17 (64) data structures greedy strings *1900 Oct/13/2020 00:02
156 C - Choosing flowers GNU C++17 (64) binary search brute force data structures dfs and similar dp greedy sortings two pointers *2000 Oct/12/2020 22:29
155 D - String Deletion GNU C++17 (64) binary search data structures greedy two pointers *1700 Oct/11/2020 22:37
154 C - Numbers on Whiteboard GNU C++17 (64) constructive algorithms data structures greedy implementation math *1000 Oct/11/2020 21:55
153 D - Returning Home GNU C++17 (64) graphs shortest paths sortings *2300 Oct/09/2020 16:58
152 C - Bargain GNU C++17 (64) combinatorics dp math *1700 Oct/04/2020 19:45
151 B - Nice Matrix GNU C++17 (64) greedy implementation math *1300 Oct/04/2020 19:15
150 A - Fence GNU C++17 (64) geometry math *800 Oct/04/2020 19:06
149 E - A and B and Lecture Rooms GNU C++17 (64) binary search data structures dfs and similar dp trees *2100 Oct/01/2020 14:07
148 D - Searchlights GNU C++17 (64) binary search brute force data structures dp implementation sortings two pointers *2000 Sep/30/2020 19:25
147 C - Discrete Acceleration GNU C++17 (64) binary search dp implementation math two pointers *1500 Sep/30/2020 18:01
146 A - Circle Coloring GNU C++17 (64) constructive algorithms *800 Sep/30/2020 17:42
145 C - The Art of Dealing with ATM GNU C++17 (64) binary search sortings *1900 Sep/30/2020 15:54
144 B - ZgukistringZ GNU C++17 (64) brute force constructive algorithms implementation strings *1800 Sep/28/2020 14:23
143 D - Shovel Sale GNU C++17 (64) constructive algorithms math *1800 Sep/28/2020 13:07
142 B - Two Arrays GNU C++17 (64) greedy math sortings *1100 Sep/27/2020 23:47
141 D - Array Division GNU C++17 (64) binary search data structures implementation *1900 Sep/27/2020 22:43
140 C - k-Amazing Numbers GNU C++17 (64) data structures *1500 Sep/27/2020 18:31
139 A - Copy-paste GNU C++17 (64) greedy math *800 Sep/27/2020 18:12
138 C - Two Arrays GNU C++17 (64) combinatorics dp *1600 Sep/27/2020 15:45
137 F - Flamingoes of Mystery GNU C++17 (64) interactive *1400 Sep/27/2020 15:03
136 H - Huge Boxes of Animal Toys GNU C++17 (64) constructive algorithms *1300 Sep/27/2020 15:02
135 D - Danger of Mad Snakes GNU C++17 (64) combinatorics dp math *2300 Sep/27/2020 15:02
134 A - Arena of Greed GNU C++17 (64) games greedy *1400 Sep/27/2020 15:01
133 E - Excitation of Atoms GNU C++17 (64) greedy implementation *2200 Sep/27/2020 15:01
132 E - Infinite Inversions GNU C++17 (64) binary search data structures implementation sortings trees *2100 Sep/25/2020 16:07
131 D2 - Sage's Birthday (hard version) GNU C++17 (64) binary search brute force constructive algorithms greedy sortings two pointers *1500 Sep/25/2020 13:30
130 C2 - Pokémon Army (hard version) GNU C++17 (64) data structures divide and conquer dp greedy implementation *2100 Sep/24/2020 19:19
129 C1 - Pokémon Army (easy version) GNU C++17 (64) constructive algorithms dp greedy *1300 Sep/24/2020 18:24
128 D - Rescue Nibel! GNU C++17 (64) combinatorics data structures sortings *1800 Sep/24/2020 18:10
127 B - Rock and Lever GNU C++17 (64) bitmasks math *1200 Sep/24/2020 17:57
126 A - Cubes Sorting GNU C++17 (64) math sortings *900 Sep/24/2020 17:37
125 A - DZY Loves Physics GNU C++17 (64) greedy math *1600 Sep/23/2020 15:56
124 D - The Door Problem GNU C++17 (64) 2-sat dfs and similar dsu graphs *2000 Sep/21/2020 13:21
123 B - Zero Tree GNU C++17 (64) dfs and similar dp greedy trees *1800 Sep/20/2020 05:18
122 D1 - Sage's Birthday (easy version) GNU C++17 (64) binary search constructive algorithms greedy sortings *1000 Sep/19/2020 18:27
121 C - Killjoy GNU C++17 (64) greedy implementation math *1500 Sep/19/2020 18:17
120 B - Stairs GNU C++17 (64) brute force constructive algorithms greedy implementation math *1200 Sep/19/2020 17:59
119 A - Digit Game GNU C++17 (64) games greedy implementation *900 Sep/19/2020 17:49
118 D - Gargari and Permutations GNU C++17 (64) dfs and similar dp graphs implementation *1900 Sep/19/2020 03:32
117 D - Choosing Capital for Treeland GNU C++17 (64) dfs and similar dp graphs trees *1700 Sep/18/2020 18:32
116 B - Cthulhu GNU C++17 (64) dfs and similar dsu graphs *1500 Sep/18/2020 17:31
115 D - Game with Powers GNU C++17 (64) dp games *2300 Sep/17/2020 20:39
114 D - Antimatter JavaScript dp *2300 Sep/16/2020 20:11
113 B - Mike and Feet GNU C++17 (64) binary search data structures dp dsu *1900 Sep/16/2020 03:07
112 D - Mahmoud and a Dictionary GNU C++17 (64) data structures dfs and similar dp dsu graphs *2000 Sep/15/2020 00:16
111 A - Key races GNU C++17 (64) math *800 Sep/13/2020 22:52
110 B - Silly Mistake GNU C++17 (64) greedy implementation *1400 Sep/13/2020 15:17
109 B - Maximum Product GNU C++17 (64) brute force dp greedy implementation sortings *1200 Sep/12/2020 16:52
108 A - Subset Mex GNU C++17 (64) greedy implementation math *900 Sep/12/2020 16:49
107 E2 - Array and Segments (Hard version) GNU C++17 (64) data structures implementation *2100 Sep/12/2020 15:03
106 E1 - Array and Segments (Easy version) GNU C++17 (64) brute force greedy implementation *1800 Sep/12/2020 15:03
105 B - Big Vova GNU C++17 (64) brute force greedy math number theory *1300 Sep/08/2020 20:08
104 C - Ehab and Prefix MEXs GNU C++17 (64) brute force constructive algorithms greedy *1600 Sep/07/2020 01:39
103 C - Balanced Bitstring GNU C++17 (64) greedy implementation strings *1500 Sep/06/2020 18:07
102 B - Array Cancellation GNU C++17 (64) constructive algorithms implementation *1000 Sep/06/2020 17:57
101 A - Permutation Forgery GNU C++17 (64) constructive algorithms *800 Sep/06/2020 17:37
100 D - Mishka and Interesting sum GNU C++17 (64) data structures *2100 Sep/06/2020 17:12
99 D - Decrease the Sum of Digits GNU C++11 greedy math *1500 Sep/04/2020 18:24
98 C - Yet Another Array Restoration GNU C++11 brute force math number theory *1200 Sep/04/2020 18:08
97 B - Minimum Product GNU C++11 brute force greedy math *1100 Sep/04/2020 17:53
96 A - Yet Another Two Integers Problem GNU C++11 greedy math *800 Sep/04/2020 17:38
95 D - Fedor and coupons GNU C++11 binary search data structures greedy sortings *2100 Sep/01/2020 02:12
94 F - Destroy it! GNU C++11 dp implementation sortings *2100 Aug/31/2020 01:13
93 C - Multiples of Length GNU C++11 constructive algorithms greedy math number theory *1600 Aug/30/2020 17:58
92 B - Power Sequence GNU C++11 brute force math number theory sortings *1500 Aug/30/2020 17:46
91 A - Juggling Letters GNU C++11 greedy strings *800 Aug/30/2020 17:40
90 E - Beautiful Subarrays GNU C++11 data structures divide and conquer strings trees *2100 Aug/29/2020 19:57
89 E - Mahmoud and a xor trip GNU C++11 bitmasks constructive algorithms data structures dfs and similar dp math trees *2100 Aug/29/2020 16:30
88 C - XOR and OR GNU C++11 constructive algorithms implementation math *1500 Aug/28/2020 01:56
87 D - Yet Another Number Game GNU C++11 dp games *2100 Aug/28/2020 01:39
86 A - Pasha and Hamsters GNU C++11 constructive algorithms implementation *800 Aug/27/2020 23:57
85 A - Love Triangle GNU C++11 graphs *800 Aug/27/2020 23:51
84 A - Tokitsukaze and Enhancement GNU C++11 brute force *800 Aug/27/2020 23:38
83 E - Stack Sorting GNU C++11 constructive algorithms data structures greedy implementation *2000 Aug/26/2020 21:12
82 B - RPG Protagonist GNU C++11 brute force greedy math *1700 Aug/25/2020 19:32
81 A - String Similarity GNU C++11 constructive algorithms strings *800 Aug/25/2020 17:39
80 E - Mike and Geometry Problem GNU C++11 combinatorics data structures dp geometry implementation *2000 Aug/25/2020 05:20
79 E - Reachability from the Capital GNU C++11 dfs and similar graphs greedy *2000 Aug/25/2020 04:24
78 E - Vladik and cards GNU C++11 binary search bitmasks brute force dp *2200 Aug/25/2020 02:06
77 E - Xenia and Tree GNU C++11 data structures divide and conquer trees *2400 Aug/24/2020 21:54
76 B - T-primes GNU C++11 binary search implementation math number theory *1300 Aug/24/2020 16:53
75 B2 - Village (Maximum) GNU C++11 *special problem dfs and similar trees *2500 Aug/24/2020 15:15
74 F - RC Kaboom Show GNU C++11 binary search brute force data structures geometry math *2900 Aug/15/2020 15:42
73 C - Boboniu and Bit Operations GNU C++11 bitmasks brute force dp greedy *1600 Aug/12/2020 18:15
72 A - Boboniu Likes to Color Balls GNU C++11 brute force math *1000 Aug/12/2020 17:46
71 D - 505 GNU C++11 bitmasks brute force constructive algorithms dp greedy implementation *2000 Aug/10/2020 00:08
70 C - Cyclic Permutations GNU C++11 combinatorics dp graphs math *1500 Aug/09/2020 18:24
69 B - Fix You GNU C++11 brute force greedy implementation *800 Aug/09/2020 17:50
68 A - Suborrays GNU C++11 constructive algorithms math *800 Aug/09/2020 17:36
67 B - Applejack and Storages GNU C++17 constructive algorithms data structures greedy implementation *1400 Aug/07/2020 18:10
66 A - Rainbow Dash, Fluttershy and Chess Coloring GNU C++17 greedy math *800 Aug/07/2020 17:41
65 D - Segment Intersections GNU C++17 brute force greedy implementation math *2100 Aug/06/2020 01:03
64 C - Beaver Game GNU C++17 dp games number theory *2000 Aug/05/2020 23:08
63 B - Alyona and a tree GNU C++17 binary search data structures dfs and similar graphs trees *1900 Jul/31/2020 23:00
62 D - Minimum Diameter Tree GNU C++17 constructive algorithms implementation trees *1700 Jul/31/2020 22:58
61 B - Captain Flint and a Long Voyage GNU C++17 greedy math *1000 Jul/30/2020 17:52
60 A - Captain Flint and Crew Recruitment GNU C++17 brute force greedy math number theory *800 Jul/30/2020 17:43
59 E - Calendar Ambiguity GNU C++17 math number theory *2200 Jul/29/2020 19:08
58 C - Good String GNU C++17 brute force dp greedy two pointers *1500 Jul/29/2020 18:28
57 A - LCM Problem GNU C++17 constructive algorithms greedy math number theory *800 Jul/29/2020 17:36
56 E - Little Artem and Time Machine GNU C++17 data structures *2000 Jul/27/2020 17:04
55 B1 - Koa and the Beach (Easy Version) GNU C++17 brute force dp greedy *1900 Jul/24/2020 19:20
54 C - String Transformation 1 GNU C++17 dfs and similar dsu graphs greedy sortings trees *1700 Jul/24/2020 18:37
53 A - Common Prefixes GNU C++17 constructive algorithms greedy strings *1200 Jul/24/2020 17:54
52 B1 - Village (Minimum) GNU C++17 *special problem dp greedy trees *2100 Jul/23/2020 16:50
51 D - Unmerge GNU C++17 dp *1800 Jul/21/2020 19:08
50 C1 - Prefix Flip (Easy Version) GNU C++17 constructive algorithms data structures strings *1300 Jul/21/2020 18:03
49 B - Sequential Nim GNU C++17 dp games *1100 Jul/21/2020 17:55
48 A - Common Subsequence GNU C++17 brute force *800 Jul/21/2020 17:40
47 D - Maximum Sum on Even Positions GNU C++17 divide and conquer dp greedy implementation *1600 Jun/25/2020 18:59
46 C - Pluses and Minuses GNU C++17 math *1300 Jun/25/2020 18:36
45 B - 01 Game GNU C++17 games *900 Jun/25/2020 18:26
44 A - Donut Shops GNU C++17 greedy implementation math *1000 Jun/25/2020 18:06
43 C - Palindromic Paths GNU C++17 greedy math *1500 Jun/25/2020 15:15
42 D - Fill The Bag GNU C++17 bitmasks greedy *1900 Jun/24/2020 23:30
41 D - TediousLee GNU C++17 dp graphs greedy math trees *1900 Jun/23/2020 18:26
40 C - RationalLee GNU C++17 greedy math sortings two pointers *1400 Jun/23/2020 18:08
39 B - AccurateLee GNU C++17 greedy implementation strings *1200 Jun/23/2020 17:34
38 A - FashionabLee GNU C++17 geometry math *800 Jun/23/2020 17:09
37 C - Count Triangles GNU C++17 binary search implementation math two pointers *1800 Jun/22/2020 20:39
36 F - st-Spanning Tree GNU C++17 dsu graphs greedy implementation *2300 Jun/21/2020 23:31
35 C - Electrification GNU C++17 binary search brute force greedy *1600 Jun/21/2020 15:00
34 B - The Meeting Place Cannot Be Changed GNU C++17 binary search *1600 Jun/21/2020 13:51
33 C - Number Game GNU C++17 games math number theory *1400 Jun/20/2020 18:10
32 B - GCD Compression GNU C++17 constructive algorithms math number theory *1100 Jun/20/2020 17:56
31 A - Maximum GCD GNU C++17 greedy implementation math number theory *800 Jun/20/2020 17:36
30 D - Harmonious Graph GNU C++17 constructive algorithms dfs and similar dsu graphs greedy sortings *1700 Jun/20/2020 15:29
29 F - Splitting money GNU C++17 implementation *1400 Jun/20/2020 12:48
28 D - Task On The Board GNU C++17 constructive algorithms greedy implementation sortings *1800 Jun/20/2020 00:58
27 D1 - Coffee and Coursework (Easy version) GNU C++17 brute force greedy *1700 Jun/20/2020 00:16
26 D2 - Coffee and Coursework (Hard Version) GNU C++17 binary search greedy *1700 Jun/20/2020 00:16
25 D - AND, OR and square sum GNU C++17 bitmasks greedy math *1700 Jun/19/2020 00:03
24 B - Codeforces Subsequences GNU C++17 brute force constructive algorithms greedy math strings *1500 Jun/18/2020 20:08
23 C - Even Picture GNU C++17 constructive algorithms *1500 Jun/18/2020 18:02
22 A - C+= GNU C++17 brute force greedy implementation math *800 Jun/18/2020 17:49
21 C - Social Distance GNU C++17 constructive algorithms greedy math *1300 Jun/16/2020 18:24
20 B - Even Array GNU C++17 greedy math *800 Jun/16/2020 17:42
19 A - Short Substrings GNU C++17 implementation strings *800 Jun/16/2020 17:38
18 A - Fair GNU C++17 graphs greedy number theory shortest paths *1600 Jun/16/2020 14:30
17 C - Make It Equal GNU C++17 greedy *1600 Jun/16/2020 13:53
16 B - Valera and Fruits GNU C++17 greedy implementation *1400 Jun/14/2020 19:21
15 B - Most socially-distanced subsequence GNU C++17 greedy two pointers *1300 Jun/13/2020 19:42
14 A - XXXXX GNU C++17 brute force data structures number theory two pointers *1200 Jun/13/2020 18:24
13 C - Mahmoud and Ehab and the xor GNU C++17 constructive algorithms *1900 Jun/13/2020 17:31
12 A - Alyona and copybooks GNU C++17 brute force implementation *1300 Jun/13/2020 15:43
11 D2 - RGB Substring (hard version) GNU C++17 data structures dp implementation two pointers *1600 Jun/13/2020 15:32
10 B - Kill `Em All GNU C++17 greedy sortings *1300 Jun/13/2020 00:43
9 A - Counting Kangaroos is Fun GNU C++17 binary search greedy sortings two pointers *1600 Jun/12/2020 23:09
8 D - Xenia and Bit Operations GNU C++17 data structures trees *1700 Jun/12/2020 15:30
7 C - Chessboard Billiard GNU C++17 dfs and similar dsu graphs number theory *2100 Jun/10/2020 22:03
6 C - Dijkstra? GNU C++17 graphs shortest paths *1900 Jun/08/2020 15:48
5 A - Cow and Haybales GNU C++17 greedy implementation *800 Feb/17/2020 18:07
4 A - Three Strings GNU C++17 implementation strings *800 Feb/13/2020 17:11
3 C - Little Girl and Maximum Sum GNU C++17 data structures greedy implementation sortings *1500 Jan/30/2020 12:07
2 E - Common Number GNU C++17 binary search combinatorics dp math *2100 Jan/24/2020 23:02
1 C - Ayoub and Lost Array GNU C++17 combinatorics dp math *1500 Jan/18/2020 16:04

About

The solution to my life's problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages