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
216 A - Presents GNU C++14 implementation *800 Feb/03/2022 23:43
215 A - Way Too Long Words GNU C++14 strings *800 Feb/02/2022 23:54
214 A - Div. 7 GNU C++14 brute force *800 Feb/01/2022 23:52
213 B - Roof Construction GNU C++14 bitmasks constructive algorithms *1000 Jan/31/2022 23:06
212 A - ABC GNU C++14 implementation *800 Jan/30/2022 20:13
211 B - Drinks GNU C++14 implementation math *800 Jan/29/2022 23:52
210 A - Amusing Joke GNU C++14 implementation sortings strings *800 Jan/28/2022 23:34
209 C - Palindrome Transformation GNU C++14 brute force greedy implementation *1700 Jan/27/2022 00:16
208 A - Nearly Lucky Number GNU C++14 implementation *800 Jan/26/2022 23:48
207 D - Xenia and Bit Operations GNU C++14 data structures trees *1700 Jan/25/2022 13:43
206 D - Caesar's Legions GNU C++14 dp *1700 Jan/25/2022 11:40
205 A - LCM Challenge GNU C++14 number theory *1600 Jan/24/2022 23:53
204 C - Vanya and Exams GNU C++14 greedy sortings *1400 Jan/24/2022 23:19
203 A - Choosing Teams GNU C++14 greedy implementation sortings *800 Jan/23/2022 22:03
202 B - GCD Arrays GNU C++14 greedy math number theory *800 Jan/22/2022 20:35
201 A - Download More RAM GNU C++14 brute force greedy sortings *800 Jan/22/2022 20:11
200 C - Median GNU C++14 greedy math sortings *1500 Jan/21/2022 21:01
199 A - Counting Kangaroos is Fun GNU C++14 binary search greedy sortings two pointers *1600 Jan/20/2022 21:35
198 A - Cut Ribbon GNU C++14 brute force dp *1300 Jan/20/2022 20:08
197 A - Flipping Game GNU C++14 brute force dp implementation *1200 Jan/20/2022 19:19
196 A - Crazy Computer GNU C++14 implementation *800 Jan/20/2022 16:21
195 B - Fence GNU C++14 brute force dp *1100 Jan/20/2022 12:39
194 B - Minor Reduction GNU C++14 greedy strings *1100 Jan/19/2022 18:49
193 B - Ilya and Queries GNU C++14 dp implementation *1100 Jan/18/2022 15:41
192 B - Hungry Sequence GNU C++14 math *1200 Jan/18/2022 14:21
191 A - Domino GNU C++14 implementation math *1200 Jan/17/2022 23:45
190 A - Free Cash GNU C++14 implementation *1000 Jan/17/2022 22:53
189 A - Ice Skating GNU C++14 brute force dfs and similar dsu graphs *1200 Jan/17/2022 09:54
188 A - Lucky Sum of Digits GNU C++14 brute force implementation *1000 Jan/16/2022 21:07
187 B - Cosmic Tables GNU C++14 data structures implementation *1300 Jan/16/2022 20:57
186 A - Little Pony and Expected Maximum GNU C++14 probabilities *1600 Jan/16/2022 00:27
185 B - Little Girl and Game GNU C++14 games greedy *1300 Jan/15/2022 23:30
184 A - Not Shading GNU C++14 constructive algorithms implementation *800 Jan/15/2022 20:32
183 A - Points on Line GNU C++14 binary search combinatorics two pointers *1300 Jan/15/2022 12:25
182 A - Rank List GNU C++14 binary search implementation sortings *1100 Jan/15/2022 11:23
181 A - Cinema Line GNU C++14 greedy implementation *1100 Jan/15/2022 00:02
180 A - Boys and Girls GNU C++14 greedy *1100 Jan/14/2022 23:57
179 C - Building Permutation GNU C++14 greedy implementation sortings *1200 Jan/14/2022 23:46
178 B - Big Segment GNU C++14 implementation sortings *1100 Jan/14/2022 21:55
177 A - Two Bags of Potatoes GNU C++14 greedy implementation math *1200 Jan/14/2022 11:52
176 B - Playing Cubes GNU C++14 games greedy implementation *1300 Jan/13/2022 17:42
175 A - Watermelon GNU C++14 brute force math *800 Jan/12/2022 21:56
174 A - Plus One on the Subset GNU C++14 math *800 Jan/12/2022 21:54
173 C - Division by Two and Permutation GNU C++14 constructive algorithms flows graph matchings greedy math *1100 Jan/11/2022 12:34
172 B - Make AP GNU C++14 implementation math *900 Jan/11/2022 12:10
171 B - Painting Eggs GNU C++14 greedy math *1500 Jan/11/2022 11:37
170 C - XOR and OR GNU C++14 constructive algorithms implementation math *1500 Jan/11/2022 10:37
169 E - Tetrahedron GNU C++14 dp math matrices *1500 Jan/11/2022 09:46
168 C - Little Girl and Maximum Sum GNU C++14 data structures greedy implementation sortings *1500 Jan/11/2022 09:04
167 A - Candy Bags GNU C++14 implementation *1000 Jan/10/2022 23:00
166 A - Cookies GNU C++14 implementation *900 Jan/09/2022 22:20
165 A - Petya and Strings GNU C++14 implementation strings *800 Jan/08/2022 00:02
164 B - Books GNU C++14 binary search brute force implementation two pointers *1400 Jan/07/2022 23:44
163 A - I_love_%username% GNU C++14 brute force *800 Jan/07/2022 23:34
162 B - Prime Matrix GNU C++14 binary search brute force math number theory *1300 Jan/06/2022 23:41
161 A - Boredom GNU C++14 dp *1500 Jan/06/2022 21:37
160 C - Exams GNU C++14 greedy sortings *1400 Jan/06/2022 17:07
159 C - Fixing Typos GNU C++14 greedy implementation *1400 Jan/06/2022 16:23
158 B - Maximum Absurdity GNU C++14 data structures dp implementation *1500 Jan/06/2022 01:04
157 C - k-Tree GNU C++14 dp implementation trees *1600 Jan/06/2022 00:24
156 A - HQ9+ GNU C++14 implementation *900 Jan/05/2022 23:17
155 B - Ciel and Flowers GNU C++14 combinatorics math *1600 Jan/05/2022 00:20
154 A - Blackjack GNU C++14 implementation *800 Jan/04/2022 23:52
153 A - Ultra-Fast Mathematician GNU C++14 implementation *800 Jan/04/2022 23:50
152 B - Coach GNU C++14 brute force dfs and similar graphs *1500 Jan/04/2022 23:43
151 A - Stable Arrangement of Rooks GNU C++14 constructive algorithms *800 Jan/03/2022 20:19
150 B - Lucky Numbers (easy) GNU C++14 binary search bitmasks brute force *1300 Jan/03/2022 17:15
149 A - Dima and Continuous Line GNU C++14 brute force implementation *1400 Jan/03/2022 13:54
148 B - Fox Dividing Cheese GNU C++14 math number theory *1300 Jan/03/2022 09:22
147 B - Valera and Fruits GNU C++14 greedy implementation *1400 Jan/03/2022 00:23
146 B - Flag Day GNU C++14 constructive algorithms implementation *1400 Jan/02/2022 23:45
145 B - Jzzhu and Sequences GNU C++14 implementation math *1300 Jan/02/2022 21:44
144 C - Hamburgers GNU C++14 binary search brute force *1600 Jan/02/2022 20:43
143 B - Routine Problem GNU C++14 greedy math number theory *1400 Jan/02/2022 14:44
142 A - Sereja and Bottles GNU C++14 brute force *1400 Jan/02/2022 13:12
141 C - George and Job GNU C++14 dp implementation *1700 Jan/02/2022 12:12
140 B - Little Dima and Equation GNU C++14 brute force implementation math number theory *1500 Jan/01/2022 16:07
139 B - Pashmak and Flowers GNU C++14 combinatorics implementation sortings *1300 Jan/01/2022 12:22
138 A - Rainbow Dash, Fluttershy and Chess Coloring GNU C++14 greedy math *800 Mar/18/2021 10:09
137 A - Strange Partition GNU C++14 greedy math number theory *900 Mar/16/2021 10:33
136 B - New Colony GNU C++14 brute force greedy implementation *1100 Mar/14/2021 08:50
135 A - Space Navigation GNU C++14 greedy strings *800 Mar/14/2021 08:36
134 A - Cards GNU C++14 greedy implementation *800 Mar/11/2021 21:41
133 A - String Generation GNU C++14 constructive algorithms greedy *800 Mar/11/2021 20:58
132 A - Angry Students GNU C++14 greedy implementation *800 Mar/11/2021 20:50
131 C - Drazil and Factorial GNU C++14 greedy math sortings *1400 Mar/11/2021 20:42
130 A - Anti-knapsack GNU C++14 constructive algorithms greedy *800 Mar/11/2021 09:28
129 B - Honest Coach GNU C++14 greedy sortings *800 Mar/10/2021 20:54
128 B - Even Array GNU C++14 greedy math *800 Mar/10/2021 20:50
127 A - Team Olympiad GNU C++14 greedy implementation sortings *800 Mar/10/2021 20:36
126 A - Minimal Square GNU C++14 greedy math *800 Mar/10/2021 20:26
125 B - Two Arrays And Swaps GNU C++14 greedy sortings *800 Mar/10/2021 20:18
124 A - Common Prefixes GNU C++14 constructive algorithms greedy strings *1200 Mar/10/2021 10:58
123 A - Even But Not Even GNU C++14 greedy math strings *900 Mar/10/2021 10:14
122 B - Minimum Product GNU C++14 brute force greedy math *1100 Mar/09/2021 10:47
121 A - Yet Another Two Integers Problem GNU C++14 greedy math *800 Mar/09/2021 10:00
120 B - JOE is on TV! GNU C++14 combinatorics greedy math *1000 Mar/07/2021 19:43
119 A - Got Any Grapes? GNU C++14 brute force greedy implementation *800 Mar/07/2021 19:34
118 A - Three Friends GNU C++14 brute force greedy math sortings *900 Mar/07/2021 09:50
117 C - Boats Competition GNU C++14 brute force greedy two pointers *1200 Mar/06/2021 11:46
116 B - Gifts Fixing GNU C++14 greedy *800 Mar/06/2021 10:30
115 A - Remove Smallest GNU C++14 greedy sortings *800 Mar/06/2021 10:07
114 B - Candies Division GNU C++14 math *900 Mar/04/2021 21:30
113 B - Magical Calendar GNU C++14 math *1200 Mar/04/2021 21:15
112 C - Gourmet Cat GNU C++14 implementation math *1400 Mar/01/2021 23:16
111 B - Make Them Equal GNU C++14 math *1200 Mar/01/2021 22:02
110 A - Restoring Three Numbers GNU C++14 math *800 Mar/01/2021 21:32
109 B - Present from Lena GNU C++14 constructive algorithms implementation *1000 Feb/27/2021 11:49
108 B - Card Constructions GNU C++14 binary search brute force dp math *1100 Feb/26/2021 22:02
107 B - Maximums GNU C++14 implementation math *900 Feb/26/2021 21:28
106 B - Middle Class GNU C++14 greedy sortings *1100 Feb/26/2021 20:02
105 B - K-th Beautiful String GNU C++14 binary search brute force combinatorics implementation math *1300 Feb/25/2021 21:31
104 B - Fair Division GNU C++14 dp greedy math *800 Feb/22/2021 18:38
103 A - Adjacent Replacements GNU C++14 implementation *800 Feb/09/2021 22:19
102 A - Prime Subtraction GNU C++14 math number theory *900 Feb/09/2021 22:12
101 A - Omkar and Password GNU C++14 greedy math *800 Feb/09/2021 21:35
100 A - Cancel the Trains GNU C++14 implementation *800 Feb/09/2021 21:22
99 A - Yet Another String Game GNU C++14 games greedy strings *800 Feb/07/2021 20:19
98 A - Game GNU C++14 constructive algorithms math *800 Feb/05/2021 11:31
97 A - Lunch Rush GNU C++14 implementation *900 Feb/05/2021 11:11
96 A - Fence GNU C++14 geometry math *800 Feb/05/2021 10:53
95 A - Mahmoud and Longest Uncommon Subsequence GNU C++14 constructive algorithms strings *1000 Feb/05/2021 10:42
94 A - Tanya and Stairways GNU C++14 implementation *800 Feb/05/2021 10:26
93 A - Chewbaсca and Number GNU C++14 greedy implementation *1200 Feb/04/2021 10:29
92 A - Alex and a Rhombus GNU C++14 dp implementation math *800 Feb/04/2021 10:01
91 A - Distinct Digits GNU C++14 brute force implementation *800 Feb/04/2021 09:52
90 A - Display The Number GNU C++14 greedy *900 Feb/03/2021 17:51
89 A - Magic Numbers GNU C++14 brute force greedy *900 Feb/03/2021 17:44
88 A - Non-zero GNU C++14 implementation math *800 Feb/03/2021 17:24
87 A - Choose Two Numbers GNU C++14 math sortings *800 Feb/03/2021 17:19
86 A - Boboniu Likes to Color Balls GNU C++14 brute force math *1000 Feb/03/2021 17:15
85 A - Sequence with Digits GNU C++14 brute force implementation math *1200 Feb/02/2021 11:46
84 A - Donut Shops GNU C++14 greedy implementation math *1000 Feb/02/2021 11:30
83 A - Level Statistics GNU C++14 implementation math *1200 Feb/02/2021 10:55
82 A - Duff and Meat GNU C++14 greedy *900 Feb/02/2021 10:36
81 A - Nearest Interesting Number GNU C++14 implementation *800 Feb/02/2021 10:23
80 A - Lineland Mail GNU C++14 greedy implementation *900 Feb/02/2021 10:17
79 A - Bovine Dilemma GNU C++14 brute force geometry math *800 Feb/01/2021 10:27
78 A - Repeating Cipher GNU C++14 implementation *800 Feb/01/2021 10:23
77 A - Payment Without Change GNU C++14 math *1000 Feb/01/2021 10:09
76 A - Alarm Clock GNU C++14 math *900 Feb/01/2021 09:51
75 A - Rewards GNU C++14 implementation *800 Feb/01/2021 09:41
74 A - Initial Bet GNU C++14 implementation *1100 Jan/31/2021 22:39
73 A - Strange Functions GNU C++14 math number theory *800 Jan/31/2021 22:33
72 A - Pashmak and Garden GNU C++14 implementation *1200 Jan/31/2021 22:22
71 A - Two Rabbits GNU C++14 math *800 Jan/31/2021 22:04
70 A - Erasing Zeroes GNU C++14 implementation strings *800 Jan/31/2021 19:11
69 A - Shovels and Swords GNU C++14 binary search greedy math *1100 Jan/31/2021 18:37
68 A - Free Ice Cream GNU C++14 constructive algorithms implementation *800 Jan/31/2021 18:15
67 A - QAQ GNU C++14 brute force dp *800 Jan/31/2021 18:04
66 A - The number of positions GNU C++14 math *1000 Jan/31/2021 10:59
65 A - Yet Another Tetris Problem GNU C++14 implementation number theory *900 Jan/31/2021 10:49
64 A - Frog Jumping GNU C++14 math *800 Jan/31/2021 10:27
63 A - Bad Ugly Numbers GNU C++14 constructive algorithms number theory *1000 Jan/31/2021 10:22
62 A - Distance and Axis GNU C++14 constructive algorithms math *900 Jan/30/2021 18:57
61 A - Orac and Factors GNU C++14 math *900 Jan/30/2021 18:48
60 A - Cards GNU C++14 implementation sortings strings *800 Jan/30/2021 18:34
59 A - I'm bored with life GNU C++14 implementation math number theory *800 Jan/30/2021 18:23
58 A - Puzzle Pieces GNU C++14 math *800 Jan/30/2021 18:09
57 A - Three Piles of Candies GNU C++14 brute force constructive algorithms math *800 Jan/29/2021 22:37
56 A - Epic Game GNU C++14 implementation *800 Jan/29/2021 22:18
55 A - Bad Triangle GNU C++14 geometry math *800 Jan/29/2021 22:09
54 A - Nastya and Rice GNU C++14 math *900 Jan/29/2021 21:45
53 A - Juggling Letters GNU C++14 greedy strings *800 Jan/29/2021 16:17
52 A - String Similarity GNU C++14 constructive algorithms strings *800 Jan/29/2021 15:36
51 A - Two Substrings GNU C++14 brute force dp greedy implementation strings *1500 Jan/29/2021 15:08
50 A - Favorite Sequence GNU C++14 implementation two pointers *800 Jan/29/2021 14:36
49 A - Common Subsequence GNU C++14 brute force *800 Jan/29/2021 14:29
48 A - C+= GNU C++14 brute force greedy implementation math *800 Jan/29/2021 14:15
47 B - Nezzar and Lucky Number GNU C++14 brute force dp greedy math *1100 Jan/28/2021 21:22
46 A - Nezzar and Colorful Balls GNU C++14 brute force greedy *800 Jan/28/2021 20:58
45 A - Filling Diamonds GNU C++14 brute force dp implementation math *900 Jan/28/2021 10:47
44 A - Die Roll GNU C++14 math probabilities *800 Jan/28/2021 10:46
43 A - Laptops GNU C++14 sortings *1100 Jan/28/2021 10:10
42 A - Floor Number GNU C++14 implementation math *800 Jan/28/2021 09:58
41 A - Dreamoon and Stairs GNU C++14 implementation math *1000 Jan/27/2021 22:11
40 A - Cards for Friends GNU C++14 greedy math *800 Jan/27/2021 21:49
39 A - Combination Lock GNU C++14 implementation *800 Jan/27/2021 20:02
38 A - Vus the Cossack and a Contest GNU C++14 implementation *800 Jan/27/2021 19:54
37 A - LCM Problem GNU C++14 constructive algorithms greedy math number theory *800 Jan/27/2021 19:51
36 A - EhAb AnD gCd GNU C++14 constructive algorithms greedy number theory *800 Jan/27/2021 19:42
35 A - Again Twenty Five! GNU C++14 number theory *800 Jan/27/2021 19:37
34 A - Case of the Zeros and Ones GNU C++14 greedy *900 Jan/27/2021 19:35
33 A - Mahmoud and Ehab and the even-odd game GNU C++14 games math *800 Jan/27/2021 17:31
32 A - Soft Drinking GNU C++14 implementation math *800 Jan/27/2021 17:25
31 A - Omkar and Completion GNU C++14 constructive algorithms implementation *800 Jan/27/2021 17:14
30 A - Road To Zero GNU C++14 greedy math *1000 Jan/27/2021 16:09
29 A - Sereja and Dima GNU C++14 greedy implementation two pointers *800 Jan/27/2021 12:03
28 A - Ichihime and Triangle GNU C++14 constructive algorithms math *800 Jan/27/2021 11:52
27 A - Special Permutation GNU C++14 constructive algorithms probabilities *800 Jan/27/2021 11:45
26 A - Fafa and his Company GNU C++14 brute force implementation *800 Jan/27/2021 11:35
25 A - Vanya and Cubes GNU C++14 implementation *800 Jan/27/2021 11:22
24 A - Olesya and Rodion GNU C++14 math *1000 Jan/27/2021 11:12
23 A - Black Square GNU C++14 implementation *800 Jan/27/2021 11:01
22 A - Gennady and a Card Game GNU C++14 brute force implementation *800 Jan/27/2021 10:49
21 A - FashionabLee GNU C++14 geometry math *800 Jan/27/2021 10:43
20 A - Three Pairwise Maximums GNU C++14 math *800 Jan/27/2021 10:41
19 A - Add Odd or Subtract Even GNU C++14 greedy implementation math *800 Jan/26/2021 23:51
18 A - Boring Apartments GNU C++14 implementation math *800 Jan/26/2021 23:30
17 A - Park Lighting GNU C++14 greedy math *800 Jan/26/2021 23:23
16 A - Maximum in Table GNU C++14 brute force implementation *800 Jan/26/2021 23:16
15 A - Fancy Fence GNU C++14 geometry implementation math *1100 Jan/26/2021 23:02
14 B - Last minute enhancements GNU C++14 dp greedy *800 Jan/26/2021 22:45
13 B - Restore the Permutation by Merger GNU C++14 greedy *800 Jan/26/2021 21:32
12 A - Maximum GCD GNU C++14 greedy implementation math number theory *800 Jan/26/2021 21:09
11 A - Bachgold Problem GNU C++14 greedy implementation math number theory *800 Jan/26/2021 21:03
10 B - T-primes GNU C++14 binary search implementation math number theory *1300 Jan/26/2021 12:17
9 A - Fox And Snake GNU C++14 implementation *800 Jan/26/2021 11:32
8 B - New Year's Number GNU C++14 brute force dp math *900 Jan/25/2021 21:10
7 B - Xenia and Ringroad GNU C++14 implementation *1000 Jan/25/2021 19:59
6 A - Game With Sticks GNU C++14 implementation *900 Jan/25/2021 15:50
5 A - Arrival of the General GNU C++14 implementation *800 Jan/25/2021 15:33
4 A - String Task GNU C++14 implementation strings *1000 Jan/25/2021 12:45
3 A - Theatre Square GNU C++14 math *1000 Jan/25/2021 12:28
2 B - String LCM GNU C++14 brute force math number theory strings *1000 Jan/14/2021 20:55
1 A - Replacing Elements GNU C++14 greedy implementation math sortings *800 Jan/14/2021 20:24