Submissions
Auto-generated with ❤ using Harwest
Introduction
A repository to keep track of problem solving practice, containing solutions from platforms:
- Codeforces
Codeforces is a website which hosts competitive programming contests: http://codeforces.com
Contents
# | Title | Solution | Tags | Submitted |
---|---|---|---|---|
359 | C - Pashmak and Buses | GNU C++17 | combinatorics constructive algorithms math *1900 |
Nov/21/2021 11:44 |
358 | C - Fools and Roads | GNU C++17 | data structures dfs and similar trees *1900 |
Nov/21/2021 01:00 |
357 | D - Red-Green Towers | GNU C++17 | dp *2000 |
Nov/18/2021 01:40 |
356 | E - Boxers | GNU C++17 | greedy sortings *1500 |
Nov/15/2021 12:29 |
355 | D1 - Remove the Substring (easy version) | GNU C++17 | greedy implementation *1600 |
Nov/15/2021 12:13 |
354 | C - Common Divisors | GNU C++17 | implementation math *1300 |
Nov/15/2021 12:02 |
353 | B - Equal Rectangles | GNU C++17 | greedy math *1200 |
Nov/15/2021 11:49 |
352 | A - Circle of Students | GNU C++17 | implementation *1000 |
Nov/15/2021 11:39 |
351 | B - Little Pony and Sort by Shift | GNU C++17 | implementation *1200 |
Nov/14/2021 23:11 |
350 | D - Bad Luck Island | GNU C++17 | dp probabilities *1900 |
Nov/13/2021 23:14 |
349 | D - Vessels | GNU C++17 | data structures dsu implementation trees *1800 |
Nov/13/2021 21:52 |
348 | E - Pavel and Triangles | GNU C++17 | brute force dp fft greedy ternary search *1900 |
Nov/11/2021 10:57 |
347 | A - Filling Shapes | GNU C++17 | dp math *1000 |
Nov/07/2021 10:37 |
346 | B - Three-level Laser | GNU C++17 | binary search greedy two pointers *1600 |
Nov/03/2021 11:36 |
345 | E - Polygon | GNU C++17 | dp graphs implementation shortest paths *1300 |
Nov/03/2021 11:17 |
344 | C - Banknotes | GNU C++17 | greedy number theory *1400 |
Oct/31/2021 17:00 |
343 | C - Jury Meeting | GNU C++17 | combinatorics math *1500 |
Sep/09/2021 11:51 |
342 | B - Chess Tournament | GNU C++17 | constructive algorithms *1000 |
Sep/09/2021 11:48 |
341 | A - Balanced Substring | GNU C++17 | implementation *800 |
Sep/09/2021 11:48 |
340 | C - Celex Update | GNU C++17 | math *1600 |
Aug/26/2021 08:39 |
339 | A - Duff and Meat | GNU C++17 | greedy *900 |
Aug/24/2021 18:05 |
338 | A - Cancel the Trains | GNU C++17 | implementation *800 |
Aug/22/2021 08:37 |
337 | E - Arranging The Sheep | GNU C++17 | greedy math *1400 |
Aug/21/2021 11:58 |
336 | F2 - Nearest Beautiful Number (hard version) | GNU C++17 | bitmasks brute force constructive algorithms dfs and similar dp greedy *2100 |
Aug/19/2021 20:13 |
335 | E - Polycarp and String Transformation | GNU C++17 | binary search implementation sortings strings *1800 |
Aug/19/2021 17:49 |
334 | D - Make a Power of Two | GNU C++17 | greedy math strings *1300 |
Aug/18/2021 22:22 |
333 | B - Captain Flint and a Long Voyage | GNU C++17 | greedy math *1000 |
Aug/18/2021 21:29 |
332 | B - The Monster and the Squirrel | GNU C++17 | math *1100 |
Aug/18/2021 18:27 |
331 | B - Strings Equalization | GNU C++17 | strings *1000 |
Aug/17/2021 09:31 |
330 | B - Bear and Different Names | GNU C++17 | constructive algorithms greedy *1500 |
Aug/17/2021 00:35 |
329 | C - Ayoub and Lost Array | GNU C++17 | combinatorics dp math *1500 |
Aug/16/2021 19:57 |
328 | C - Connect | GNU C++17 | brute force dfs and similar dsu *1400 |
Aug/15/2021 17:24 |
327 | B - Binary String Constructing | GNU C++17 | constructive algorithms *1300 |
Aug/15/2021 09:48 |
326 | C - Hacking Cypher | GNU C++17 | brute force math number theory strings *1700 |
Aug/14/2021 18:44 |
325 | B - Modulo Equality | GNU C++17 | brute force sortings *1500 |
Aug/13/2021 22:52 |
324 | C2 - k-LCM (hard version) | GNU C++17 | constructive algorithms math *1600 |
Aug/13/2021 21:07 |
323 | A - Equation | GNU C++17 | brute force math *800 |
Aug/13/2021 20:30 |
322 | A - Business trip | GNU C++17 | greedy implementation sortings *900 |
Aug/13/2021 20:25 |
321 | B - Kolya and Tanya | GNU C++17 | combinatorics *1500 |
Aug/13/2021 14:15 |
320 | A - Perfect Pair | GNU C++17 | brute force *1600 |
Aug/12/2021 21:28 |
319 | A - Plate Game | GNU C++17 | constructive algorithms games math *1600 |
Aug/12/2021 12:01 |
318 | B - Drazil and His Happy Friends | GNU C++17 | brute force dsu meet-in-the-middle number theory *1300 |
Aug/11/2021 21:03 |
317 | B - Roma and Changing Signs | GNU C++17 | greedy *1200 |
Aug/11/2021 16:50 |
316 | C - Sagheer and Nubian Market | GNU C++17 | binary search sortings *1500 |
Aug/11/2021 11:32 |
315 | A - Little Elephant and Function | GNU C++17 | implementation math *1000 |
Aug/11/2021 10:19 |
314 | B - Disturbed People | GNU C++17 | greedy *1000 |
Aug/11/2021 10:10 |
313 | C - Moamen and XOR | GNU C++17 | bitmasks combinatorics dp math matrices *1700 |
Aug/10/2021 12:18 |
312 | A - Olesya and Rodion | GNU C++17 | math *1000 |
Aug/10/2021 10:52 |
311 | B - Alyona and Mex | GNU C++17 | sortings *1200 |
Aug/09/2021 20:49 |
310 | D - Dima and Lisa | GNU C++17 | brute force math number theory *1800 |
Aug/09/2021 18:07 |
309 | A - No to Palindromes! | GNU C++17 | greedy strings *1700 |
Aug/09/2021 13:17 |
308 | C - Choosing flowers | GNU C++17 | binary search brute force data structures dfs and similar dp greedy sortings two pointers *2000 |
Aug/09/2021 00:30 |
307 | D - Green and Black Tea | GNU C++17 | constructive algorithms greedy math *1500 |
Aug/08/2021 19:04 |
306 | D - Phoenix and Science | GNU C++17 | binary search constructive algorithms greedy implementation math *1900 |
Aug/08/2021 13:18 |
305 | B - Customising the Track | GNU C++17 | combinatorics greedy math *900 |
Aug/08/2021 12:41 |
304 | A - Transformation: from A to B | GNU C++17 | brute force dfs and similar math *1000 |
Aug/08/2021 11:46 |
303 | D - Integers Have Friends | GNU C++17 | binary search data structures math two pointers *1800 |
Aug/06/2021 23:47 |
302 | E - XOR on Segment | GNU C++17 | bitmasks data structures *2000 |
Aug/05/2021 23:37 |
301 | D - MUH and Cube Walls | GNU C++17 | string suffix structures strings *1800 |
Aug/04/2021 23:24 |
300 | D - Choosing Capital for Treeland | GNU C++17 | dfs and similar dp graphs trees *1700 |
Aug/03/2021 23:22 |
299 | D - Roman and Numbers | GNU C++17 | bitmasks brute force combinatorics dp number theory *2000 |
Aug/02/2021 21:09 |
298 | D - Count Good Substrings | GNU C++17 | math *2000 |
Aug/02/2021 12:46 |
297 | C - Mikasa | GNU C++17 | binary search bitmasks greedy implementation *1800 |
Aug/02/2021 12:12 |
296 | C - Manhattan Subarrays | GNU C++17 | brute force geometry greedy implementation *1700 |
Jul/18/2021 22:20 |
295 | E - Riding in a Lift | GNU C++17 | combinatorics dp *1900 |
Jul/16/2021 17:48 |
294 | C - Watto and Mechanism | GNU C++17 | binary search data structures hashing string suffix structures strings *2000 |
Jul/13/2021 22:40 |
293 | D - AquaMoon and Chess | GNU C++17 | combinatorics math *1900 |
Jul/12/2021 21:47 |
292 | C - AquaMoon and Strange Sort | GNU C++17 | sortings *1500 |
Jul/12/2021 17:32 |
291 | A - Odd Set | GNU C++17 | math *800 |
Jul/04/2021 09:58 |
290 | B - Plus and Multiply | GNU C++17 | constructive algorithms math number theory *1500 |
Jul/04/2021 09:58 |
289 | C - Pocket Book | GNU C++17 | combinatorics *1400 |
Jul/02/2021 23:48 |
288 | D - Dima and Bacteria | GNU C++17 | dsu graphs shortest paths *2000 |
Jul/02/2021 23:24 |
287 | D - Devu and his Brother | GNU C++17 | binary search sortings ternary search two pointers *1700 |
Jun/28/2021 14:03 |
286 | C - Little Alawn's Puzzle | GNU C++17 | combinatorics dp dsu graphs math *1300 |
Jun/16/2021 15:35 |
285 | B - Histogram Ugliness | GNU C++17 | greedy implementation math *1100 |
Jun/14/2021 16:26 |
284 | G - Gift Set | GNU C++17 | binary search greedy math ternary search *2100 |
Jun/12/2021 21:41 |
283 | F - Interesting Function | GNU C++17 | binary search dp math number theory *1500 |
Jun/12/2021 20:54 |
282 | D - Another Problem About Dividing Numbers | GNU C++17 | constructive algorithms math number theory *1700 |
Jun/12/2021 12:37 |
281 | C - Number of Pairs | GNU C++17 | binary search data structures math two pointers *1300 |
Jun/11/2021 21:27 |
280 | B - Friends and Candies | GNU C++17 | greedy math *800 |
Jun/11/2021 21:18 |
279 | A - Stone Game | GNU C++17 | brute force dp greedy *800 |
Jun/11/2021 21:15 |
278 | C - Diluc and Kaeya | GNU C++17 | data structures dp hashing number theory *1500 |
Jun/07/2021 11:42 |
277 | C - Unstable String | GNU C++17 | binary search dp greedy implementation strings two pointers *1400 |
Jun/06/2021 11:52 |
276 | B - Array Reodering | GNU C++17 | brute force greedy math number theory sortings *900 |
Jun/05/2021 15:05 |
275 | A - Fair Playoff | GNU C++17 | brute force implementation *800 |
Jun/05/2021 14:48 |
274 | C - Ice Cave | GNU C++17 | dfs and similar *2000 |
Jun/03/2021 10:59 |
273 | D - Pashmak and Parmida's problem | GNU C++17 | data structures divide and conquer sortings *1800 |
Jun/02/2021 21:48 |
272 | D - Pair of Numbers | GNU C++17 | binary search brute force data structures math two pointers *2000 |
May/31/2021 11:37 |
271 | C - Berland Regional | GNU C++17 | brute force data structures greedy number theory sortings *1400 |
Apr/30/2021 16:34 |
270 | B - Greg and Graph | GNU C++17 | dp graphs shortest paths *1700 |
Apr/29/2021 15:35 |
269 | B - Good Sequences | GNU C++17 | dp number theory *1500 |
Apr/28/2021 22:53 |
268 | A - Cows and Sequence | GNU C++17 | constructive algorithms data structures implementation *1600 |
Apr/27/2021 14:55 |
267 | D - Dima and Hares | GNU C++17 | dp greedy *1800 |
Apr/27/2021 10:40 |
266 | B - Greenhouse Effect | GNU C++17 | dp *1700 |
Apr/26/2021 19:14 |
265 | B - Pipeline | GNU C++17 | binary search math *1700 |
Apr/22/2021 12:11 |
264 | B - Zero Tree | GNU C++17 | dfs and similar dp greedy trees *1800 |
Apr/14/2021 15:06 |
263 | B - DMCA | GNU C++17 | implementation number theory *1600 |
Apr/14/2021 14:56 |
262 | A - Is it rated - 2 | GNU C++17 | implementation interactive *900 |
Apr/11/2021 23:24 |
261 | B - Box Fitting | GNU C++17 | binary search bitmasks data structures greedy *1300 |
Mar/30/2021 15:08 |
260 | A - GCD Sum | GNU C++17 | brute force math *800 |
Mar/30/2021 14:06 |
259 | C - Fixing Typos | GNU C++17 | greedy implementation *1400 |
Mar/29/2021 14:32 |
258 | B - Password | GNU C++17 | binary search dp hashing string suffix structures strings *1700 |
Mar/24/2021 23:01 |
257 | B - Shaass and Bookshelf | GNU C++17 | dp greedy *1700 |
Mar/24/2021 00:00 |
256 | C - Bombs | GNU C++17 | greedy implementation sortings *1600 |
Mar/22/2021 22:36 |
255 | B - Hometask | GNU C++17 | brute force constructive algorithms greedy math *1600 |
Mar/22/2021 16:20 |
254 | C - XOR and OR | GNU C++17 | constructive algorithms implementation math *1500 |
Mar/20/2021 09:48 |
253 | D - Common Divisors | GNU C++17 | brute force hashing implementation math strings *1400 |
Mar/17/2021 20:08 |
252 | C - Ilya and Matrix | GNU C++17 | constructive algorithms greedy implementation sortings *1400 |
Mar/15/2021 09:54 |
251 | A - DZY Loves Sequences | GNU C++17 | dp implementation two pointers *1600 |
Mar/13/2021 22:14 |
250 | C - Almost Arithmetical Progression | GNU C++17 | brute force dp *1500 |
Mar/12/2021 21:17 |
249 | A - Panoramix's Prediction | GNU C++17 | brute force *800 |
Mar/11/2021 21:05 |
248 | A - Mafia | GNU C++17 | binary search math sortings *1600 |
Mar/10/2021 22:12 |
247 | C - Palindrome Transformation | GNU C++17 | brute force greedy implementation *1700 |
Mar/09/2021 19:51 |
246 | C - Modified GCD | GNU C++17 | binary search number theory *1600 |
Mar/08/2021 23:07 |
245 | A - Anti-knapsack | GNU C++17 | constructive algorithms greedy *800 |
Mar/07/2021 13:59 |
244 | D - Bubble Sort Graph | GNU C++17 | binary search data structures dp *1500 |
Mar/05/2021 21:52 |
243 | A - Greg and Array | GNU C++17 | data structures implementation *1400 |
Mar/04/2021 21:28 |
242 | C - 1D Sokoban | GNU C++17 | binary search dp greedy implementation two pointers |
Mar/04/2021 20:24 |
241 | B - Berland Crossword | GNU C++17 | bitmasks brute force greedy implementation |
Mar/03/2021 21:06 |
240 | A - ABC String | GNU C++17 | bitmasks brute force implementation |
Mar/03/2021 21:05 |
239 | D - Zookeeper and The Infinite Zoo | GNU C++17 | bitmasks constructive algorithms dp math *1800 |
Mar/02/2021 15:36 |
238 | C - Pekora and Trampoline | GNU C++17 | brute force data structures dp greedy implementation *1700 |
Mar/01/2021 21:22 |
237 | B - Minimal Cost | GNU C++17 | brute force math *1200 |
Mar/01/2021 12:15 |
236 | A - K-th Largest Value | GNU C++17 | brute force greedy implementation *800 |
Mar/01/2021 12:12 |
235 | A - Learning Languages | GNU C++17 | dfs and similar dsu *1400 |
Feb/28/2021 23:16 |
234 | B - Dreamoon and WiFi | GNU C++17 | bitmasks brute force combinatorics dp math probabilities *1300 |
Feb/27/2021 19:09 |
233 | A - Dragons | GNU C++17 | greedy sortings *1000 |
Feb/26/2021 20:13 |
232 | A - Lucky Division | GNU C++17 | brute force number theory *1000 |
Feb/25/2021 14:02 |
231 | B - Card Deck | GNU C++17 | data structures greedy math *1100 |
Feb/24/2021 18:55 |
230 | C - Maximum width | GNU C++17 | binary search data structures dp greedy two pointers *1500 |
Feb/24/2021 18:55 |
229 | A - Three swimmers | GNU C++17 | math *800 |
Feb/24/2021 18:54 |
228 | A - System of Equations | GNU C++17 | brute force *800 |
Feb/23/2021 11:56 |
227 | A - Stones on the Table | GNU C++17 | implementation *800 |
Feb/22/2021 20:13 |
226 | A - Dubstep | GNU C++17 | strings *900 |
Feb/21/2021 21:42 |
225 | C2 - Guessing the Greatest (hard version) | Python 3 | binary search interactive *1900 |
Feb/21/2021 14:47 |
224 | A - Even Odds | Python 3 | math *900 |
Feb/20/2021 19:07 |
223 | C1 - Guessing the Greatest (easy version) | GNU C++17 | binary search interactive |
Feb/19/2021 19:29 |
222 | B - Eastern Exhibition | GNU C++17 | geometry shortest paths sortings |
Feb/18/2021 21:25 |
221 | A - Shifting Stacks | GNU C++17 | greedy implementation |
Feb/18/2021 20:51 |
220 | A - Word Capitalization | GNU C++17 | implementation strings *800 |
Feb/18/2021 13:35 |
219 | A - Magnets | GNU C++17 | implementation *800 |
Feb/18/2021 13:28 |
218 | E - Accidental Victory | GNU C++17 | binary search data structures greedy |
Feb/17/2021 15:20 |
217 | A - Dense Array | GNU C++17 | greedy math |
Feb/17/2021 09:54 |
216 | B - Balanced Remainders | GNU C++17 | brute force constructive algorithms math |
Feb/17/2021 09:54 |
215 | C - Sum of Cubes | GNU C++17 | binary search brute force brute force math |
Feb/17/2021 09:54 |
214 | D - Permutation Transformation | GNU C++17 | dfs and similar divide and conquer implementation |
Feb/17/2021 09:54 |
213 | A - Arena | GNU C++17 | implementation sortings *800 |
Feb/16/2021 17:49 |
212 | B - Cat Cycle | GNU C++17 | math number theory *1200 |
Feb/16/2021 17:49 |
211 | A - Team | GNU C++17 | brute force greedy *800 |
Feb/15/2021 17:49 |
210 | A - Boy or Girl | GNU C++17 | brute force implementation strings *800 |
Feb/14/2021 09:51 |
209 | D - Multiplication Table | GNU C++17 | binary search brute force *1800 |
Feb/13/2021 18:35 |
208 | B - Spreadsheet | GNU C++17 | implementation math *1600 |
Feb/12/2021 17:21 |
207 | D - Flowers | GNU C++17 | dp *1700 |
Feb/11/2021 20:47 |
206 | A - Powered Addition | GNU C++17 | greedy math *1500 |
Feb/10/2021 21:21 |
205 | C - Woodcutters | GNU C++17 | dp greedy *1500 |
Feb/10/2021 17:49 |
204 | C - Kefa and Park | GNU C++17 | dfs and similar graphs trees *1500 |
Feb/09/2021 19:10 |
203 | A - Two Substrings | GNU C++17 | brute force dp greedy implementation strings *1500 |
Feb/09/2021 18:21 |
202 | D1 - Painting the Array I | GNU C++17 | data structures dp greedy implementation *1900 |
Feb/09/2021 10:23 |
201 | C - Searching Local Minimum | GNU C++17 | binary search interactive ternary search *1700 |
Feb/08/2021 12:20 |
200 | C - No More Inversions | GNU C++17 | constructive algorithms math *1500 |
Feb/07/2021 21:50 |
199 | C - Gargari and Bishops | GNU C++17 | greedy hashing implementation *1900 |
Feb/06/2021 23:28 |
198 | A - Cheap Travel | GNU C++17 | implementation *1200 |
Feb/06/2021 19:01 |
197 | C - Restore Graph | GNU C++17 | dfs and similar graphs sortings *1800 |
Feb/04/2021 14:56 |
196 | C - Bear and Prime Numbers | GNU C++17 | binary search brute force data structures dp implementation math number theory *1700 |
Feb/03/2021 16:46 |
195 | C - Vasya and Basketball | GNU C++17 | binary search brute force data structures implementation sortings two pointers *1600 |
Feb/02/2021 22:42 |
194 | C - Painting Fence | GNU C++17 | divide and conquer dp greedy *1900 |
Feb/02/2021 14:52 |
193 | C - Present | GNU C++17 | binary search data structures greedy *1700 |
Feb/01/2021 23:02 |
192 | B - Wonder Room | GNU C++17 | brute force math *2000 |
Feb/01/2021 13:41 |
191 | A - K-divisible Sum | GNU C++17 | binary search constructive algorithms greedy math |
Jan/31/2021 12:15 |
190 | C - Longest Simple Cycle | GNU C++17 | dp graphs greedy |
Jan/31/2021 11:57 |
189 | D - Journey | GNU C++17 | dfs and similar dp dsu implementation |
Jan/30/2021 18:30 |
188 | B - Inflation | GNU C++17 | binary search brute force greedy math |
Jan/30/2021 14:06 |
187 | D - Good Substrings | GNU C++17 | data structures strings *1800 |
Jan/29/2021 14:07 |
186 | C - Devu and Partitioning of the Array | GNU C++17 | brute force constructive algorithms implementation number theory *1700 |
Jan/28/2021 16:51 |
185 | D - Valid Sets | GNU C++17 | dfs and similar dp math trees *2100 |
Jan/27/2021 13:58 |
184 | E - Advertising Agency | GNU C++17 | combinatorics implementation math sortings |
Jan/26/2021 20:40 |
183 | C - Ball in Berland | GNU C++17 | combinatorics dfs and similar graphs hashing math |
Jan/26/2021 13:12 |
182 | B - New Year's Number | GNU C++17 | brute force dp math |
Jan/26/2021 11:43 |
181 | A - Odd Divisor | GNU C++17 | bitmasks math number theory |
Jan/26/2021 11:37 |
180 | D - A and B and Interesting Substrings | GNU C++17 | data structures dp two pointers *1800 |
Jan/25/2021 13:07 |
179 | C - Beautiful Sets of Points | GNU C++17 | constructive algorithms implementation *1500 |
Jan/24/2021 13:17 |
178 | D - Caesar's Legions | GNU C++17 | dp *1700 |
Jan/23/2021 21:15 |
177 | B - Big Segment | GNU C++17 | implementation sortings *1100 |
Jan/23/2021 15:28 |
176 | D - Cleaning | GNU C++17 | brute force data structures dp greedy math *2200 |
Jan/22/2021 15:34 |
175 | C - Exams | GNU C++17 | greedy sortings *1400 |
Jan/22/2021 12:53 |
174 | C - Another Problem on Strings | GNU C++17 | binary search brute force dp math strings two pointers *1600 |
Jan/21/2021 15:16 |
173 | C - Array Destruction | GNU C++17 | brute force constructive algorithms data structures greedy implementation sortings *1700 |
Jan/20/2021 13:29 |
172 | B - Different Divisors | GNU C++17 | binary search constructive algorithms greedy math number theory *1000 |
Jan/19/2021 20:32 |
171 | A - Puzzle From the Future | GNU C++17 | greedy *800 |
Jan/19/2021 20:14 |
170 | B - Color the Fence | GNU C++17 | data structures dp greedy implementation *1700 |
Jan/19/2021 10:30 |
169 | C - k-Tree | GNU C++17 | dp implementation trees *1600 |
Jan/18/2021 18:01 |
168 | C - Counting Kangaroos is Fun | GNU C++17 | greedy sortings two pointers *1600 |
Jan/17/2021 15:20 |
167 | C - George and Job | GNU C++17 | dp implementation *1700 |
Jan/17/2021 13:47 |
166 | C - Little Girl and Maximum Sum | GNU C++17 | data structures greedy implementation sortings *1500 |
Jan/16/2021 13:06 |
165 | C - Valera and Elections | GNU C++17 | dfs and similar graphs trees *1600 |
Jan/16/2021 12:36 |
164 | B - Physics Practical | GNU C++17 | binary search dp sortings two pointers *1400 |
Jan/15/2021 23:06 |
163 | A - Strange Partition | GNU C++17 | greedy math number theory *900 |
Jan/15/2021 14:42 |
162 | C - Valera and Tubes | GNU C++17 | constructive algorithms dfs and similar implementation *1500 |
Jan/15/2021 10:21 |
161 | E - Tetrahedron | GNU C++17 | dp math matrices *1500 |
Jan/14/2021 15:07 |
160 | D - Long Jumps | GNU C++17 | binary search greedy implementation *1700 |
Jan/13/2021 22:49 |
159 | B - Little Dima and Equation | GNU C++17 | brute force implementation math number theory *1500 |
Jan/13/2021 09:41 |
158 | C - Xenia and Weights | GNU C++17 | constructive algorithms dfs and similar dp graphs greedy shortest paths *1700 |
Jan/12/2021 19:55 |
157 | C - Barcode | GNU C++17 | dp matrices *1700 |
Jan/11/2021 20:19 |
156 | D - Rarity and New Dress | GNU C++17 | dfs and similar dp implementation shortest paths *2100 |
Jan/10/2021 23:35 |
155 | C - Three Bags | GNU C++17 | constructive algorithms greedy *1900 |
Jan/09/2021 19:57 |
154 | D - Strange Definition | GNU C++17 | bitmasks graphs hashing math number theory *1900 |
Jan/08/2021 18:29 |
153 | B - Friends and Presents | GNU C++17 | binary search math *1800 |
Jan/08/2021 11:20 |
152 | A - Domino | GNU C++17 | implementation math *1200 |
Jan/07/2021 22:44 |
151 | C - Arithmetic Progression | GNU C++17 | implementation sortings *1700 |
Jan/07/2021 20:20 |
150 | B - Strange List | GNU C++17 | brute force greedy implementation math *1100 |
Jan/06/2021 14:54 |
149 | C - Strange Birthday Party | GNU C++17 | brute force greedy sortings *1300 |
Jan/06/2021 14:05 |
148 | D - Even-Odd Game | GNU C++17 | dp games greedy sortings *1200 |
Jan/05/2021 13:45 |
147 | C - Long Jumps | GNU C++17 | dp graphs *1100 |
Jan/05/2021 13:22 |
146 | B - Fair Division | GNU C++17 | dp greedy math *800 |
Jan/05/2021 13:12 |
145 | A - Cards for Friends | GNU C++17 | greedy math *800 |
Jan/05/2021 13:02 |
144 | D - Little Girl and Maximum XOR | GNU C++17 | bitmasks dp greedy implementation math *1700 |
Jan/04/2021 20:31 |
143 | D - Xenia and Bit Operations | GNU C++17 | data structures trees *1700 |
Jan/03/2021 15:37 |
142 | C - To Add or Not to Add | GNU C++17 | binary search sortings two pointers *1600 |
Jan/02/2021 19:36 |
141 | D - Colorful Graph | GNU C++17 | brute force dfs and similar graphs *1600 |
Jan/02/2021 13:44 |
140 | C - Hamburgers | GNU C++17 | binary search brute force *1600 |
Jan/01/2021 18:21 |
139 | D - Vasya and Chess | GNU C++17 | constructive algorithms games math *1700 |
Jan/01/2021 14:56 |
138 | D - 13th Labour of Heracles | GNU C++17 | data structures greedy sortings trees *1500 |
Dec/31/2020 11:34 |
137 | C - Canine poetry | GNU C++17 | dp greedy strings *1300 |
Dec/31/2020 11:25 |
136 | B - Last minute enhancements | GNU C++17 | dp greedy *800 |
Dec/31/2020 11:21 |
135 | C - Beautiful Numbers | GNU C++17 | brute force combinatorics *1800 |
Dec/30/2020 15:12 |
134 | D - Ceil Divisions | GNU C++17 | brute force constructive algorithms math number theory *1700 |
Dec/30/2020 11:57 |
133 | C - Building a Fence | GNU C++17 | dp greedy implementation two pointers *1600 |
Dec/29/2020 14:43 |
132 | A - Regular Bracket Sequence | GNU C++17 | constructive algorithms greedy *1000 |
Dec/28/2020 22:17 |
131 | B - Red and Blue | GNU C++17 | dp greedy *1000 |
Dec/28/2020 22:13 |
130 | C - Removing Columns | GNU C++17 | brute force constructive algorithms implementation *1500 |
Dec/28/2020 16:54 |
129 | C - Anya and Ghosts | GNU C++17 | constructive algorithms greedy *1600 |
Dec/27/2020 20:29 |
128 | F - Full Turn | GNU C++17 | geometry hashing number theory *1700 |
Dec/26/2020 17:24 |
127 | C - Berpizza | GNU C++17 | data structures implementation *1400 |
Dec/26/2020 16:12 |
126 | N - Waste Sorting | GNU C++17 | greedy implementation *900 |
Dec/25/2020 17:32 |
125 | E - Four Segments | GNU C++17 | greedy *800 |
Dec/25/2020 17:14 |
124 | C - Number of Ways | GNU C++17 | binary search brute force data structures dp two pointers *1700 |
Dec/24/2020 12:45 |
123 | A - Boredom | GNU C++17 | dp *1500 |
Dec/24/2020 12:07 |
122 | B - Kolya and Tandem Repeat | GNU C++17 | brute force implementation strings *1500 |
Dec/23/2020 13:27 |
121 | C - Peaceful Rooks | GNU C++17 | dfs and similar dsu greedy implementation *1700 |
Dec/22/2020 14:35 |
120 | B - Fair Numbers | GNU C++17 | brute force math number theory *1000 |
Dec/21/2020 13:03 |
119 | A - In-game Chat | GNU C++17 | implementation strings *800 |
Dec/21/2020 12:16 |
118 | C - Row GCD | GNU C++17 | math number theory *1600 |
Dec/20/2020 10:42 |
117 | B - Move and Turn | Python 3 | dp math *1300 |
Dec/20/2020 09:55 |
116 | A - Red-Blue Shuffle | GNU C++14 | math probabilities *800 |
Dec/20/2020 09:18 |
115 | C - Misha and Forest | GNU C++14 | constructive algorithms data structures greedy sortings trees *1500 |
Dec/19/2020 18:57 |
114 | B - Find The Array | GNU C++14 | bitmasks constructive algorithms greedy *1400 |
Dec/18/2020 16:54 |
113 | A - Dungeon | GNU C++14 | binary search math *1100 |
Dec/18/2020 14:44 |
112 | D - Add to Neighbour and Remove | GNU C++14 | greedy math number theory *1400 |
Dec/17/2020 09:09 |
111 | C - Unique Number | GNU C++14 | brute force greedy math *900 |
Dec/16/2020 17:16 |
110 | B - Last Year's Substring | GNU C++14 | dp implementation strings *800 |
Dec/16/2020 17:02 |
109 | A - Favorite Sequence | GNU C++14 | implementation two pointers *800 |
Dec/16/2020 15:29 |
108 | C - Checkposts | GNU C++14 | dfs and similar graphs two pointers *1700 |
Dec/15/2020 19:29 |
107 | C - Color Stripe | GNU C++14 | brute force dp greedy *1600 |
Dec/15/2020 14:05 |
106 | B - Maximum Absurdity | GNU C++14 | data structures dp implementation *1500 |
Dec/14/2020 19:15 |
105 | C - View Angle | GNU C++14 | brute force geometry math *1800 |
Dec/13/2020 19:29 |
104 | A - Maze | GNU C++14 | dfs and similar *1600 |
Dec/13/2020 09:13 |
103 | A - Word | GNU C++14 | implementation strings *800 |
Dec/12/2020 21:06 |
102 | B - Convex Shape | GNU C++14 | constructive algorithms implementation *1700 |
Dec/11/2020 17:22 |
101 | A - Insomnia cure | GNU C++14 | constructive algorithms implementation math *800 |
Dec/10/2020 19:53 |
100 | B - Ciel and Flowers | GNU C++14 | combinatorics math *1600 |
Dec/09/2020 16:55 |
99 | C - Table Decorations | GNU C++14 | greedy *1800 |
Dec/08/2020 11:48 |
98 | A - Little Elephant and Problem | GNU C++14 | implementation sortings *1300 |
Dec/08/2020 10:29 |
97 | C - Divisibility by Eight | GNU C++14 | brute force dp math *1500 |
Dec/07/2020 19:38 |
96 | B - Array | GNU C++14 | bitmasks implementation two pointers *1500 |
Dec/07/2020 15:59 |
95 | B - Fox And Two Dots | GNU C++14 | dfs and similar *1500 |
Dec/06/2020 13:28 |
94 | C - Fox And Names | GNU C++14 | dfs and similar graphs sortings *1600 |
Dec/06/2020 00:00 |
93 | C - Booking System | GNU C++14 | binary search dp greedy implementation *1600 |
Dec/04/2020 22:34 |
92 | A - Cut Ribbon | GNU C++14 | brute force dp *1300 |
Dec/04/2020 18:41 |
91 | A - Ice Skating | GNU C++14 | brute force dfs and similar dsu graphs *1200 |
Dec/04/2020 17:58 |
90 | A - Party | GNU C++14 | dfs and similar graphs trees *900 |
Dec/03/2020 10:26 |
89 | B - Ilya and Queries | GNU C++14 | dp implementation *1100 |
Nov/01/2020 12:17 |
88 | C - Dima and Staircase | GNU C++14 | data structures implementation *1500 |
Oct/27/2020 19:45 |
87 | A - Little Elephant and Bits | GNU C++14 | greedy math *1100 |
Oct/26/2020 12:51 |
86 | A - Laptops | GNU C++14 | sortings *1100 |
Oct/26/2020 12:42 |
85 | A - Cutting Figure | GNU C++14 | constructive algorithms graphs trees *1700 |
Oct/24/2020 14:35 |
84 | C - Escape from Stones | GNU C++14 | greedy implementation *1200 |
Oct/23/2020 21:50 |
83 | A - Escape from Stones | GNU C++14 | constructive algorithms data structures implementation two pointers *1200 |
Oct/23/2020 21:49 |
82 | A - Cinema Line | GNU C++14 | greedy implementation *1100 |
Oct/21/2020 22:11 |
81 | C - Fox and Box Accumulation | GNU C++14 | binary search dp greedy *1400 |
Oct/21/2020 21:32 |
80 | A - Fox and Box Accumulation | GNU C++14 | greedy sortings *1400 |
Oct/21/2020 21:26 |
79 | A - Rank List | GNU C++14 | binary search implementation sortings *1100 |
Oct/19/2020 19:26 |
78 | B - Fence | GNU C++14 | brute force dp *1100 |
Oct/17/2020 12:57 |
77 | C - The Child and Toy | GNU C++14 | graphs greedy sortings *1400 |
Oct/16/2020 10:35 |
76 | B - Mashmokh and ACM | GNU C++14 | combinatorics dp number theory *1400 |
Oct/15/2020 14:08 |
75 | A - String Task | GNU C++14 | implementation strings *1000 |
Oct/03/2020 18:47 |
74 | A - Puzzles | GNU C++14 | greedy *900 |
Sep/30/2020 09:24 |
73 | A - Twins | GNU C++14 | greedy sortings *900 |
Sep/30/2020 09:16 |
72 | A - Contest | GNU C++14 | implementation *900 |
Sep/29/2020 23:33 |
71 | A - Chat room | GNU C++14 | greedy strings *1000 |
Sep/29/2020 23:01 |
70 | F - Flamingoes of Mystery | GNU C++17 | interactive *1400 |
Sep/27/2020 13:09 |
69 | A - Arena of Greed | GNU C++14 | games greedy *1400 |
Sep/27/2020 11:53 |
68 | H - Huge Boxes of Animal Toys | GNU C++17 | constructive algorithms *1300 |
Sep/27/2020 11:41 |
67 | A - Fancy Fence | GNU C++14 | geometry implementation math *1100 |
Sep/26/2020 09:53 |
66 | A - k-String | GNU C++14 | implementation strings *1000 |
Sep/26/2020 09:46 |
65 | B - Present from Lena | GNU C++14 | constructive algorithms implementation *1000 |
Sep/25/2020 21:59 |
64 | B - Caisa and Pylons | GNU C++14 | brute force implementation math *1100 |
Sep/25/2020 21:07 |
63 | A - Football | GNU C++14 | implementation strings *900 |
Sep/24/2020 10:33 |
62 | A - Slightly Decreasing Permutations | GNU C++14 | greedy implementation *1100 |
Sep/24/2020 10:22 |
61 | A - Way Too Long Words | GNU C++14 | strings *800 |
Sep/23/2020 23:33 |
60 | A - Amusing Joke | GNU C++14 | implementation sortings strings *800 |
Sep/23/2020 23:09 |
59 | A - Ultra-Fast Mathematician | GNU C++14 | implementation *800 |
Sep/23/2020 22:22 |
58 | A - Tram | GNU C++14 | implementation *800 |
Sep/23/2020 21:15 |
57 | A - Petya and Strings | GNU C++14 | implementation strings *800 |
Sep/23/2020 21:03 |
56 | A - Nearly Lucky Number | GNU C++14 | implementation *800 |
Sep/22/2020 23:07 |
55 | A - Presents | GNU C++14 | implementation *800 |
Sep/22/2020 16:10 |
54 | A - Adding Digits | GNU C++14 | implementation math *1400 |
Sep/22/2020 15:23 |
53 | A - Sereja and Bottles | GNU C++14 | brute force *1400 |
Sep/22/2020 00:08 |
52 | B - Appleman and Card Game | GNU C++14 | greedy *1300 |
Sep/21/2020 23:03 |
51 | B - Jzzhu and Sequences | GNU C++14 | implementation math *1300 |
Sep/20/2020 15:12 |
50 | B - Polo the Penguin and Matrix | GNU C++14 | brute force dp implementation sortings ternary search *1400 |
Sep/20/2020 12:47 |
49 | C - Killjoy | GNU C++14 | greedy implementation math *1500 |
Sep/20/2020 11:49 |
48 | B - Stairs | GNU C++14 | brute force constructive algorithms greedy implementation math *1200 |
Sep/20/2020 10:28 |
47 | A - Free Cash | GNU C++14 | implementation *1000 |
Sep/18/2020 18:33 |
46 | A - Flipping Game | GNU C++14 | brute force dp implementation *1200 |
Sep/18/2020 15:08 |
45 | B - Sereja and Suffixes | GNU C++14 | data structures dp *1100 |
Sep/18/2020 13:01 |
44 | B - T-primes | GNU C++14 | binary search implementation math number theory *1300 |
Sep/15/2020 00:25 |
43 | B - Kuriyama Mirai's Stones | GNU C++14 | dp implementation sortings *1200 |
Sep/14/2020 23:59 |
42 | B - Maximum Product | GNU C++14 | brute force dp greedy implementation sortings *1200 |
Sep/13/2020 00:43 |
41 | A - Subset Mex | GNU C++14 | greedy implementation math *900 |
Sep/13/2020 00:07 |
40 | A - Lights Out | GNU C++14 | implementation *900 |
Sep/12/2020 17:23 |
39 | A - Beautiful Year | GNU C++14 | brute force *800 |
Sep/12/2020 14:35 |
38 | B - Borze | GNU C++14 | expression parsing implementation *800 |
Sep/12/2020 13:31 |
37 | B - Queue at the School | GNU C++14 | constructive algorithms graph matchings implementation shortest paths *800 |
Sep/12/2020 13:24 |
36 | A - Crazy Computer | GNU C++14 | implementation *800 |
Sep/12/2020 00:32 |
35 | C - Building Permutation | GNU C++14 | greedy implementation sortings *1200 |
Sep/08/2020 20:51 |
34 | A - Distance and Axis | GNU C++14 | constructive algorithms math *900 |
Aug/31/2020 23:11 |
33 | B - Power Sequence | GNU C++14 | brute force math number theory sortings *1500 |
Aug/31/2020 18:04 |
32 | A - Juggling Letters | GNU C++14 | greedy strings *800 |
Aug/31/2020 17:46 |
31 | B - Boboniu Plays Chess | GNU C++14 | constructive algorithms *1100 |
Aug/30/2020 23:53 |
30 | A - Boboniu Likes to Color Balls | GNU C++14 | brute force math *1000 |
Aug/30/2020 21:55 |
29 | A - Common Prefixes | GNU C++14 | constructive algorithms greedy strings *1200 |
Aug/30/2020 15:51 |
28 | A - IQ Test | GNU C++14 | brute force implementation *1100 |
Aug/22/2020 21:11 |
27 | A - Non-zero | GNU C++14 | implementation math *800 |
Jul/08/2020 13:09 |
26 | C - Social Distance | GNU C++14 | constructive algorithms greedy math *1300 |
Jun/20/2020 14:56 |
25 | B - Most socially-distanced subsequence | GNU C++14 | greedy two pointers *1300 |
Jun/13/2020 21:19 |
24 | A - XXXXX | GNU C++14 | brute force data structures number theory two pointers *1200 |
Jun/13/2020 20:55 |
23 | B - Shuffle | GNU C++14 | math two pointers *1300 |
Jun/11/2020 22:38 |
22 | A - Shovels and Swords | GNU C++14 | binary search greedy math *1100 |
Jun/11/2020 20:51 |
21 | C - Team | GNU C++14 | constructive algorithms greedy implementation *1400 |
Jun/08/2020 16:13 |
20 | C - Rotation Matching | GNU C++14 | constructive algorithms data structures greedy implementation *1400 |
Jun/08/2020 10:36 |
19 | B - Trouble Sort | GNU C++14 | constructive algorithms implementation *1300 |
Jun/07/2020 22:02 |
18 | A - Matrix Game | GNU C++14 | games greedy implementation *1100 |
Jun/07/2020 20:31 |
17 | C - Ladder | GNU C++14 | dp implementation two pointers *1700 |
Jun/05/2020 15:25 |
16 | C - Given Length and Sum of Digits... | GNU C++14 | dp greedy implementation *1400 |
Jun/05/2020 13:59 |
15 | B - Johnny and His Hobbies | GNU C++14 | bitmasks brute force *1200 |
Jun/04/2020 22:05 |
14 | A - Johnny and Ancient Computer | GNU C++14 | implementation *1000 |
Jun/04/2020 21:28 |
13 | B - Sort the Array | GNU C++14 | implementation sortings *1300 |
Jun/03/2020 19:59 |
12 | B - Vanya and Lanterns | GNU C++14 | binary search implementation math sortings *1200 |
Jun/03/2020 18:45 |
11 | B - Random Teams | GNU C++14 | combinatorics constructive algorithms greedy math *1300 |
Jun/02/2020 21:23 |
10 | B - Fedor and New Game | GNU C++14 | bitmasks brute force constructive algorithms implementation *1100 |
Jun/02/2020 20:33 |
9 | B - Xenia and Ringroad | GNU C++14 | implementation *1000 |
Jun/02/2020 17:44 |
8 | B - Subsequence Hate | GNU C++14 | implementation strings *1400 |
Jun/01/2020 14:32 |
7 | A - Odd Selection | GNU C++14 | brute force implementation math *1200 |
May/31/2020 21:38 |
6 | A - Sereja and Mugs | GNU C++17 | implementation *800 |
Apr/26/2020 13:09 |
5 | A - Spit Problem | GNU C++17 | brute force *1000 |
Apr/24/2020 13:18 |
4 | B - Balanced Array | GNU C++17 | constructive algorithms math *800 |
Apr/22/2020 09:20 |
3 | A - Candies | GNU C++17 | brute force math *900 |
Apr/22/2020 08:47 |
2 | A - Bit++ | GNU C++17 | implementation *800 |
Apr/22/2020 08:23 |
1 | A - Arrival of the General | GNU C++17 | implementation *800 |
Apr/20/2020 13:21 |