Skip to content

florafloriate/Problem_Solving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

232 Commits
 
 
 
 
 
 

Repository files navigation

Codeforces-Solutions

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

My Codeforces handle is farhana_rahman

Contents

# Title Solution Tags Submitted
219 C - Dolce Vita GNU C++17 binary search brute force greedy math Apr/23/2022 06:40
218 B - Consecutive Points Segment GNU C++17 brute force math Apr/22/2022 20:48
217 A - String Building GNU C++17 implementation Apr/22/2022 20:41
216 F - Eating Candies GNU C++17 binary search data structures greedy two pointers *1100 Apr/22/2022 05:04
215 H - Maximal AND GNU C++17 bitmasks greedy math *1300 Apr/22/2022 01:47
214 G - Fall Down GNU C++17 dfs and similar implementation *1200 Apr/21/2022 22:00
213 D - Colorful Stamp GNU C++17 implementation *1100 Apr/21/2022 21:09
212 C - Odd/Even Increments GNU C++17 greedy greedy implementation math *800 Apr/21/2022 20:47
211 B - Triple GNU C++17 implementation sortings *800 Apr/21/2022 20:41
210 A - Division? GNU C++17 implementation *800 Apr/21/2022 20:37
209 C - Make it Increasing GNU C++17 brute force greedy math *1300 Apr/20/2022 00:29
208 B - Social Distance GNU C++17 greedy math sortings *900 Apr/19/2022 21:20
207 A - Direction Change GNU C++17 implementation math *800 Apr/19/2022 20:51
206 B - Divan and a New Project GNU C++17 constructive algorithms sortings *1000 Apr/19/2022 02:16
205 A - Deletions of Two Adjacent Letters GNU C++17 implementation strings *800 Apr/18/2022 23:40
204 B - Bit Flipping GNU C++17 bitmasks constructive algorithms greedy strings *1300 Apr/17/2022 21:50
203 A - Red Versus Blue GNU C++17 constructive algorithms greedy implementation math *1000 Apr/17/2022 20:56
202 B - I Hate 1111 GNU C++17 dp math number theory *1400 Apr/17/2022 00:34
201 C - Drazil and Factorial GNU C++17 greedy math sortings *1400 Apr/16/2022 20:48
200 C - Exams GNU C++17 greedy sortings *1400 Apr/16/2022 18:02
199 A - Vacations GNU C++17 dp *1400 Apr/15/2022 23:52
198 D - Pair of Topics GNU C++17 binary search data structures sortings two pointers *1400 Apr/15/2022 15:02
197 B - Amr and Pins GNU C++17 geometry math *1400 Apr/15/2022 01:04
196 B - Two Buttons GNU C++17 dfs and similar graphs greedy implementation math shortest paths *1400 Apr/15/2022 00:33
195 C - Given Length and Sum of Digits... GNU C++17 dp greedy implementation *1400 Apr/14/2022 21:15
194 A - Playoff GNU C++17 implementation *800 Apr/13/2022 23:22
193 B - Trouble Sort GNU C++17 constructive algorithms implementation *1300 Apr/12/2022 20:57
192 B - Madoka and the Elegant Gift GNU C++17 brute force constructive algorithms graphs implementation *1200 Apr/11/2022 19:34
191 A - Madoka and Math Dad GNU C++17 implementation math *800 Apr/11/2022 15:24
190 C - Alice and the Cake GNU C++17 data structures greedy implementation sortings *1400 Apr/10/2022 22:41
189 B - Prefix Removals GNU C++17 strings *800 Apr/10/2022 12:45
188 A - Maximum Cake Tastiness GNU C++17 brute force greedy implementation sortings *800 Apr/10/2022 12:28
187 A - Array Balancing GNU C++17 greedy math Apr/09/2022 20:50
186 B - Array Cloning Technique GNU C++17 constructive algorithms greedy sortings Apr/08/2022 21:09
185 A - GCD vs LCM GNU C++17 constructive algorithms math Apr/08/2022 20:41
184 C - Bracket Sequence Deletion GNU C++17 greedy implementation *1200 Apr/08/2022 13:22
183 B - XY Sequence GNU C++17 greedy *800 Apr/08/2022 11:49
182 A - Integer Moves GNU C++17 brute force math *800 Apr/08/2022 11:42
181 C - Make Equal With Mod GNU C++17 constructive algorithms math number theory sortings *1200 Apr/07/2022 13:50
180 B - Subtract Operation GNU C++17 data structures greedy math two pointers *1100 Apr/07/2022 12:49
179 A - Good Pairs GNU C++17 math sortings *800 Apr/07/2022 10:51
178 D1 - 388535 (Easy Version) GNU C++17 bitmasks math *1600 Apr/07/2022 05:23
177 C - Shinju and the Lost Permutation GNU C++17 constructive algorithms math *1700 Apr/06/2022 21:33
176 B - Marin and Anti-coprime Permutation GNU C++17 combinatorics math number theory *800 Apr/05/2022 21:40
175 E - Matrix and Shifts GNU C++17 brute force constructive algorithms greedy implementation *1600 Apr/05/2022 20:17
174 A - Marin and Photoshoot GNU C++17 constructive algorithms implementation math *800 Apr/04/2022 21:35
173 D - Maximum Product Strikes Back GNU C++17 brute force implementation math two pointers *1600 Apr/04/2022 20:15
172 C - Get an Even String GNU C++17 dp greedy strings *1300 Apr/03/2022 13:40
171 B - Vlad and Candies GNU C++17 math *800 Apr/03/2022 11:15
170 A - Vasya and Coins GNU C++17 greedy math *800 Apr/03/2022 11:04
169 B - Fortune Telling GNU C++17 bitmasks math *1400 Feb/23/2022 22:08
168 C - Great Sequence GNU C++17 Feb/23/2022 17:43
167 B - Power Walking GNU C++17 greedy Feb/23/2022 16:56
166 A - Hard Way GNU C++17 geometry Feb/23/2022 16:42
165 C - Increase Subarray Sums GNU C++17 dp greedy implementation Feb/22/2022 21:48
164 B - Anti-Fibonacci Permutation GNU C++17 brute force constructive algorithms implementation Feb/22/2022 21:08
163 A - Doors and Keys GNU C++17 implementation Feb/22/2022 20:41
162 C - Differential Sorting GNU C++17 constructive algorithms greedy *1200 Feb/20/2022 21:49
161 B - Avoid Local Maximums GNU C++17 greedy *800 Feb/20/2022 21:24
160 A - Min Or Sum GNU C++17 bitmasks greedy *800 Feb/20/2022 20:47
159 A - Sorting Parts GNU C++17 brute force sortings *800 Feb/16/2022 23:42
158 C - Inversion Graph GNU C++17 data structures dsu graphs math *1300 Feb/15/2022 23:56
157 B - Odd Swap Sort GNU C++17 data structures math sortings *1100 Feb/14/2022 21:08
156 A - Reverse GNU C++17 constructive algorithms greedy math *800 Feb/14/2022 20:46
155 A - Reverse and Concatenate GNU C++17 greedy strings *800 Feb/13/2022 03:11
154 A - Min Max Swap GNU C++17 greedy *800 Feb/02/2022 14:36
153 C - Strange Test GNU C++17 binary search bitmasks brute force dp math *1600 Feb/02/2022 11:36
152 B - Roof Construction GNU C++17 bitmasks constructive algorithms *1000 Feb/01/2022 17:06
151 A - ABC GNU C++17 implementation *800 Feb/01/2022 12:18
150 C - Kill the Monster GNU C++17 brute force math *1100 Jan/31/2022 21:36
149 B - Minority GNU C++17 greedy *800 Jan/31/2022 20:57
148 A - Div. 7 GNU C++17 brute force *800 Jan/31/2022 20:49
147 C - Representative Edges GNU C++17 brute force geometry implementation math *1500 Jan/01/2022 12:08
146 B - Mirror in the String GNU C++17 greedy strings *1100 Dec/29/2021 22:59
145 A - Integer Diversity GNU C++17 implementation *800 Dec/29/2021 21:47
144 B - Game on Ranges GNU C++17 brute force dfs and similar implementation sortings *1100 Dec/28/2021 20:51
143 A - Robot Cleaner GNU C++17 brute force implementation math *800 Dec/28/2021 20:15
142 A - Closing The Gap GNU C++17 greedy math *800 Dec/24/2021 20:41
141 B - Squares and Cubes GNU C++17 implementation math *800 Dec/20/2021 20:51
140 A - Square String? GNU C++17 implementation strings *800 Dec/20/2021 20:38
139 B - Triangles on a Rectangle GNU C++17 geometry greedy math *1000 Dec/18/2021 22:24
138 A - Equal or Not Equal GNU C++17 constructive algorithms dsu implementation *800 Dec/18/2021 22:07
137 C - Paprika and Permutation GNU C++17 binary search greedy math sortings *1300 Dec/16/2021 21:20
136 B - GCD Problem GNU C++17 brute force constructive algorithms math number theory *900 Dec/16/2021 20:09
135 A - Forbidden Subsequence GNU C++17 constructive algorithms greedy sortings strings *800 Dec/16/2021 19:49
134 D - Array and Operations GNU C++17 dp greedy math *1300 Dec/14/2021 22:27
133 C - Paint the Array GNU C++17 math *1100 Dec/14/2021 22:05
132 B - Missing Bigram GNU C++17 implementation *800 Dec/14/2021 21:03
131 A - Polycarp and Sums of Subsequences GNU C++17 math sortings *800 Dec/14/2021 20:38
130 B - Absent Remainder GNU C++17 greedy implementation sortings *1000 Dec/02/2021 01:28
129 A - Long Comparison GNU C++17 implementation math *900 Dec/02/2021 01:21
128 B - Kalindrome Array GNU C++17 greedy two pointers *1100 Nov/23/2021 22:21
127 A - Anti Light's Cell Guessing GNU C++17 math *900 Nov/23/2021 21:06
126 B - Coloring Rectangles GNU C++17 greedy *1000 Nov/14/2021 13:48
125 C - Two Arrays GNU C++17 greedy math sortings *900 Nov/14/2021 12:52
124 C - Di-visible Confusion GNU C++17 brute force greedy math number theory *1300 Nov/01/2021 13:14
123 B - XOR Specia-LIS-t GNU C++17 *1100 Nov/01/2021 12:10
122 A - Era GNU C++17 greedy *800 Nov/01/2021 11:25
121 C - Stable Groups GNU C++17 greedy sortings *1200 Oct/28/2021 13:17
120 B - Numbers Box GNU C++17 greedy math *1000 Oct/27/2021 13:15
119 B - Balls of Steel GNU C++17 brute force geometry greedy *1000 Oct/27/2021 12:25
118 B - Take Your Places! GNU C++17 implementation *1300 Aug/31/2021 10:40
117 A - A Variety of Operations GNU C++17 math *800 Aug/29/2021 20:41
116 A - Add and Divide GNU C++17 brute force greedy math number theory *1000 Aug/29/2021 12:43
115 A - K-divisible Sum GNU C++17 binary search constructive algorithms greedy math *1000 Aug/29/2021 11:48
114 C - Double-ended Strings GNU C++17 brute force implementation strings *1000 Aug/16/2021 16:39
113 C - Mocha and Hiking GNU C++17 constructive algorithms graphs *1200 Aug/15/2021 22:09
112 B - Mocha and Red and Blue GNU C++17 dp greedy *900 Aug/15/2021 20:59
111 A - Mocha and Math GNU C++17 bitmasks constructive algorithms math *900 Aug/15/2021 20:44
110 C - Registration System GNU C++17 data structures hashing implementation *1300 Aug/11/2021 21:06
109 A - Tom Riddle's Diary GNU C++17 brute force implementation strings *800 Aug/11/2021 20:58
108 C - Boxes Packing GNU C++17 greedy *1200 Aug/11/2021 20:33
107 B - Gregor and the Pawn Game GNU C++17 dfs and similar dp flows graph matchings graphs greedy implementation *800 Aug/02/2021 23:27
106 A - Gregor and Cryptography GNU C++17 math number theory *800 Aug/01/2021 20:42
105 A - Contest Start GNU C++17 combinatorics geometry greedy math *1000 Jul/31/2021 13:33
104 C - Coin Rows GNU C++17 brute force constructive algorithms dp implementation *1300 Jul/30/2021 22:20
103 B - Two Tables GNU C++17 brute force *1300 Jul/30/2021 21:42
102 A - PizzaForces GNU C++17 brute force math *900 Jul/30/2021 21:02
101 B - Food Buying GNU C++17 math *900 Jul/30/2021 03:14
100 A - Contest for Robots GNU C++17 greedy *900 Jul/30/2021 02:30
99 A - Cherry GNU C++17 greedy *800 Jul/29/2021 20:53
98 B - Maximums GNU C++17 implementation math *900 Jul/29/2021 17:52
97 A - Orac and Factors GNU C++17 math *900 Jul/29/2021 16:16
96 B - Square? GNU C++17 brute force implementation math *900 Jul/29/2021 14:52
95 A - Three Indices GNU C++17 brute force data structures *900 Jul/29/2021 14:46
94 A - Distance and Axis GNU C++17 constructive algorithms math *900 Jul/28/2021 22:27
93 B - Symmetric Matrix GNU C++17 implementation *900 Jul/28/2021 21:59
92 A - Avoiding Zero GNU C++17 math sortings *900 Jul/28/2021 20:27
91 C - Dominant Piranha GNU C++17 constructive algorithms greedy *900 Jul/28/2021 14:50
90 B - Prime Square GNU C++17 constructive algorithms math *900 Jul/28/2021 13:24
89 A - Digits Sum GNU C++17 math number theory *800 Jul/22/2021 20:41
88 A - Good ol' Numbers Coloring GNU C++17 math number theory *1000 Jul/21/2021 23:56
87 A - New Year Garland GNU C++17 math *900 Jul/20/2021 23:58
86 B - Interesting Subarray GNU C++17 constructive algorithms greedy math *1200 Jul/19/2021 23:54
85 A - Card Game GNU C++17 games greedy math *800 Jul/19/2021 23:32
84 A - Ehab and another construction problem GNU C++17 brute force constructive algorithms *800 Jul/18/2021 21:19
83 C - Pursuit GNU C++17 binary search brute force greedy sortings *1200 Jul/17/2021 21:53
82 B - Putting Plates GNU C++17 constructive algorithms implementation *800 Jul/17/2021 21:22
81 B - Almost Rectangle GNU C++17 implementation *800 Apr/11/2021 18:01
80 A - Spy Detected! GNU C++17 brute force implementation *800 Apr/11/2021 17:40
79 B - Vanya and Lanterns GNU C++17 binary search implementation math sortings *1200 Apr/06/2021 15:10
78 B - Random Teams GNU C++17 combinatorics constructive algorithms greedy math *1300 Apr/06/2021 07:04
77 A - Déjà Vu GNU C++17 constructive algorithms strings *800 Apr/06/2021 00:51
76 A - Is it rated - 2 GNU C++17 *special problem implementation interactive *900 Apr/04/2021 23:46
75 B - Fedor and New Game GNU C++17 bitmasks brute force constructive algorithms implementation *1100 Apr/03/2021 09:08
74 A - Dead Pixel GNU C++17 implementation *800 Apr/02/2021 23:22
73 A - Fast Food Restaurant GNU C++17 brute force greedy implementation *900 Mar/31/2021 17:21
72 B - Cow and Friend GNU C++17 geometry greedy math *1300 Mar/30/2021 19:05
71 A - Cow and Haybales GNU C++17 greedy implementation *800 Mar/30/2021 13:11
70 B - Box Fitting GNU C++17 binary search bitmasks data structures greedy *1300 Mar/29/2021 21:29
69 A - GCD Sum GNU C++17 brute force math *800 Mar/29/2021 20:49
68 B - Longest Palindrome GNU C++17 brute force constructive algorithms greedy implementation strings *1100 Mar/29/2021 11:48
67 A - Two Rabbits GNU C++17 math *800 Mar/29/2021 08:59
66 A - Prison Break GNU C++17 constructive algorithms *800 Mar/21/2021 19:26
65 C - Minimum Grid Path GNU C++17 brute force data structures greedy math *1500 Mar/18/2021 22:47
64 B - Binary Removals GNU C++17 brute force dp greedy implementation *1000 Mar/18/2021 21:23
63 A - Domino on Windowsill GNU C++17 combinatorics constructive algorithms math *800 Mar/18/2021 21:08
62 A - Mike and palindrome GNU C++17 brute force constructive algorithms strings *1000 Mar/18/2021 17:24
61 A - Petya and Strings GNU C++17 implementation strings *800 Mar/18/2021 17:12
60 A - Tokitsukaze and Enhancement GNU C++17 brute force *800 Mar/18/2021 16:27
59 A - Vasya the Hipster GNU C++17 implementation math *800 Mar/18/2021 16:15
58 A - Two distinct points GNU C++17 implementation *800 Mar/18/2021 16:08
57 A - Anton and Polyhedrons GNU C++17 implementation strings *800 Mar/18/2021 15:32
56 C2 - k-LCM (hard version) GNU C++17 constructive algorithms math *1600 Mar/17/2021 22:46
55 C1 - k-LCM (easy version) GNU C++17 constructive algorithms math *1200 Mar/17/2021 22:42
54 A - Meximization GNU C++17 brute force data structures greedy sortings *800 Mar/17/2021 20:45
53 A - Anti-knapsack GNU C++17 constructive algorithms greedy *800 Mar/06/2021 21:10
52 B - Card Deck GNU C++17 data structures greedy math *1100 Mar/02/2021 20:16
51 A - Three swimmers GNU C++17 math *800 Mar/02/2021 16:11
50 B - Minimal Cost GNU C++17 brute force math *1200 Feb/28/2021 20:43
49 A - K-th Largest Value GNU C++17 brute force greedy implementation *800 Feb/28/2021 20:01
48 A - Choose Two Numbers GNU C++17 math sortings *800 Feb/27/2021 14:49
47 A - Game GNU C++17 sortings *800 Feb/27/2021 13:21
46 A - Shifting Stacks GNU C++17 greedy implementation *900 Feb/18/2021 21:49
45 B - Balanced Remainders GNU C++17 brute force constructive algorithms math *1000 Feb/16/2021 21:29
44 A - Dense Array GNU C++17 greedy math *800 Feb/16/2021 20:50
43 A - Translation GNU C11 implementation strings *800 Jan/26/2021 11:12
42 C - A Cookie for You GNU C++17 greedy implementation math *1300 Jan/20/2021 03:04
41 C - Johnny and Another Rating Drop GNU C++17 bitmasks greedy math *1400 Jan/20/2021 02:56
40 B - Dreamoon Likes Permutations GNU C++17 implementation math *1400 Jan/20/2021 02:47
39 D2 - Sage's Birthday (hard version) GNU C++17 binary search brute force constructive algorithms greedy sortings two pointers *1500 Jan/20/2021 02:35
38 D1 - Sage's Birthday (easy version) GNU C++17 binary search constructive algorithms greedy sortings *1000 Jan/20/2021 01:38
37 B - Different Divisors GNU C++17 binary search constructive algorithms greedy math number theory *1000 Jan/19/2021 21:48
36 A - Puzzle From the Future GNU C++17 greedy *800 Jan/19/2021 20:55
35 B - Pasha Maximizes GNU C++17 greedy *1400 Jan/17/2021 12:04
34 B - Books GNU C++17 binary search brute force implementation two pointers *1400 Jan/17/2021 09:08
33 C - No More Inversions GNU C++17 constructive algorithms math *1500 Jan/14/2021 21:45
32 B - String LCM GNU C++17 brute force math number theory strings *1000 Jan/14/2021 21:00
31 A - Replacing Elements GNU C++17 greedy implementation math sortings *800 Jan/14/2021 20:42
30 A - Adding Digits GNU C++17 implementation math *1400 Jan/10/2021 08:59
29 B - Last minute enhancements GNU C++17 dp greedy *800 Dec/31/2020 10:04
28 A - Bovine Dilemma GNU C++17 brute force geometry math *800 Dec/31/2020 07:29
27 A - Regular Bracket Sequence GNU C++17 constructive algorithms greedy *1000 Dec/29/2020 12:59
26 B - Red and Blue GNU C++17 dp greedy *1000 Dec/28/2020 21:53
25 A - In-game Chat GNU C++17 implementation strings *800 Dec/20/2020 21:09
24 A - Dungeon GNU C++17 binary search math *1100 Dec/17/2020 21:53
23 C - Ping-pong GNU C++17 constructive algorithms games math *1100 Nov/30/2020 22:05
22 A - Strange Functions GNU C++17 math number theory *800 Nov/30/2020 20:45
21 B - Sum of Medians GNU C++17 greedy math *900 Nov/17/2020 21:28
20 A - Buy the String GNU C++17 implementation math *800 Nov/17/2020 20:44
19 B - Reverse Binary Strings GNU C++17 constructive algorithms greedy *1200 Oct/27/2020 21:54
18 A - Marketing Scheme GNU C++17 brute force constructive algorithms greedy math *800 Oct/27/2020 21:27
17 A - Number of Apartments GNU C++17 brute force constructive algorithms math *900 Oct/11/2020 18:14
16 C - Numbers on Whiteboard GNU C++17 constructive algorithms data structures greedy implementation math *1000 Oct/11/2020 16:57
15 B - Barrels GNU C++17 greedy implementation sortings *800 Oct/11/2020 15:58
14 B - Nice Matrix GNU C++17 greedy implementation math *1300 Oct/05/2020 14:55
13 A - Fence GNU C++17 geometry math *800 Oct/04/2020 22:15
12 A - Cubes Sorting GNU C++17 math sortings *900 Sep/25/2020 06:02
11 A - Digit Game GNU C++17 games greedy implementation *900 Sep/19/2020 21:42
10 B - Stairs GNU C++17 brute force constructive algorithms greedy implementation math *1200 Sep/19/2020 21:37
9 B - Maximum Product GNU C++17 brute force dp greedy implementation sortings *1200 Sep/12/2020 21:34
8 A - Subset Mex GNU C++17 greedy implementation math *900 Sep/12/2020 20:32
7 A - Ahahahahahahahaha GNU C++17 constructive algorithms math *1100 Sep/09/2020 16:26
6 A - Prime Subtraction GNU C11 math number theory *900 Apr/10/2020 19:16
5 A - Helpful Maths GNU C11 greedy implementation sortings strings *800 Apr/05/2020 23:20
4 A - String Task GNU C11 implementation strings *1000 Apr/05/2020 19:59
3 A - Way Too Long Words GNU C11 strings *800 Apr/05/2020 17:24
2 A - Watermelon GNU C11 brute force math *800 Apr/05/2020 17:08
1 A - Is it rated? GNU C11 *special problem Apr/01/2020 21:16

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages