Submissions

Auto-generated with ❤ using Harwest

Introduction

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

  • Codeforces   Codeforces

Contents

# Title Solution Tags Submitted
87 A – Knapsack GNU C++20 (64) Jan/27/2022 20:08
86 C – And Matching GNU C++20 (64) bitmasks constructive algorithms Jan/27/2022 17:21
85 B – Fun with Even Subarrays GNU C++20 (64) dp greedy Jan/27/2022 16:06
84 A – Min Max Swap GNU C++20 (64) greedy Jan/27/2022 15:49
83 A – Almost Prime GNU C++20 (64) number theory *900 Jan/27/2022 01:52
82 D – Remove One Element GNU C++20 (64) brute force dp *1500 Jan/26/2022 00:56
81 C – Constanze’s Machine GNU C++20 (64) dp *1400 Jan/26/2022 00:26
80 B – Cards GNU C++20 (64) constructive algorithms dp math *1300 Jan/25/2022 15:57
79 D – Co-growing Sequence GNU C++20 (64) bitmasks constructive algorithms greedy *1300 Jan/25/2022 14:40
78 B – Johnny and His Hobbies GNU C++20 (64) bitmasks brute force *1200 Jan/25/2022 14:23
77 C – Adding Powers GNU C++20 (64) bitmasks greedy implementation math number theory ternary search *1400 Jan/25/2022 14:13
76 B – Elimination GNU C++20 (64) greedy math *900 Jan/25/2022 13:54
75 A – Theatre Square GNU C++20 (64) math *1000 Jan/25/2022 13:38
74 A – Watching a movie GNU C++20 (64) greedy implementation *1000 Jan/25/2022 01:45
73 B – Fedor and New Game GNU C++20 (64) bitmasks brute force constructive algorithms implementation *1100 Jan/25/2022 01:21
72 C – Double-ended Strings GNU C++20 (64) brute force implementation strings *1000 Jan/25/2022 01:02
71 B – Berland Crossword GNU C++20 (64) bitmasks brute force greedy implementation *1400 Jan/24/2022 17:10
70 A – Sign Flipping GNU C++20 (64) constructive algorithms math *1100 Jan/24/2022 16:27
69 D – Pair of Topics GNU C++20 (64) binary search data structures sortings two pointers *1400 Jan/24/2022 16:09
68 B – Team Composition: Programmers and Mathematicians GNU C++20 (64) binary search constructive algorithms math *800 Jan/23/2022 16:02
67 C1 – k-LCM (easy version) GNU C++20 (64) constructive algorithms math *1200 Jan/23/2022 15:27
66 D – Peculiar Movie Preferences GNU C++20 (64) greedy strings *1700 Jan/22/2022 22:56
65 B – GCD Arrays GNU C++20 (64) greedy math number theory Jan/22/2022 20:43
64 A – Download More RAM GNU C++20 (64) brute force greedy sortings Jan/22/2022 20:31
63 B – Polycarp Training GNU C++20 (64) data structures greedy sortings *1000 Jan/22/2022 14:26
62 B – Coloring Rectangles GNU C++20 (64) greedy math *1000 Jan/22/2022 03:54
61 A – Make Even GNU C++20 (64) constructive algorithms math *800 Jan/21/2022 16:16
60 B – Special Numbers GNU C++20 (64) bitmasks math *1100 Jan/21/2022 00:00
59 A – Mathematical Addition GNU C++20 (64) math *800 Jan/20/2022 23:33
58 A – Arena of Greed GNU C++20 (64) games greedy *1400 Jan/20/2022 23:17
57 C – Number Game GNU C++20 (64) games math number theory *1400 Jan/20/2022 22:27
56 B – Plus and Multiply GNU C++20 (64) constructive algorithms math number theory *1500 Jan/20/2022 03:07
55 B – Nastia and a Good Array GNU C++20 (64) constructive algorithms math number theory *1300 Jan/20/2022 02:12
54 A – Integer Diversity Python 3 implementation *800 Jan/19/2022 21:38
53 C – K-th Not Divisible by n GNU C++20 (64) binary search math *1200 Jan/19/2022 12:02
52 C – Minimum Ties GNU C++20 (64) brute force constructive algorithms dfs and similar graphs greedy implementation math *1500 Jan/19/2022 10:39
51 C1 – Potions (Easy Version) GNU C++20 (64) brute force data structures dp greedy *1500 Jan/19/2022 09:53
50 C – Berpizza GNU C++20 (64) data structures implementation *1400 Jan/19/2022 00:44
49 G – Years GNU C++20 (64) data structures sortings *1300 Jan/18/2022 14:08
48 C – Alice, Bob and Chocolate GNU C++20 (64) greedy two pointers *1200 Jan/18/2022 00:18
47 B – Kuriyama Mirai’s Stones GNU C++20 (64) dp implementation sortings *1200 Jan/17/2022 22:44
46 B – Just Eat It! GNU C++20 (64) dp greedy implementation *1300 Jan/17/2022 22:20
45 C1 – Pokémon Army (easy version) GNU C++20 (64) constructive algorithms dp greedy *1300 Jan/17/2022 20:55
44 B – Move and Turn GNU C++20 (64) dp math *1300 Jan/17/2022 14:36
43 C – Similar Pairs GNU C++20 (64) constructive algorithms graph matchings greedy sortings *1100 Jan/17/2022 13:46
42 D – Martial Arts Tournament GNU C++20 (64) binary search brute force greedy math *2100 Jan/17/2022 01:39
41 B – Minor Reduction GNU C++20 (64) greedy strings *1100 Jan/17/2022 01:23
40 A – Equidistant Letters GNU C++20 (64) constructive algorithms sortings *800 Jan/16/2022 15:40
39 D – Exact Change GNU C++20 (64) brute force constructive algorithms greedy *2000 Jan/16/2022 02:40
38 B – Not Sitting GNU C++20 (64) games greedy sortings *1300 Jan/15/2022 18:02
37 A – Not Shading GNU C++20 (64) constructive algorithms implementation *800 Jan/15/2022 15:48
36 C – Pipes GNU C++20 (64) dp implementation *1500 Jan/15/2022 06:17
35 B1 – Social Network (easy version) GNU C++20 (64) implementation *1000 Jan/15/2022 05:51
34 B2 – Social Network (hard version) GNU C++20 (64) data structures implementation *1300 Jan/15/2022 05:51
33 A – Odd Set GNU C++20 (64) math *800 Jan/15/2022 05:14
32 B – Chess Tournament GNU C++20 (64) constructive algorithms *1000 Jan/15/2022 04:48
31 C – Two Arrays GNU C++20 (64) greedy math sortings *900 Jan/15/2022 04:26
30 B – Relatively Prime Pairs GNU C++20 (64) greedy math number theory *1000 Jan/14/2022 06:15
29 A – Divisibility Problem GNU C++20 (64) math *800 Jan/14/2022 05:55
28 B – Simple Molecules GNU C++20 (64) brute force graphs math *1200 Jan/14/2022 05:45
27 A – Magnets GNU C++20 (64) implementation *800 Jan/14/2022 05:17
26 A – Luntik and Concerts GNU C++20 (64) math *800 Jan/14/2022 05:13
25 A – Charmed by the Game GNU C++20 (64) brute force math *1300 Jan/13/2022 19:12
24 B – Elementary Particles GNU C++20 (64) brute force greedy sortings *1100 Jan/12/2022 22:43
23 A – Ancient Civilization GNU C++20 (64) bitmasks greedy math *800 Jan/12/2022 22:18
22 B – Groups Python 3 brute force implementation *1000 Jan/12/2022 09:34
21 B – Make AP GNU C++20 (64) implementation math *900 Jan/11/2022 13:54
20 A – Plus One on the Subset GNU C++20 (64) math *800 Jan/11/2022 10:02
19 C – ABBB GNU C++20 (64) brute force data structures greedy strings *1100 Jan/11/2022 10:01
18 C – Paprika and Permutation GNU C++20 (64) binary search greedy math sortings *1300 Jan/11/2022 09:16
17 B – Maximum Cost Deletion GNU C++20 (64) greedy math *1000 Jan/09/2022 05:29
16 B – Fair Numbers GNU C++20 (64) brute force number theory *1000 Jan/09/2022 04:50
15 A – Bad Ugly Numbers GNU C++20 (64) constructive algorithms number theory *1000 Jan/09/2022 04:31
14 A – Road To Zero GNU C++20 (64) greedy math *1000 Jan/08/2022 22:58
13 A – Gregor and Cryptography GNU C++20 (64) math number theory *800 Jan/07/2022 22:27
12 B – Toy Blocks GNU C++20 (64) binary search greedy math sortings *1400 Jan/07/2022 22:07
11 C – A-B Palindrome GNU C++20 (64) constructive algorithms implementation strings *1200 Jan/07/2022 02:35
10 A – Polycarp and Sums of Subsequences GNU C++20 (64) math sortings *800 Jan/06/2022 17:47
9 B2 – Palindrome Game (hard version) GNU C++20 (64) constructive algorithms games *1900 Jan/06/2022 17:21
8 B1 – Palindrome Game (easy version) GNU C++20 (64) constructive algorithms games *1200 Jan/06/2022 17:08
7 A – And Then There Were K GNU C++20 (64) bitmasks *800 Jan/06/2022 03:19
6 C – Challenging Cliffs GNU C++20 (64) constructive algorithms greedy implementation math *1200 Jan/06/2022 02:46
5 C – Set or Decrease GNU C++20 (64) binary search brute force greedy sortings *1600 Jan/06/2022 02:11
4 B – Odd Grasshopper GNU C++20 (64) math *900 Jan/05/2022 22:14
3 A – Linear Keyboard GNU C++20 (64) implementation strings *800 Jan/05/2022 15:07
2 D – Blue-Red Permutation GNU C++20 (64) greedy math sortings *1300 Jan/05/2022 15:03
1 A – AB Balance GNU C++20 (64) strings *900 Jan/05/2022 14:33

GitHub

View Github