Skip to content

diptayan2k/CP-Submissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

645 Commits
 
 
 
 
 
 

Repository files navigation

Submissions

Auto-generated with ❤ using Harwest

Introduction

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

  • Codeforces

Codeforces is a website which hosts competitive programming contests: http://codeforces.com

Contents

# Title Solution Tags Submitted
644 B - Move and Turn GNU C++17 dp math *1300 Dec/19/2020 16:25
643 A - Red-Blue Shuffle GNU C++17 math probabilities *800 Dec/19/2020 16:19
642 C - Row GCD GNU C++17 math number theory *1600 Dec/19/2020 16:15
641 C - Busy Robot GNU C++17 implementation *1800 Dec/17/2020 22:08
640 B - Find The Array GNU C++17 bitmasks constructive algorithms greedy *1400 Dec/17/2020 20:32
639 A - Dungeon GNU C++17 binary search math *1100 Dec/17/2020 20:20
638 D - Divide and Summarize GNU C++17 binary search brute force data structures divide and conquer implementation sortings *1600 Dec/17/2020 19:41
637 D - Checkpoints GNU C++17 brute force constructive algorithms greedy math probabilities *1900 Dec/05/2020 11:21
636 C - Triangles GNU C++17 greedy implementation *1700 Dec/04/2020 20:26
635 B - Suffix Operations GNU C++17 constructive algorithms implementation *1400 Dec/04/2020 18:59
634 A - Cancel the Trains GNU C++17 implementation *800 Dec/04/2020 18:43
633 D - XOR-gun GNU C++17 bitmasks brute force constructive algorithms *2000 Dec/04/2020 16:19
632 A - Strange Functions GNU C++17 math number theory *800 Dec/03/2020 20:50
631 B - Jumps GNU C++17 constructive algorithms math *1200 Dec/03/2020 20:49
630 C - Ping-pong GNU C++17 constructive algorithms games math *1100 Dec/03/2020 20:45
629 D - Sequence and Swaps GNU C++17 dp greedy sortings *1600 Dec/03/2020 20:27
628 C - Bouncing Ball GNU C++17 dp implementation *1400 Nov/30/2020 12:56
627 B - Repainting Street GNU C++17 brute force greedy *1100 Nov/30/2020 11:22
626 A - Prison Break GNU C++17 brute force math *800 Nov/30/2020 10:41
625 F - Array Partition GNU C++17 binary search data structures greedy two pointers *2100 Nov/28/2020 16:06
624 E - Number of Simple Paths GNU C++17 combinatorics dfs and similar graphs trees *2000 Nov/28/2020 12:52
623 D - Number into Sequence GNU C++17 constructive algorithms math number theory *1300 Nov/28/2020 11:01
622 C - Sequence Transformation GNU C++17 greedy implementation *1200 Nov/27/2020 20:29
621 B - Unique Bid Auction GNU C++17 implementation *800 Nov/27/2020 20:13
620 A - Special Permutation GNU C++17 constructive algorithms probabilities *800 Nov/27/2020 20:10
619 B - Identify the Operations GNU C++17 combinatorics data structures dsu greedy implementation *1800 Nov/23/2020 23:20
618 E1 - Bitwise Queries (Easy Version) GNU C++17 bitmasks constructive algorithms interactive math *2000 Nov/23/2020 12:31
617 D - Circle Game GNU C++17 games geometry math *1700 Nov/21/2020 22:07
616 C - String Equality GNU C++17 dp greedy hashing implementation strings *1400 Nov/21/2020 20:44
615 B - Non-Substring Subsequence GNU C++17 dp greedy implementation strings *900 Nov/21/2020 20:20
614 A - Subtract or Divide GNU C++17 greedy math *800 Nov/21/2020 20:14
613 B - Prime Square GNU C++17 constructive algorithms math *900 Nov/21/2020 18:19
612 A - Reorder GNU C++17 math *800 Nov/21/2020 17:56
611 C - Chef Monocarp GNU C++17 dp flows graph matchings greedy math sortings *1800 Nov/20/2020 21:01
610 D - Minimal Height Tree GNU C++17 graphs greedy shortest paths trees *1600 Nov/20/2020 20:38
609 D - Radio Towers GNU C++17 combinatorics dp math *1600 Nov/19/2020 21:22
608 B - Toy Blocks GNU C++17 binary search greedy math sortings *1400 Nov/19/2020 20:47
607 C - Two Brackets GNU C++17 greedy *800 Nov/19/2020 20:31
606 A - Robot Program GNU C++17 math *800 Nov/19/2020 20:11
605 B - Reverse Binary Strings GNU C++17 constructive algorithms greedy *1200 Nov/19/2020 19:49
604 A - Marketing Scheme GNU C++17 brute force constructive algorithms greedy math *800 Nov/19/2020 19:11
603 C2 - Binary Table (Hard Version) GNU C++17 constructive algorithms implementation *1900 Nov/17/2020 23:33
602 C1 - Binary Table (Easy Version) GNU C++17 constructive algorithms implementation *1500 Nov/17/2020 21:49
601 B - Sum of Medians GNU C++17 greedy math *900 Nov/17/2020 20:27
600 A - Buy the String GNU C++17 implementation math *800 Nov/17/2020 20:11
599 D - Catching Cheaters GNU C++17 dp greedy strings *1800 Nov/17/2020 12:29
598 B - Numbers Box GNU C++17 greedy math *1000 Nov/17/2020 11:57
597 C - Knapsack GNU C++17 constructive algorithms greedy math sortings *1300 Nov/17/2020 11:39
596 A - Add Candies GNU C++17 constructive algorithms math *800 Nov/17/2020 11:19
595 D - Divide and Sum GNU C++17 combinatorics math sortings *1900 Nov/16/2020 22:11
594 C - Engineer Artem GNU C++17 2-sat chinese remainder theorem constructive algorithms fft flows *2000 Nov/13/2020 21:34
593 B - Valerii Against Everyone GNU C++17 constructive algorithms data structures greedy sortings *1000 Nov/13/2020 20:10
592 A - Specific Tastes of Andre GNU C++17 constructive algorithms implementation *800 Nov/13/2020 20:07
591 C - Division GNU C++17 math number theory *1500 Nov/13/2020 18:14
590 B - Elimination GNU C++17 greedy math *900 Nov/13/2020 17:22
589 A - Array Rearrangment GNU C++17 greedy sortings *800 Nov/13/2020 17:08
588 D - Circular Dance GNU C++17 implementation *1600 Nov/12/2020 22:04
587 D - Timetable GNU C++17 dp *1800 Nov/12/2020 13:44
586 F1 - Spanning Tree with Maximum Degree GNU C++17 graphs *1600 Nov/12/2020 10:19
585 E - K Balanced Teams GNU C++17 dp sortings two pointers *1800 Nov/12/2020 01:50
584 C - A Twisty Movement GNU C++17 brute force dp implementation *1800 Nov/11/2020 23:22
583 E - Minimum spanning tree for each edge GNU C++17 data structures dfs and similar dsu graphs trees *2100 Nov/08/2020 23:39
582 C - Duff in the Army GNU C++17 data structures trees *2200 Nov/08/2020 12:55
581 C - Duff in the Army GNU C++17 data structures trees *2200 Nov/08/2020 12:53
580 D - A and B and Interesting Substrings GNU C++17 data structures dp two pointers *1800 Nov/06/2020 14:04
579 E - A and B and Lecture Rooms GNU C++17 binary search data structures dfs and similar dp trees *2100 Nov/06/2020 11:52
578 E - A and B and Lecture Rooms GNU C++17 binary search data structures dfs and similar dp trees *2100 Nov/06/2020 11:50
577 E - A and B and Lecture Rooms GNU C++17 binary search data structures dfs and similar dp trees *2100 Nov/06/2020 11:46
576 E - A and B and Lecture Rooms GNU C++17 binary search data structures dfs and similar dp trees *2100 Nov/06/2020 11:43
575 C - The Delivery Dilemma GNU C++17 binary search greedy sortings *1400 Nov/03/2020 11:04
574 D - Extreme Subtraction GNU C++17 dp greedy math *1800 Nov/03/2020 11:03
573 G - Reducing Delivery Cost GNU C++17 brute force graphs shortest paths *2100 Oct/21/2020 20:17
572 F - Zero Remainder Sum GNU C++17 dp *2100 Oct/21/2020 19:07
571 D - Hexagons GNU C++17 brute force constructive algorithms greedy implementation math shortest paths *1900 Oct/20/2020 17:51
570 C - Palindromifier GNU C++17 constructive algorithms strings *1400 Oct/18/2020 15:34
569 B - Putting Bricks in the Wall GNU C++17 constructive algorithms implementation *1100 Oct/18/2020 15:07
568 A - XORwice GNU C++17 bitmasks greedy math *800 Oct/18/2020 14:38
567 F - Number of Subsequences GNU C++17 combinatorics dp strings *2000 Oct/18/2020 11:53
566 C - ABBB GNU C++17 brute force data structures greedy strings *1100 Oct/17/2020 19:11
565 B - Belted Rooms GNU C++17 graphs implementation *1200 Oct/17/2020 19:05
564 A - Box is Pull GNU C++17 math *800 Oct/17/2020 18:38
563 E - String Reversal GNU C++17 data structures greedy strings *1900 Oct/16/2020 22:24
562 D - String Deletion GNU C++17 binary search data structures greedy two pointers *1700 Oct/16/2020 21:58
561 C - Numbers on Whiteboard GNU C++17 constructive algorithms data structures greedy implementation math *1000 Oct/16/2020 20:59
560 B - Barrels GNU C++17 greedy implementation sortings *800 Oct/16/2020 20:48
559 A - Number of Apartments GNU C++17 brute force constructive algorithms math *900 Oct/16/2020 20:41
558 E - Rock, Paper, Scissors GNU C++17 brute force constructive algorithms flows greedy math *1800 Oct/16/2020 12:24
557 D - Non-zero Segments GNU C++17 constructive algorithms data structures greedy sortings *1500 Oct/16/2020 10:04
556 C - Increase and Copy GNU C++17 binary search constructive algorithms math *1100 Oct/15/2020 23:23
555 D - Returning Home GNU C++17 graphs shortest paths sortings *2300 Oct/15/2020 20:37
554 C - Bargain GNU C++17 combinatorics dp math *1700 Oct/13/2020 21:51
553 C - The Hard Work of Paparazzi GNU C++17 dp *2000 Oct/13/2020 13:17
552 B - Chess Cheater GNU C++17 greedy implementation sortings *1400 Oct/10/2020 21:03
551 A - Avoiding Zero GNU C++17 math sortings *900 Oct/10/2020 20:35
550 B - Nice Matrix GNU C++17 greedy implementation math *1300 Oct/04/2020 22:08
549 A - Fence GNU C++17 geometry math *800 Oct/04/2020 21:37
548 B - Symmetric Matrix GNU C++17 implementation *900 Oct/04/2020 19:55
547 A - Floor Number GNU C++17 implementation math *800 Oct/04/2020 19:41
546 C - k-Amazing Numbers GNU C++17 data structures *1500 Oct/02/2020 20:29
545 B - Two Arrays GNU C++17 greedy math sortings *1100 Oct/02/2020 19:46
544 A - Copy-paste GNU C++17 greedy math *800 Oct/02/2020 19:33
543 B - Stoned Game GNU C++17 brute force constructive algorithms games greedy *1800 Oct/02/2020 18:51
542 D - Task On The Board GNU C++17 constructive algorithms greedy implementation sortings *1800 Oct/02/2020 18:43
541 D - Rescue Nibel! GNU C++17 combinatorics data structures sortings *1800 Sep/25/2020 11:08
540 C1 - Pokémon Army (easy version) GNU C++17 constructive algorithms dp greedy *1300 Sep/24/2020 20:55
539 B - Rock and Lever GNU C++17 bitmasks math *1200 Sep/24/2020 20:44
538 A - Cubes Sorting GNU C++17 math sortings *900 Sep/24/2020 20:12
537 C - Killjoy GNU C++17 greedy implementation math *1500 Sep/19/2020 21:27
536 D2 - Sage's Birthday (hard version) GNU C++17 binary search brute force constructive algorithms greedy sortings two pointers *1500 Sep/19/2020 21:04
535 B - Stairs GNU C++17 brute force constructive algorithms greedy implementation math *1200 Sep/19/2020 20:52
534 D1 - Sage's Birthday (easy version) GNU C++17 binary search constructive algorithms greedy sortings *1000 Sep/19/2020 20:32
533 A - Digit Game GNU C++17 games greedy implementation *900 Sep/19/2020 20:27
532 B - Negative Prefixes GNU C++17 greedy sortings *1300 Sep/14/2020 21:09
531 A - Buying Torches GNU C++17 math *1000 Sep/14/2020 20:40
530 C - Mortal Kombat Tower GNU C++17 dp graphs greedy shortest paths *1500 Sep/14/2020 20:39
529 C - Link Cut Centroids GNU C++17 constructive algorithms dfs and similar graphs trees *1700 Sep/14/2020 12:28
528 B - Maximum Product GNU C++17 brute force dp greedy implementation sortings *1200 Sep/14/2020 11:55
527 A - Subset Mex GNU C++17 greedy implementation math *900 Sep/14/2020 11:31
526 D - Discrete Centrifugal Jumps GNU C++17 data structures dp graphs *2200 Sep/08/2020 22:32
525 C - Chocolate Bunny GNU C++17 constructive algorithms interactive math two pointers *1600 Sep/08/2020 21:17
524 B - Big Vova GNU C++17 brute force greedy math number theory *1300 Sep/08/2020 20:29
523 A - Ahahahahahahahaha GNU C++17 constructive algorithms math *1100 Sep/08/2020 20:21
522 B - Minimum Product GNU C++17 brute force greedy math *1100 Sep/08/2020 18:17
521 A - Yet Another Two Integers Problem GNU C++17 greedy math *800 Sep/08/2020 17:51
520 D - Tree Tag GNU C++17 constructive algorithms dfs and similar dp games strings trees *1900 Sep/07/2020 11:26
519 C - Balanced Bitstring GNU C++17 greedy implementation strings *1500 Sep/06/2020 21:30
518 B - Array Cancellation GNU C++17 constructive algorithms implementation *1000 Sep/06/2020 20:37
517 A - Permutation Forgery GNU C++17 constructive algorithms *800 Sep/06/2020 20:13
516 C - Yet Another Array Restoration GNU C++17 brute force math number theory *1200 Sep/06/2020 20:02
515 D - Decrease the Sum of Digits GNU C++17 greedy math *1500 Sep/06/2020 19:26
514 E - Two Platforms GNU C++17 binary search dp sortings two pointers *1800 Sep/06/2020 12:51
513 F - Subsequences of Length Two GNU C++17 dp strings *2100 Sep/06/2020 11:18
512 C - Multiples of Length GNU C++17 constructive algorithms greedy math number theory *1600 Aug/30/2020 23:24
511 B - Power Sequence GNU C++17 brute force math number theory sortings *1500 Aug/30/2020 20:52
510 A - Juggling Letters GNU C++17 greedy strings *800 Aug/30/2020 20:08
509 D - Zigzags GNU C++17 brute force combinatorics data structures math two pointers *1900 Aug/29/2020 16:36
508 C - Binary String Reconstruction GNU C++17 2-sat brute force constructive algorithms greedy *1500 Aug/25/2020 21:36
507 B - RPG Protagonist GNU C++17 brute force greedy math *1700 Aug/25/2020 20:43
506 A - String Similarity GNU C++17 constructive algorithms strings *800 Aug/25/2020 20:09
505 D - Maximum Distributed Tree GNU C++17 dfs and similar dp greedy implementation math number theory sortings trees *1800 Aug/25/2020 19:49
504 C - Mere Array GNU C++17 constructive algorithms math number theory sortings *1300 Aug/25/2020 19:26
503 A - Distance and Axis GNU C++17 constructive algorithms math *900 Aug/25/2020 19:19
502 C - Palindromic Paths GNU C++17 greedy math *1500 Aug/17/2020 19:17
501 B - Shuffle GNU C++17 math two pointers *1300 Aug/15/2020 14:03
500 A - Shovels and Swords GNU C++17 binary search greedy math *1100 Aug/15/2020 13:19
499 D - Colored Rectangles GNU C++17 dp greedy sortings *1800 Aug/14/2020 21:42
498 C - Good Subarrays GNU C++17 data structures dp math *1600 Aug/14/2020 20:54
497 B - Substring Removal Game GNU C++17 games greedy sortings *800 Aug/14/2020 20:17
496 A - Bad Triangle GNU C++17 geometry math *800 Aug/14/2020 20:09
495 D - Boboniu Chats with Du GNU C++17 brute force dp greedy sortings *1800 Aug/14/2020 00:32
494 D - Boboniu Chats with Du GNU C++17 brute force dp greedy sortings *1800 Aug/14/2020 00:27
493 B2 - Koa and the Beach (Hard Version) GNU C++17 constructive algorithms dp greedy implementation *2200 Aug/13/2020 12:33
492 B1 - Koa and the Beach (Easy Version) GNU C++17 brute force dp greedy *1900 Aug/13/2020 12:32
491 C - Boboniu and Bit Operations GNU C++17 bitmasks brute force dp greedy *1600 Aug/12/2020 20:54
490 B - Boboniu Plays Chess GNU C++17 constructive algorithms *1100 Aug/12/2020 20:30
489 A - Boboniu Likes to Color Balls GNU C++17 brute force math *1000 Aug/12/2020 20:14
488 D - Rarity and New Dress GNU C++17 dfs and similar dp implementation shortest paths *2100 Aug/11/2020 20:49
487 D - Rarity and New Dress GNU C++17 dfs and similar dp implementation shortest paths *2100 Aug/11/2020 15:45
486 D - 505 GNU C++17 bitmasks brute force constructive algorithms dp greedy implementation *2000 Aug/10/2020 10:27
485 C - Cyclic Permutations GNU C++17 combinatorics dp graphs math *1500 Aug/09/2020 20:42
484 B - Fix You GNU C++17 brute force greedy implementation *800 Aug/09/2020 20:14
483 A - Suborrays GNU C++17 constructive algorithms math *800 Aug/09/2020 20:07
482 C - Pinkie Pie Eats Patty-cakes GNU C++17 constructive algorithms greedy math sortings *1700 Aug/08/2020 09:44
481 B - Applejack and Storages GNU C++17 constructive algorithms data structures greedy implementation *1400 Aug/07/2020 23:50
480 B - Applejack and Storages GNU C++17 constructive algorithms data structures greedy implementation *1400 Aug/07/2020 21:21
479 A - Rainbow Dash, Fluttershy and Chess Coloring GNU C++17 greedy math *800 Aug/07/2020 20:10
478 C - Element Extermination GNU C++17 constructive algorithms data structures greedy *1400 Aug/07/2020 16:58
477 B - Neighbor Grid GNU C++17 constructive algorithms greedy *1200 Aug/07/2020 10:51
476 A - Sign Flipping GNU C++17 constructive algorithms math *1100 Aug/07/2020 10:21
475 E1 - Weights Division (easy version) GNU C++17 data structures dfs and similar greedy trees *2000 Aug/06/2020 12:24
474 D - Binary String To Subsequences GNU C++17 constructive algorithms data structures greedy implementation *1500 Aug/05/2020 20:56
473 C - Boats Competition GNU C++17 brute force greedy two pointers *1200 Aug/05/2020 20:35
472 B - Gifts Fixing GNU C++17 greedy *800 Aug/05/2020 20:19
471 A - Remove Smallest GNU C++17 greedy sortings *800 Aug/05/2020 20:12
470 C - Create The Teams GNU C++17 brute force dp greedy implementation sortings *1400 Aug/05/2020 14:47
469 B - Universal Solution GNU C++17 greedy *1400 Aug/05/2020 12:33
468 E - Directing Edges GNU C++17 constructive algorithms dfs and similar graphs *2000 Aug/05/2020 11:46
467 E - Calendar Ambiguity GNU C++17 math number theory *2200 Aug/05/2020 00:03
466 D - Captain Flint and Treasure GNU C++17 data structures dfs and similar graphs greedy implementation trees *2000 Aug/03/2020 11:28
465 C - Uncle Bogdan and Country Happiness GNU C++17 dfs and similar greedy math trees *1800 Jul/30/2020 23:08
464 B - Captain Flint and a Long Voyage GNU C++17 greedy math *1000 Jul/30/2020 20:46
463 A - Captain Flint and Crew Recruitment GNU C++17 brute force greedy math number theory *800 Jul/30/2020 20:19
462 C - Good String GNU C++17 brute force dp greedy two pointers *1500 Jul/29/2020 21:11
461 B - Array Walk GNU C++17 brute force dp greedy *1600 Jul/29/2020 20:38
460 A - LCM Problem GNU C++17 constructive algorithms greedy math number theory *800 Jul/29/2020 20:10
459 C - Reducing Fractions GNU C++17 implementation math number theory sortings *1800 Jul/29/2020 12:42
458 A - Heroes GNU C++17 brute force implementation *1400 Jul/28/2020 23:02
457 A - Bracket Sequence GNU C++17 data structures expression parsing implementation *1700 Jul/28/2020 14:54
456 C - Mail Stamps GNU C++17 data structures dfs and similar graphs implementation *1700 Jul/27/2020 23:06
455 C - Fire Again GNU C++17 brute force dfs and similar shortest paths *1500 Jul/27/2020 21:40
454 C - Four Segments GNU C++17 brute force constructive algorithms geometry implementation math *1700 Jul/27/2020 01:35
453 A - Prime Permutation GNU C++17 implementation number theory strings *1300 Jul/26/2020 22:05
452 C - Inna and Dima GNU C++17 dfs and similar dp graphs implementation *1900 Jul/26/2020 20:34
451 A - Newspaper Headline GNU C++17 greedy strings *1500 Jul/26/2020 12:30
450 C - Almost Arithmetical Progression GNU C++17 brute force dp *1500 Jul/25/2020 13:22
449 D - Maximum Sum on Even Positions GNU C++17 divide and conquer dp greedy implementation *1600 Jul/25/2020 12:15
448 C - Pluses and Minuses GNU C++17 math *1300 Jul/25/2020 12:14
447 B - 01 Game GNU C++17 games *900 Jul/25/2020 12:14
446 A - Donut Shops GNU C++17 greedy implementation math *1000 Jul/25/2020 12:13
445 C - String Transformation 1 GNU C++17 dfs and similar dsu graphs greedy sortings trees *1700 Jul/24/2020 21:32
444 A - Common Prefixes GNU C++17 constructive algorithms greedy strings *1200 Jul/24/2020 20:24
443 A - Trains GNU C++17 implementation math *1500 Jul/24/2020 19:01
442 A - Malek Dance Club GNU C++14 combinatorics math *1600 Jul/24/2020 13:24
441 A - About Bacteria GNU C++14 implementation math *1700 Jul/24/2020 12:20
440 A - The Brand New Function GNU C++14 bitmasks *1600 Jul/24/2020 10:52
439 C - Prime Number GNU C++14 math number theory *1900 Jul/24/2020 02:21
438 D - Unmerge GNU C++14 dp *1800 Jul/23/2020 14:29
437 A - Common Subsequence GNU C++14 brute force *800 Jul/22/2020 14:00
436 B - Sequential Nim GNU C++14 dp games *1100 Jul/22/2020 13:55
435 C1 - Prefix Flip (Easy Version) GNU C++14 constructive algorithms data structures strings *1300 Jul/22/2020 12:08
434 C2 - Prefix Flip (Hard Version) GNU C++14 constructive algorithms data structures implementation strings *1700 Jul/22/2020 12:07
433 A - Three Indices GNU C++14 brute force data structures *900 Jul/21/2020 19:42
432 A - Dorm Water Supply GNU C++14 dfs and similar graphs *1400 Jul/19/2020 13:37
431 A - Hometask GNU C++14 greedy *1600 Jul/18/2020 13:49
430 A - Little Elephant and Interval GNU C++14 binary search combinatorics dp *1500 Jul/18/2020 12:06
429 D - a-Good String GNU C++14 bitmasks brute force divide and conquer dp implementation *1500 Jul/18/2020 09:44
428 A - Divisible by Seven GNU C++14 math number theory *1600 Jul/17/2020 19:29
427 A - The Closest Pair GNU C++14 constructive algorithms implementation *1300 Jul/17/2020 14:37
426 A - Maxim and Discounts GNU C++14 greedy sortings *1400 Jul/17/2020 12:20
425 A - Purification GNU C++14 constructive algorithms greedy *1500 Jul/17/2020 11:02
424 C - Round Table Knights GNU C++14 dp math number theory *1600 Jul/15/2020 20:17
423 C - King's Path GNU C++14 dfs and similar graphs hashing shortest paths *1800 Jul/15/2020 12:58
422 A - Triangle GNU C++14 brute force geometry implementation math *1600 Jul/14/2020 22:27
421 A - Lucky Sum GNU C++14 implementation *1100 Jul/14/2020 13:24
420 B - Omkar and Last Class of Math GNU C++14 greedy math number theory *1300 Jul/11/2020 21:09
419 A - Omkar and Completion GNU C++14 constructive algorithms implementation *800 Jul/11/2020 20:43
418 C - Little Frog GNU C++14 constructive algorithms *1200 Jul/11/2020 14:09
417 A - Matrix GNU C++14 combinatorics data structures implementation *1600 Jul/11/2020 13:27
416 A - Win or Freeze GNU C++14 games math number theory *1400 Jul/11/2020 12:47
415 A - Vasya and Robot GNU C++14 brute force greedy math *1500 Jul/11/2020 11:57
414 D - Zero Remainder Array GNU C++14 math sortings two pointers *1400 Jul/10/2020 20:17
413 E1 - Reading Books (easy version) GNU C++14 data structures greedy sortings *1600 Jul/10/2020 20:15
412 D - Grid-00100 GNU C++14 constructive algorithms greedy implementation *1600 Jul/10/2020 14:01
411 C - A Cookie for You GNU C++14 greedy implementation math *1300 Jul/10/2020 12:18
410 B - Magical Calendar GNU C++14 math *1200 Jul/10/2020 11:56
409 A - Magical Sticks GNU C++14 math *800 Jul/10/2020 11:36
408 A - Replacement GNU C++17 greedy implementation sortings *1300 Jun/26/2020 23:53
407 C - Quiz GNU C++17 binary search greedy math matrices number theory *1600 Jun/25/2020 12:51
406 C - Beautiful Numbers GNU C++17 brute force combinatorics *1800 Jun/25/2020 11:26
405 C - Magic Formulas GNU C++17 math *1600 Jun/24/2020 23:08
404 A - No to Palindromes! GNU C++17 greedy strings *1700 Jun/24/2020 22:11
403 C - RationalLee GNU C++17 greedy math sortings two pointers *1400 Jun/23/2020 21:04
402 B - AccurateLee GNU C++17 greedy implementation strings *1200 Jun/23/2020 20:02
401 A - FashionabLee GNU C++17 geometry math *800 Jun/23/2020 19:41
400 A - Points on Line GNU C++17 binary search combinatorics two pointers *1300 Jun/23/2020 19:31
399 A - Rational Resistance GNU C++17 math number theory *1600 Jun/22/2020 22:15
398 A - LCM Challenge GNU C++17 number theory *1600 Jun/22/2020 13:27
397 A - Xor-tree GNU C++17 dfs and similar trees *1300 Jun/22/2020 12:45
396 C - To Add or Not to Add GNU C++17 binary search sortings two pointers *1600 Jun/22/2020 12:01
395 A - Cows and Sequence GNU C++17 constructive algorithms data structures implementation *1600 Jun/22/2020 11:21
394 A - Mafia GNU C++17 binary search math sortings *1600 Jun/21/2020 23:11
393 C - Number Game GNU C++17 games math number theory *1400 Jun/20/2020 20:55
392 B - GCD Compression GNU C++17 constructive algorithms math number theory *1100 Jun/20/2020 20:21
391 A - Maximum GCD GNU C++17 greedy implementation math number theory *800 Jun/20/2020 20:08
390 C - Stripe GNU C++17 data structures implementation *1200 Jun/20/2020 19:15
389 A - Escape from Stones GNU C++17 constructive algorithms data structures implementation two pointers *1200 Jun/20/2020 13:40
388 C - Ladder GNU C++17 dp implementation two pointers *1700 Jun/20/2020 11:37
387 A - Mashmokh and Numbers GNU C++17 constructive algorithms number theory *1500 Jun/19/2020 23:16
386 C - Checkposts GNU C++17 dfs and similar graphs two pointers *1700 Jun/19/2020 21:20
385 C - History GNU C++17 sortings *1500 Jun/19/2020 20:45
384 C - Bear and Prime Numbers GNU C++17 binary search brute force data structures dp implementation math number theory *1700 Jun/19/2020 15:50
383 A - Ice Skating GNU C++17 brute force dfs and similar dsu graphs *1200 Jun/19/2020 12:38
382 A - Maze GNU C++17 dfs and similar *1600 Jun/19/2020 12:04
381 D - AND, OR and square sum GNU C++17 bitmasks greedy math *1700 Jun/18/2020 23:27
380 C - Even Picture GNU C++17 constructive algorithms *1500 Jun/18/2020 21:32
379 B - Codeforces Subsequences GNU C++17 brute force constructive algorithms greedy math strings *1500 Jun/18/2020 21:12
378 A - C+= GNU C++17 brute force greedy implementation math *800 Jun/18/2020 20:20
377 A - Little Elephant and Problem GNU C++17 implementation sortings *1300 Jun/18/2020 13:20
376 C - Xenia and Weights GNU C++17 constructive algorithms dfs and similar dp graphs greedy shortest paths *1700 Jun/18/2020 11:39
375 C - Hexadecimal's Numbers GNU C++17 brute force implementation math *1200 Jun/17/2020 22:37
374 C - Arithmetic Progression GNU C++17 implementation sortings *1700 Jun/17/2020 21:55
373 C - Pocket Book GNU C++17 combinatorics *1400 Jun/17/2020 21:16
372 A - Lucky Sum of Digits GNU C++17 brute force implementation *1000 Jun/17/2020 21:12
371 C - Hacking Cypher GNU C++17 brute force math number theory strings *1700 Jun/17/2020 14:22
370 C - Fixing Typos GNU C++17 greedy implementation *1400 Jun/17/2020 11:28
369 C - Social Distance GNU C++17 constructive algorithms greedy math *1300 Jun/16/2020 21:01
368 B - Even Array GNU C++17 greedy math *800 Jun/16/2020 20:22
367 A - Short Substrings GNU C++17 implementation strings *800 Jun/16/2020 20:16
366 C - Valera and Tubes GNU C++17 constructive algorithms dfs and similar implementation *1500 Jun/16/2020 11:30
365 C - k-Tree GNU C++17 dp implementation trees *1600 Jun/16/2020 01:21
364 C - Beautiful Sets of Points GNU C++17 constructive algorithms implementation *1500 Jun/15/2020 22:05
363 A - Boredom GNU C++17 dp *1500 Jun/15/2020 01:19
362 C - Exams GNU C++17 greedy sortings *1400 Jun/15/2020 00:04
361 C - Team GNU C++17 constructive algorithms greedy implementation *1400 Jun/14/2020 21:45
360 C - Number of Ways GNU C++17 binary search brute force data structures dp two pointers *1700 Jun/14/2020 20:57
359 C - Given Length and Sum of Digits... GNU C++17 dp greedy implementation *1400 Jun/14/2020 20:41
358 C - Ehab and Prefix MEXs GNU C++17 brute force constructive algorithms greedy *1600 Jun/14/2020 13:16
357 C - Ehab and Prefix MEXs GNU C++17 brute force constructive algorithms greedy *1600 Jun/14/2020 13:15
356 E - Maximum Subsequence Value GNU C++17 brute force constructive algorithms *1900 Jun/07/2020 23:51
355 D - Solve The Maze GNU C++17 constructive algorithms dfs and similar dsu graphs greedy implementation shortest paths *1700 Jun/07/2020 21:17
354 C - Rotation Matching GNU C++17 constructive algorithms data structures greedy implementation *1400 Jun/07/2020 20:43
353 B - Trouble Sort GNU C++17 constructive algorithms implementation *1300 Jun/07/2020 20:27
352 A - Matrix Game GNU C++17 games greedy implementation *1100 Jun/07/2020 20:15
351 B - Greenhouse Effect GNU C++17 dp *1700 Jun/07/2020 19:46
350 B - Maximum Value GNU C++17 binary search math sortings two pointers *2100 Jun/07/2020 14:06
349 B - Long Path GNU C++17 dp implementation *1600 Jun/07/2020 11:18
348 D - Good Substrings GNU C++17 data structures strings *1800 Jun/06/2020 20:44
347 D - Count Good Substrings GNU C++17 math *2000 Jun/06/2020 12:59
346 B - Ternary String GNU C++17 binary search dp implementation two pointers *1200 Jun/05/2020 20:59
345 A - Alarm Clock GNU C++17 math *900 Jun/05/2020 20:24
344 A - Berland Poker GNU C++17 brute force greedy math *1000 Jun/05/2020 20:04
343 A - Watermelon GNU C++17 brute force math *800 Jun/05/2020 14:06
342 D - Johnny and Contribution GNU C++17 constructive algorithms graphs greedy implementation sortings *1700 Jun/04/2020 22:08
341 C - Johnny and Another Rating Drop GNU C++17 bitmasks greedy math *1400 Jun/04/2020 20:51
340 B - Johnny and His Hobbies GNU C++17 bitmasks brute force *1200 Jun/04/2020 20:39
339 A - Johnny and Ancient Computer GNU C++17 implementation *1000 Jun/04/2020 20:24
338 B - Working out GNU C++17 dp *1600 Jun/04/2020 13:06
337 B - Greg and Graph GNU C++17 dp graphs shortest paths *1700 Jun/04/2020 11:39
336 B - Password GNU C++17 binary search dp hashing string suffix structures strings *1700 Jun/04/2020 09:08
335 B - Good Sequences GNU C++17 dp number theory *1500 Jun/02/2020 21:45
334 D - Common Divisors GNU C++17 brute force hashing implementation math strings *1400 Jun/02/2020 12:05
333 D - Little Girl and Maximum XOR GNU C++17 bitmasks dp greedy implementation math *1700 Jun/02/2020 11:48
332 D - Colorful Graph GNU C++17 brute force dfs and similar graphs *1600 Jun/02/2020 11:17
331 D - Unbearable Controversy of Being GNU C++17 brute force combinatorics dfs and similar graphs *1700 Jun/02/2020 10:41
330 D - Multiplication Table GNU C++17 binary search brute force *1800 Jun/01/2020 21:02
329 D - Mashmokh and ACM GNU C++14 combinatorics dp number theory *1400 Jun/01/2020 20:25
328 C - Game On Leaves GNU C++14 games trees *1600 May/31/2020 21:37
327 B - Subsequence Hate GNU C++14 implementation strings *1400 May/31/2020 20:34
326 A - Odd Selection GNU C++14 brute force implementation math *1200 May/31/2020 20:14
325 D - Yet Another Yet Another Task GNU C++14 data structures dp implementation two pointers *2000 May/29/2020 22:10
324 E - Modular Stability GNU C++14 combinatorics math number theory *2000 May/29/2020 11:48
323 C - Mixing Water GNU C++14 binary search math *1700 May/29/2020 10:44
322 D - Easy Problem GNU C++14 dp *1800 May/28/2020 19:33
321 D - Xenia and Bit Operations GNU C++14 data structures trees *1700 May/28/2020 10:47
320 D - Flowers GNU C++14 dp *1700 May/28/2020 09:34
319 C - Celex Update GNU C++14 math *1600 May/26/2020 21:33
318 B - Maria Breaks the Self-isolation GNU C++14 greedy sortings *1000 May/26/2020 20:36
317 A - Park Lighting GNU C++14 greedy math *800 May/26/2020 20:22
316 C - Similar Pairs GNU C++14 constructive algorithms graph matchings greedy sortings *1100 May/26/2020 19:45
315 B - Honest Coach GNU C++14 greedy sortings *800 May/26/2020 19:26
314 A - Minimal Square GNU C++14 greedy math *800 May/26/2020 19:23
313 C - Fox And Names GNU C++14 dfs and similar graphs sortings *1600 May/26/2020 13:18
312 H - Binary Median GNU C++14 binary search bitmasks brute force constructive algorithms *2100 May/25/2020 21:34
311 F - Spy-string GNU C++14 bitmasks brute force constructive algorithms dp hashing strings *1700 May/25/2020 10:07
310 C - Count Triangles GNU C++14 binary search implementation math two pointers *1800 May/19/2020 20:11
309 E - Restorer Distance GNU C++14 binary search greedy math sortings ternary search *2100 May/19/2020 11:23
308 D - Game With Array GNU C++14 constructive algorithms math *1400 May/18/2020 23:04
307 D - Game With Array GNU C++14 constructive algorithms math *1400 May/18/2020 23:03
306 B - Young Explorers GNU C++14 dp greedy sortings *1200 May/18/2020 21:57
305 A - Sequence with Digits GNU C++14 brute force implementation math *1200 May/18/2020 21:38
304 E - K-periodic Garland GNU C++14 brute force dp greedy *1900 May/16/2020 11:15
303 D - Constructing the Array GNU C++14 constructive algorithms data structures sortings *1600 May/15/2020 23:15
302 C - Board Moves GNU C++14 math *1000 May/15/2020 20:17
301 B - Two Arrays And Swaps GNU C++14 greedy sortings *800 May/15/2020 19:51
300 A - Most Unstable Array GNU C++14 constructive algorithms greedy math *800 May/15/2020 12:32
299 B - Orac and Models GNU C++14 dp math number theory *1400 May/12/2020 23:46
298 D - Orac and Medians GNU C++14 constructive algorithms greedy *2000 May/12/2020 22:50
297 C - Orac and LCM GNU C++14 math number theory *1600 May/12/2020 21:26
296 B - Card Constructions GNU C++14 binary search brute force dp math *1100 May/06/2020 20:39
295 A - Puzzle Pieces GNU C++14 math *800 May/06/2020 20:17
294 C - Phoenix and Distribution GNU C++14 constructive algorithms greedy sortings strings *1600 May/01/2020 21:56
293 B - Phoenix and Beauty GNU C++14 constructive algorithms data structures greedy sortings *1400 May/01/2020 20:40
292 A - Phoenix and Balance PyPy 3 greedy math *800 May/01/2020 20:19
291 D - Nastya and Scoreboard GNU C++17 bitmasks dp greedy *1700 Apr/24/2020 09:57
290 C - Nastya and Strange Generator GNU C++17 greedy implementation *1500 Apr/23/2020 21:21
289 B - Nastya and Door GNU C++17 greedy implementation *1300 Apr/23/2020 20:52
288 A - Nastya and Rice GNU C++17 math *900 Apr/23/2020 20:28
287 E - Maximum Subsequence GNU C++17 bitmasks divide and conquer meet-in-the-middle *1800 Apr/23/2020 13:23
286 B - Jamie and Binary Sequence (changed after round) GNU C++17 bitmasks greedy math *2000 Apr/22/2020 21:12
285 C - Subsequence Counting GNU C++17 bitmasks constructive algorithms greedy implementation *1700 Apr/22/2020 14:15
284 D - Constant Palindrome Sum GNU C++17 brute force data structures greedy two pointers *1700 Apr/21/2020 22:02
283 D - Bookshelves GNU C++17 bitmasks dp greedy *1900 Apr/21/2020 20:40
282 D - Fill The Bag GNU C++17 bitmasks greedy *1900 Apr/20/2020 20:11
281 D - Edge Weight Assignment GNU C++17 bitmasks constructive algorithms greedy trees *1800 Apr/19/2020 17:52
280 E - Sergey and Subway GNU C++17 dfs and similar dp trees *2000 Apr/18/2020 19:58
279 D - Walk on Matrix GNU C++17 bitmasks constructive algorithms math *1700 Apr/18/2020 11:57
278 E - Tree Painting GNU C++17 dfs and similar dp trees *2100 Apr/17/2020 11:15
277 D - Xenia and Colorful Gems GNU C++17 binary search data structures implementation math sortings *1700 Apr/15/2020 21:58
276 C - Linova and Kingdom GNU C++17 dfs and similar dp greedy sortings trees *1600 Apr/15/2020 21:08
275 B - Kana and Dragon Quest game GNU C++17 greedy implementation math *900 Apr/15/2020 20:19
274 A - Ichihime and Triangle GNU C++17 constructive algorithms math *800 Apr/15/2020 20:10
273 E2 - Three Blocks Palindrome (hard version) GNU C++17 brute force data structures dp two pointers *1800 Apr/15/2020 11:25
272 E1 - Three Blocks Palindrome (easy version) GNU C++17 binary search brute force data structures dp two pointers *1700 Apr/15/2020 10:30
271 C2 - Brain Network (medium) GNU C++17 dfs and similar graphs trees *1500 Apr/03/2020 13:50
270 F - Maximum White Subtree GNU C++17 dfs and similar dp graphs trees *1800 Apr/03/2020 12:39
269 F - Maximum White Subtree GNU C++17 dfs and similar dp graphs trees *1800 Apr/03/2020 12:36
268 E - IT Restaurants GNU C++17 dfs and similar dp trees *1500 Apr/02/2020 23:22
267 C - Shooting Gallery GNU C++17 dp probabilities *1800 Apr/02/2020 21:23
266 C - ...And after happily lived ever they PyPy 3 bitmasks Apr/01/2020 23:46
265 D - Again? GNU C++17 implementation Apr/01/2020 20:36
264 B - Limericks GNU C++17 math number theory Apr/01/2020 20:25
263 A - Is it rated? GNU C++17 Apr/01/2020 20:11
262 C - K-Complete Word GNU C++17 dfs and similar dsu greedy implementation strings *1500 Mar/31/2020 20:26
261 B - Composite Coloring GNU C++17 brute force constructive algorithms greedy math number theory *1400 Mar/31/2020 19:47
260 A - Exercising Walk GNU C++17 greedy implementation math *1100 Mar/31/2020 19:22
259 B - A Lot of Games GNU C++17 dfs and similar dp games implementation strings trees *1900 Mar/27/2020 21:33
258 E - Tree Queries GNU C++17 dfs and similar graphs trees *1900 Mar/27/2020 19:19
257 D - Bicolorings GNU C++17 bitmasks dp *1700 Mar/20/2020 14:15
256 D - Chloe and pleasant prizes GNU C++17 dfs and similar dp graphs trees *1800 Mar/16/2020 23:37
255 D - Serval and Rooted Tree GNU C++17 binary search dfs and similar dp greedy trees *1900 Mar/16/2020 18:57
254 D - Ehab the Xorcist PyPy 3 bitmasks constructive algorithms greedy number theory *1700 Mar/14/2020 22:01
253 C - Ehab and Path-etic MEXs GNU C++17 constructive algorithms dfs and similar greedy trees *1500 Mar/14/2020 20:50
252 B - CopyCopyCopyCopyCopy GNU C++17 greedy implementation *800 Mar/14/2020 20:10
251 A - EhAb AnD gCd GNU C++17 constructive algorithms greedy number theory *800 Mar/14/2020 20:07
250 E - Let's Go Rolling! GNU C++17 dp sortings *1800 Mar/13/2020 10:39
249 E - Sleeping Schedule GNU C++17 dp implementation *1700 Mar/13/2020 08:44
248 D - Pair of Topics GNU C++17 binary search data structures sortings two pointers *1400 Mar/12/2020 19:57
247 C - Frog Jumps GNU C++17 binary search data structures dfs and similar greedy implementation *1100 Mar/12/2020 19:08
246 B - Yet Another Palindrome Problem GNU C++17 brute force strings *1100 Mar/12/2020 18:54
245 A - Yet Another Tetris Problem GNU C++17 implementation number theory *900 Mar/12/2020 18:47
244 C - LionAge II GNU C++17 dp *1800 Mar/12/2020 12:20
243 C - Wonderful Randomized Sum GNU C++17 greedy *1800 Mar/11/2020 13:43
242 C - Buns GNU C++17 dp *1700 Mar/09/2020 16:25
241 D - Caesar's Legions GNU C++17 dp *1700 Mar/09/2020 12:12
240 H - Queries for Number of Palindromes GNU C++17 dp hashing strings *1800 Mar/08/2020 21:23
239 C - The Values You Can Make GNU C++17 dp *1900 Mar/02/2020 10:38
238 C - Coloring Trees GNU C++17 dp *1700 Mar/02/2020 00:59
237 C - Coloring Trees GNU C++17 dp *1700 Mar/02/2020 00:52
236 C - Coloring Trees GNU C++17 dp *1700 Mar/01/2020 16:07
235 C - Coloring Trees GNU C++17 dp *1700 Mar/01/2020 16:07
234 C - Colorful Bricks PyPy 3 combinatorics dp math *1500 Feb/22/2020 11:08
233 A - Sasha and a Bit of Relax GNU C++14 dp implementation *1600 Feb/21/2020 21:43
232 C - Basketball Exercise GNU C++14 dp *1400 Feb/21/2020 11:44
231 C - Cow and Message GNU C++14 brute force dp math strings *1500 Feb/18/2020 21:17
230 B - Motarack's Birthday GNU C++14 binary search greedy ternary search *1500 Feb/13/2020 20:29
229 A - Three Strings GNU C++14 implementation strings *800 Feb/13/2020 20:11
228 C - Anu Has a Function GNU C++14 greedy math *1500 Feb/09/2020 20:41
227 B - Assigning to Classes GNU C++14 greedy implementation sortings *1000 Feb/09/2020 19:56
226 A - Non-zero GNU C++14 implementation math *800 Feb/09/2020 19:43
225 C - p-binary GNU C++14 bitmasks brute force math *1600 Feb/06/2020 21:53
224 C1 - Balanced Removals (Easier) GNU C++14 constructive algorithms geometry greedy *1700 Feb/06/2020 20:04
223 C - Standard Free2play GNU C++14 dp greedy math *1600 Feb/06/2020 12:54
222 B2 - Character Swap (Hard Version) GNU C++14 strings *1600 Feb/06/2020 11:51
221 C - Berry Jam GNU C++14 data structures dp greedy implementation *1700 Feb/06/2020 02:40
220 B2 - K for the Price of One (Hard Version) GNU C++14 dp greedy sortings *1600 Feb/06/2020 00:32
219 E1 - String Coloring (easy version) GNU C++14 constructive algorithms dp graphs greedy sortings *1800 Feb/05/2020 11:47
218 D - Fight with Monsters GNU C++14 greedy sortings *1500 Feb/05/2020 11:11
217 C - Yet Another Walking Robot GNU C++14 data structures implementation *1500 Feb/04/2020 22:03
216 B - Food Buying GNU C++14 math *900 Feb/04/2020 20:25
215 A - Array with Odd Sum GNU C++14 math *800 Feb/04/2020 20:12
214 B - Array Sharpening GNU C++14 greedy implementation *1300 Feb/02/2020 20:39
213 A - Even But Not Even GNU C++14 greedy math strings *900 Feb/02/2020 19:41
212 D - Same GCDs GNU C++14 math number theory *1800 Jan/30/2020 14:12
211 C - Obtain The String GNU C++14 dp greedy strings *1600 Jan/29/2020 21:04
210 A - Display The Number GNU C++14 greedy *900 Jan/29/2020 20:23
209 D - MEX maximizing GNU C++14 data structures greedy implementation math *1600 Jan/23/2020 12:14
208 B - Collecting Packages GNU C++14 implementation sortings *1200 Jan/22/2020 21:38
207 C - Product of Three Numbers GNU C++14 greedy math number theory *1300 Jan/22/2020 21:20
206 A - Collecting Coins GNU C++14 math *800 Jan/22/2020 20:12
205 B - Modulo Equality GNU C++14 brute force sortings *1500 Jan/20/2020 19:06
204 C - NEKO's Maze Game GNU C++14 constructive algorithms implementation *1400 Jan/19/2020 20:30
203 B - JOE is on TV! GNU C++14 combinatorics greedy math *1000 Jan/19/2020 19:30
202 A - ConneR and the A.R.C. Markland-N GNU C++14 binary search brute force implementation *1100 Jan/19/2020 19:20
201 B - Hyperset GNU C++14 brute force data structures implementation *1500 Jan/19/2020 12:34
200 D - Dr. Evil Underscores GNU C++14 bitmasks brute force dfs and similar divide and conquer dp greedy strings trees *1900 Jan/18/2020 13:19
199 D - Dr. Evil Underscores GNU C++14 bitmasks brute force dfs and similar divide and conquer dp greedy strings trees *1900 Jan/18/2020 13:17
198 E - Compatible Numbers GNU C++14 bitmasks brute force dfs and similar dp *2200 Jan/17/2020 23:40
197 C - Fadi and LCM GNU C++14 brute force math number theory *1400 Jan/16/2020 13:01
196 D - Minimax Problem GNU C++14 binary search bitmasks dp *2000 Jan/16/2020 12:10
195 C - Two Arrays GNU C++14 combinatorics dp *1600 Jan/16/2020 10:51
194 B - Yet Another Meme Problem GNU C++14 math *1100 Jan/14/2020 20:38
193 A - Deadline GNU C++14 binary search brute force math ternary search *1100 Jan/14/2020 20:23
192 A - Suffix Three GNU C++14 implementation *800 Jan/14/2020 18:09
191 C - As Simple as One and Two GNU C++14 dp greedy *1400 Jan/14/2020 16:34
190 C - As Simple as One and Two GNU C++14 dp greedy *1400 Jan/14/2020 14:09
189 B - Make Them Odd GNU C++14 greedy number theory *1200 Jan/14/2020 13:27
188 A - Happy Birthday, Polycarp! GNU C++14 implementation *1000 Jan/14/2020 12:40
187 D - Remove One Element GNU C++14 brute force dp *1500 Dec/23/2019 21:56
186 C - Yet Another Broken Keyboard GNU C++14 combinatorics dp implementation *1200 Dec/23/2019 21:32
185 B - Snow Walking Robot GNU C++14 constructive algorithms greedy implementation *1200 Dec/23/2019 21:24
184 A - Three Friends GNU C++14 brute force greedy math sortings *900 Dec/23/2019 21:03
183 B - PIN Codes GNU C++14 greedy implementation *1400 Nov/30/2019 17:32
182 D - Secret Passwords GNU C++14 dfs and similar dsu graphs *1500 Nov/29/2019 21:53
181 C - Everyone is a Winner! GNU C++14 binary search math meet-in-the-middle number theory *1400 Nov/29/2019 21:34
180 A - Sweet Problem GNU C++14 math *1100 Nov/29/2019 20:29
179 D2 - Optimal Subsequences (Hard Version) GNU C++14 binary search data structures greedy sortings *1800 Nov/27/2019 20:02
178 D1 - Optimal Subsequences (Easy Version) GNU C++14 data structures greedy *1600 Nov/24/2019 20:04
177 D1 - Optimal Subsequences (Easy Version) GNU C++14 data structures greedy *1600 Nov/24/2019 19:55
176 D1 - Optimal Subsequences (Easy Version) GNU C++14 data structures greedy *1600 Nov/24/2019 19:48
175 B - Box GNU C++14 constructive algorithms *1200 Nov/24/2019 14:18
174 A - Math Problem GNU C++14 greedy math *1100 Nov/24/2019 13:57
173 B - Fridge Lockers Java 11 graphs implementation *1100 Nov/23/2019 14:07
172 B - Fridge Lockers GNU C++17 graphs implementation *1100 Nov/19/2019 20:46
171 A - Changing Volume GNU C++17 math *800 Nov/19/2019 20:12
170 D - Harmonious Graph GNU C++17 constructive algorithms dfs and similar dsu graphs greedy sortings *1700 Nov/18/2019 21:45
169 C - Sweets Eating PyPy 3 dp greedy math sortings *1500 Nov/17/2019 23:38
168 B - Silly Mistake GNU C++17 greedy implementation *1400 Nov/16/2019 20:51
167 A - Single Push GNU C++17 implementation *1000 Nov/16/2019 20:18
166 C - Dominated Subarray GNU C++17 greedy implementation sortings strings two pointers *1200 Nov/16/2019 19:24
165 B - Magic Stick GNU C++17 math *1000 Nov/16/2019 19:12
164 A - Two Rival Students GNU C++17 greedy math *800 Nov/16/2019 18:34
163 D - Binary String Minimizing GNU C++17 greedy *1500 Nov/04/2019 19:51
162 B - Minimize the Permutation GNU C++17 greedy *1400 Nov/04/2019 19:24
161 A - Payment Without Change GNU C++17 math *1000 Nov/04/2019 18:52
160 C - Constanze's Machine GNU C++17 dp *1400 Nov/01/2019 20:57
159 B - Restricted RPS GNU C++17 constructive algorithms dp greedy *1200 Nov/01/2019 20:30
158 A - Good ol' Numbers Coloring GNU C++17 math number theory *1000 Nov/01/2019 20:12
157 B - Balanced Substring GNU C++17 dp implementation *1500 Nov/01/2019 13:19
156 C - Cut 'em all! GNU C++17 dfs and similar dp graphs greedy trees *1500 Oct/31/2019 23:35
155 D - Polycarp and Div 3 GNU C++17 dp greedy number theory *1500 Oct/31/2019 18:09
154 C - The Fair Nut and String GNU C++17 combinatorics dp implementation *1500 Oct/31/2019 12:39
153 C - Gas Pipeline GNU C++17 dp greedy *1500 Oct/25/2019 21:34
152 B - The Number of Products GNU C++17 combinatorics dp implementation *1400 Oct/25/2019 19:39
151 A - DZY Loves Sequences GNU C++17 dp implementation two pointers *1600 Oct/24/2019 21:39
150 D - Caesar's Legions GNU C++17 dp *1700 Oct/24/2019 14:41
149 D - Flowers GNU C++17 dp *1700 Oct/23/2019 20:26
148 C2 - Good Numbers (hard version) GNU C++17 binary search greedy math meet-in-the-middle *1500 Oct/22/2019 22:13
147 C1 - Good Numbers (easy version) GNU C++17 brute force greedy implementation *1300 Oct/22/2019 21:22
146 B2 - Books Exchange (hard version) GNU C++17 dfs and similar dsu math *1300 Oct/22/2019 20:36
145 B1 - Books Exchange (easy version) GNU C++17 dsu math *1000 Oct/22/2019 20:35
144 A - Yet Another Dividing into Teams GNU C++17 math *800 Oct/22/2019 20:12
143 B - Balanced Tunnel GNU C++17 data structures sortings two pointers *1300 Oct/16/2019 20:47
142 D - Distinct Characters Queries GNU C++17 data structures *1600 Oct/01/2019 23:03
141 B2 - Social Network (hard version) GNU C++17 data structures implementation *1300 Oct/01/2019 20:28
140 B1 - Social Network (easy version) GNU C++17 implementation *1000 Oct/01/2019 20:24
139 A - Equalize Prices Again GNU C++17 math *800 Oct/01/2019 20:08
138 B - Filling the Grid GNU C++17 implementation math *1400 Sep/29/2019 21:14
137 C - Primes and Multiplication GNU C++17 math number theory *1700 Sep/29/2019 20:12
136 A - Distinct Digits GNU C++17 brute force implementation *800 Sep/29/2019 18:42
135 B - Ania and Minimizing GNU C++17 greedy implementation *1000 Sep/23/2019 20:11
134 A - Dawid and Bags of Candies GNU C++17 brute force implementation *800 Sep/23/2019 19:42
133 B - Knights GNU C++17 constructive algorithms greedy *1100 Sep/20/2019 00:03
132 C - Perfect Team GNU C++17 binary search math *1200 Sep/19/2019 20:58
131 A - 2048 Game GNU C++17 brute force greedy math *1000 Sep/19/2019 20:29
130 A - Cards GNU C++17 implementation sortings strings *800 Sep/18/2019 21:40
129 D2 - Equalizing by Division (hard version) GNU C++17 brute force math sortings *1600 Sep/06/2019 12:51
128 B - Zmei Gorynich GNU C++17 greedy math *1600 Sep/05/2019 23:54
127 A - Creating a Character GNU C++14 binary search math *1300 Sep/05/2019 20:43
126 C - Bad Sequence GNU C++14 data structures greedy *1200 Sep/04/2019 19:56
125 B - Block Adventure GNU C++14 dp greedy *1200 Sep/02/2019 18:01
124 A - Hotelier GNU C++14 brute force data structures implementation *800 Sep/02/2019 17:03
123 D1 - Equalizing by Division (easy version) GNU C++14 brute force implementation *1500 Aug/30/2019 23:36
122 C - Book Reading GNU C++14 math *1200 Aug/30/2019 20:28
121 B - Bad Prices GNU C++14 data structures implementation *1100 Aug/30/2019 20:14
120 A - Chips Moving GNU C++14 math *900 Aug/30/2019 20:09
119 E - Boxers GNU C++14 greedy sortings *1500 Aug/29/2019 20:25
118 C - Common Divisors GNU C++14 implementation math *1300 Aug/29/2019 19:31
117 B - Equal Rectangles GNU C++14 greedy math *1200 Aug/29/2019 19:21
116 A - Circle of Students GNU C++14 implementation *1000 Aug/29/2019 18:58
115 B - Square Filling GNU C++14 constructive algorithms greedy implementation *1200 Aug/22/2019 20:44
114 A - There Are Two Types Of Burgers GNU C++14 brute force greedy implementation math *800 Aug/22/2019 20:23
113 C - Anna, Svyatoslav and Maps GNU C++14 dp graphs greedy shortest paths *1700 Aug/21/2019 19:01
112 C - Anna, Svyatoslav and Maps GNU C++14 dp graphs greedy shortest paths *1700 Aug/21/2019 12:45
111 A - BowWow and the Timetable GNU C++14 math *1000 Aug/20/2019 20:45
110 B - Mislove Has Lost an Array GNU C++14 greedy math *900 Aug/20/2019 20:38
109 C - Almost Equal GNU C++14 constructive algorithms math *1200 Aug/18/2019 20:06
108 B - Make Product Equal One GNU C++14 dp implementation *900 Aug/18/2019 19:34
107 A - Choose Two Numbers GNU C++14 math sortings *800 Aug/18/2019 19:20
106 B - Tokitsukaze and Mahjong GNU C++14 brute force implementation *1200 Jul/31/2019 18:31
105 A - Tokitsukaze and Enhancement GNU C++14 brute force *800 Jul/31/2019 17:19
104 C - MP3 GNU C++14 two pointers *1600 Jul/30/2019 23:56
103 C - MP3 GNU C++14 two pointers *1600 Jul/30/2019 23:40
102 B - Water Lily GNU C++14 geometry math *1000 Jul/30/2019 20:24
101 A - City Day GNU C++14 implementation *1000 Jul/30/2019 20:16
100 C - Lose it! GNU C++14 dp greedy implementation *1300 Jul/26/2019 22:27
99 B - Merge it! GNU C++14 math *1100 Jul/26/2019 21:34
98 A - Divide it! GNU C++14 brute force greedy implementation *800 Jul/26/2019 21:04
97 B - Equalize Prices GNU C++14 math *900 Jul/26/2019 16:58
96 A - Nearest Interesting Number GNU C++14 implementation *800 Jul/26/2019 16:51
95 D2 - RGB Substring (hard version) GNU C++14 data structures dp implementation two pointers *1600 Jul/25/2019 12:56
94 D1 - RGB Substring (easy version) GNU C++14 implementation *1500 Jul/25/2019 12:32
93 C - Robot Breakout GNU C++14 implementation *1500 Jul/24/2019 22:19
92 B - Odd Sum Segments GNU C++14 constructive algorithms math *1200 Jul/24/2019 21:19
91 A - Three Piles of Candies GNU C++14 brute force constructive algorithms math *800 Jul/24/2019 20:11
90 C - Tiles GNU C++14 combinatorics greedy math *1300 Jul/23/2019 13:47
89 C - Array Splitting GNU C++14 greedy sortings *1400 Jul/22/2019 22:16
88 B - Pillars GNU C++14 greedy implementation *1000 Jul/22/2019 20:26
87 A - DIY Wooden Ladder GNU C++14 greedy math sortings *900 Jul/22/2019 20:12
86 B - BerSU Ball GNU C++14 dfs and similar dp graph matchings greedy sortings two pointers *1200 Jul/19/2019 14:21
85 C - Given Length and Sum of Digits... GNU C++14 dp greedy implementation *1400 Jul/19/2019 01:24
84 A - Kefa and First Steps GNU C++14 brute force dp implementation *900 Jul/19/2019 00:19
83 C - Basketball Exercise GNU C++14 dp *1400 Jul/18/2019 11:59
82 B - Sport Mafia GNU C++14 binary search brute force math *1000 Jul/17/2019 20:29
81 A - Drinks Choosing GNU C++14 greedy math *1000 Jul/17/2019 20:20
80 C - From S To T GNU C++14 implementation strings *1300 Jul/16/2019 13:19
79 B - Yet Another Crosses Problem GNU C++14 implementation *1300 Jul/16/2019 12:14
78 A - Remove a Progression GNU C++14 math *800 Jul/16/2019 10:19
77 B - Plus from Picture GNU C++14 dfs and similar implementation strings *1300 Jun/11/2019 21:41
76 A - Filling Shapes GNU C++14 dp math *1000 Jun/11/2019 18:46
75 A - Ehab Fails to Be Thanos GNU C++14 constructive algorithms greedy sortings *1000 Jun/09/2019 12:47
74 C - A Tale of Two Lands GNU C++14 binary search sortings two pointers *1500 May/17/2019 21:57
73 B - All the Vowels Please GNU C++14 constructive algorithms math number theory *1100 May/17/2019 21:00
72 A - Silent Classroom GNU C++14 combinatorics greedy *900 May/17/2019 20:46
71 B - Expansion coefficient of the array GNU C++14 implementation math *1300 May/12/2019 20:36
70 A - A pile of stones GNU C++14 implementation math *800 May/12/2019 20:13
69 A - Inscribed Figures GNU C++14 geometry *1400 May/01/2019 20:44
68 A - Party GNU C++14 dfs and similar graphs trees *900 Apr/10/2019 22:04
67 C - Rumor GNU C++14 dfs and similar graphs greedy *1300 Apr/10/2019 21:25
66 D - Pigeon d'Or GNU C++14 implementation Apr/01/2019 22:46
65 A - Thanos Sort GNU C++14 implementation Apr/01/2019 21:02
64 B - Nastya Is Playing Computer Games GNU C++14 constructive algorithms math *1000 Mar/11/2019 22:34
63 A - Nastya Is Reading a Book GNU C++14 implementation *800 Mar/11/2019 22:12
62 B - Mike and Children GNU C++14 brute force implementation *1200 Mar/03/2019 21:47
61 A - Technogoblet of Fire GNU C++14 implementation sortings *1100 Mar/03/2019 21:21
60 B - Tanya and Candies GNU C++14 implementation *1200 Feb/19/2019 20:58
59 A - Water Buying GNU C++14 math *800 Feb/19/2019 20:10
58 B - Emotes GNU C++14 greedy math sortings *1000 Feb/18/2019 21:31
57 A - Best Subsegment GNU C++14 implementation math *1100 Feb/18/2019 21:17
56 A - Superhero Transformation GNU C++14 implementation strings *1000 Feb/03/2019 21:12
55 C - Brutality GNU C++14 greedy sortings two pointers *1300 Jan/28/2019 21:41
54 B - Digital root GNU C++14 math number theory *1000 Jan/28/2019 20:17
53 A - Digits Sequence Dividing GNU C++14 greedy strings *900 Jan/28/2019 20:12
52 C - Nice Garland GNU C++14 brute force greedy math *1300 Jan/23/2019 21:13
51 B - Divisors of Two Integers GNU C++14 brute force greedy math number theory *1100 Jan/23/2019 20:49
50 A - Two distinct points GNU C++14 implementation *800 Jan/23/2019 20:17
49 B - Creating the Contest GNU C++14 dp greedy math *1200 Jan/23/2019 14:49
48 A - Many Equal Substrings GNU C++14 implementation strings *1300 Jan/23/2019 14:49
47 A - Many Equal Substrings GNU C++14 Jan/23/2019 14:45
46 B - Creating the Contest GNU C++14 dp greedy math *1200 Jan/23/2019 14:17
45 C - Grid game GNU C++14 constructive algorithms implementation *1400 Jan/22/2019 20:56
44 B - Game with string GNU C++14 data structures implementation math *1200 Jan/22/2019 20:38
43 A - Splitting into digits GNU C++14 constructive algorithms implementation math *800 Jan/22/2019 20:15
42 E - Polycarp's New Job GNU C++14 implementation *1500 Jan/11/2019 23:06
41 B - Accordion GNU C++14 greedy implementation *1300 Jan/11/2019 20:49
40 A - Minimum Integer GNU C++14 math *1000 Jan/11/2019 20:24
39 C - Postcard GNU C++14 constructive algorithms implementation *1200 Jan/05/2019 23:55
38 B - Squares and Segments GNU C++14 binary search constructive algorithms math *1100 Jan/05/2019 23:26
37 A - Snowball GNU C++14 implementation *800 Jan/05/2019 22:26
36 A - Coins GNU C++14 greedy implementation math *800 Nov/22/2018 21:26
35 B - Taxi drivers and Lyft GNU C++14 implementation sortings *1200 Nov/05/2018 01:03
34 A - The King's Race GNU C++14 implementation math *800 Nov/04/2018 23:50
33 C - Smallest Word GNU C++14 constructive algorithms greedy implementation *1500 Oct/29/2018 23:01
32 B - Lost Array GNU C++14 implementation *1200 Oct/28/2018 22:13
31 A - Elections GNU C++14 implementation math *800 Oct/28/2018 21:26
30 D - Berland Fair GNU C++14 binary search brute force data structures greedy *1700 Oct/26/2018 20:20
29 B - Vasya and Books GNU C++14 implementation math *1000 Oct/25/2018 20:44
28 A - Diverse Substring GNU C++14 implementation strings *1000 Oct/25/2018 20:18
27 B - Relatively Prime Pairs GNU C++14 greedy math number theory *1000 Sep/20/2018 20:45
26 A - Vasya And Password GNU C++14 greedy implementation strings *1200 Sep/20/2018 20:35
25 C - Gambling GNU C++14 greedy sortings *1300 Sep/07/2018 01:32
24 B - Non-Coprime Partition GNU C++14 constructive algorithms math *1100 Sep/06/2018 21:58
23 A - Equality GNU C++14 implementation strings *800 Sep/06/2018 21:43
22 B - Reach Median GNU C++14 greedy *1300 Sep/02/2018 23:42
21 C - Equalize GNU C++14 dp greedy strings *1300 Sep/02/2018 21:18
20 A - Packets GNU C++14 constructive algorithms greedy math *1300 Sep/02/2018 20:26
19 B - Unnatural Conditions GNU C++14 constructive algorithms math *1200 Aug/28/2018 02:51
18 A - Find Square GNU C++14 implementation *800 Aug/28/2018 02:50
17 B - Unnatural Conditions GNU C++14 constructive algorithms math *1200 Aug/27/2018 23:43
16 B - Weakened Common Divisor GNU C++14 brute force greedy number theory *1600 Aug/21/2018 17:13
15 C - Plasticine zebra GNU C++14 constructive algorithms implementation *1600 Aug/21/2018 16:15
14 A - Doggo Recoloring GNU C++14 implementation sortings *900 Aug/21/2018 15:21
13 A - Palindromic Twist GNU C++14 implementation strings *1000 Aug/18/2018 23:28
12 A - Palindromic Twist GNU C++14 implementation strings *1000 Aug/18/2018 20:20
11 C - Bracket Subsequence GNU C++14 greedy *1200 Aug/18/2018 00:34
10 C - Bracket Subsequence GNU C++14 greedy *1200 Aug/18/2018 00:29
9 B - Pair of Toys GNU C++14 math *1000 Aug/17/2018 21:29
8 A - Single Wildcard Pattern Matching GNU C++14 brute force implementation strings *1200 Aug/17/2018 20:32
7 C - Songs Compression GNU C++14 sortings *1100 Jul/31/2018 21:19
6 A - Points in Segments GNU C++14 implementation *800 Jul/31/2018 20:19
5 B - Sonya and Exhibition GNU C++14 constructive algorithms greedy implementation math *1300 Jul/05/2018 23:52
4 A - Sonya and Hotels GNU C++14 implementation *900 Jul/05/2018 23:36
3 C - Intense Heat GNU C++14 brute force implementation math *1300 Jul/03/2018 21:24
2 A - Polycarp's Pockets GNU C++14 implementation *800 Jul/03/2018 20:19
1 A - Balloons GNU C++14 constructive algorithms implementation *1000 Jul/03/2018 19:55

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages