MahmoudShawkyy / Codeforces_Problems

:man_technologist: My solutions on Codeforces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
211 D - Equalize the Remainders GNU C++17 data structures greedy implementation *1900 Sep/27/2021 12:49
210 C - Alphabetic Removals GNU C++17 implementation *1200 Sep/27/2021 11:25
209 B - Reversing Encryption GNU C++17 implementation *900 Sep/27/2021 11:13
208 A - Mishka and Contest GNU C++17 brute force implementation *800 Sep/27/2021 11:12
207 B - Filya and Homework GNU C++17 implementation sortings *1200 Sep/26/2021 14:56
206 B - Olympic Medal GNU C++17 greedy math *1300 Sep/26/2021 14:06
205 B - Chat Online GNU C++17 implementation *1300 Sep/23/2021 03:34
204 B - Dreamoon and WiFi GNU C++17 bitmasks brute force combinatorics dp math probabilities *1300 Sep/23/2021 01:47
203 B - Students and Shoelaces GNU C++17 brute force dfs and similar graphs implementation *1200 Sep/23/2021 00:21
202 B - Mahmoud and a Triangle GNU C++17 constructive algorithms geometry greedy math number theory sortings *1000 Sep/21/2021 10:25
201 B - Keyboard GNU C++17 implementation *1500 Sep/21/2021 09:50
200 B - Colorful Field GNU C++17 implementation sortings *1400 Sep/20/2021 12:15
199 B - Summer sell-off GNU C++17 greedy sortings *1300 Sep/19/2021 19:08
198 B - Sort the Array GNU C++17 implementation sortings *1300 Sep/19/2021 04:32
197 B - Lovely Palindromes GNU C++17 constructive algorithms math *1000 Sep/19/2021 02:48
196 B - President's Office GNU C++17 implementation *1100 Sep/19/2021 02:44
195 B - Decoding GNU C++17 implementation strings *900 Sep/15/2021 05:15
194 B - Easter Eggs GNU C++17 constructive algorithms implementation *1200 Sep/15/2021 04:08
193 B - Effective Approach GNU C++17 implementation *1100 Sep/15/2021 03:18
192 B - Coins GNU C++17 implementation *1200 Sep/15/2021 02:49
191 B - Sum of Digits GNU C++17 implementation *1000 Sep/15/2021 02:11
190 B - Caisa and Pylons GNU C++14 brute force implementation math *1100 Sep/14/2021 22:05
189 B - Burglar and Matches GNU C++14 greedy implementation sortings *900 Sep/14/2021 20:31
188 B - Bear and Finding Criminals GNU C++14 constructive algorithms implementation *1000 Sep/14/2021 19:43
187 B - Petya and Countryside GNU C++14 brute force implementation *1100 Sep/14/2021 18:33
186 A - Balanced Rating Changes GNU C++14 implementation math *1000 Sep/13/2021 02:21
185 A - BowWow and the Timetable GNU C++14 math *1000 Sep/13/2021 01:58
184 A - Snow Footprints GNU C++14 greedy implementation *1300 Sep/13/2021 01:05
183 A - Yaroslav and Permutations GNU C++14 greedy math *1100 Sep/12/2021 12:06
182 A - IQ Test GNU C++14 brute force implementation *1100 Sep/12/2021 11:19
181 A - Polo the Penguin and Segments GNU C++14 brute force implementation *1100 Sep/11/2021 15:13
180 A - Launch of Collider GNU C++14 implementation *1000 Sep/11/2021 14:43
179 A - Balanced Substring GNU C++14 implementation Sep/08/2021 16:46
178 B - BerSU Ball GNU C++14 dfs and similar dp graph matchings greedy sortings two pointers *1200 Sep/08/2021 03:51
177 A - Fancy Fence GNU C++14 geometry implementation math *1100 Sep/08/2021 02:27
176 C - Given Length and Sum of Digits... GNU C++14 dp greedy implementation *1400 Sep/06/2021 20:22
175 B - Interesting drink GNU C++14 binary search dp implementation *1100 Sep/06/2021 11:07
174 A - Boredom GNU C++14 dp *1500 Sep/06/2021 10:32
173 B - MEXor Mixup GNU C++14 bitmasks greedy *1000 Sep/06/2021 05:13
172 A - Domino Disaster GNU C++14 implementation strings *800 Sep/05/2021 16:40
171 B - T-primes GNU C++14 binary search implementation math number theory *1300 Sep/04/2021 19:20
170 C - Registration System GNU C++14 data structures hashing implementation *1300 Sep/04/2021 13:15
169 B - Xenia and Ringroad GNU C++14 implementation *1000 Sep/04/2021 12:02
168 B - Vanya and Lanterns GNU C++14 binary search implementation math sortings *1200 Sep/04/2021 11:41
167 A - IQ test GNU C++14 brute force *1300 Sep/04/2021 11:07
166 B - Ilya and Queries GNU C++14 dp implementation *1100 Sep/03/2021 01:35
165 B - Tanya and Candies GNU C++14 implementation *1200 Sep/03/2021 00:29
164 B - Lecture Sleep GNU C++14 data structures dp implementation two pointers *1200 Sep/02/2021 16:22
163 B - Maximal Continuous Rest GNU C++17 implementation *900 Aug/20/2021 06:10
162 B - Sale GNU C++17 greedy sortings *900 Aug/20/2021 04:51
161 B - Regular Bracket Sequence GNU C++17 greedy *1400 Aug/16/2021 20:04
160 B - Fence GNU C++17 brute force dp *1100 Aug/16/2021 17:49
159 B - Mike and Children GNU C++17 brute force implementation *1200 Aug/16/2021 00:21
158 A - Doggo Recoloring GNU C++17 implementation sortings *900 Aug/15/2021 23:56
157 A - Andryusha and Socks GNU C++17 implementation *800 Aug/15/2021 23:40
156 A - Cheap Travel GNU C++17 implementation *1200 Aug/15/2021 02:58
155 A - Ksenia and Pan Scales GNU C++17 greedy implementation *1100 Aug/14/2021 20:14
154 B - Permutation Sort GNU C++17 constructive algorithms greedy *900 Aug/12/2021 01:39
153 B - Ordinary Numbers GNU C++17 brute force math number theory *800 Aug/12/2021 00:32
152 A - Expression GNU C++17 brute force math *1000 Aug/11/2021 20:14
151 B - Drinks GNU C++17 implementation math *800 Aug/11/2021 20:05
150 A - cAPS lOCK GNU C++17 implementation strings *1000 Aug/11/2021 19:10
149 B - Moamen and k-subarrays GNU C++17 greedy sortings *1100 Aug/10/2021 20:30
148 A - Ezzat and Two Subsequences GNU C++17 brute force math sortings *800 Aug/10/2021 17:54
147 B - Even Array GNU C++17 greedy math *800 Aug/09/2021 05:46
146 A - Kefa and First Steps GNU C++17 brute force dp implementation *900 Aug/09/2021 05:27
145 B - Taxi GNU C++17 *special problem greedy implementation *1100 Aug/08/2021 19:06
144 B - Vasya and Books GNU C++17 implementation math *1000 Aug/08/2021 18:20
143 A - Diverse Substring GNU C++17 implementation strings *1000 Aug/08/2021 17:19
142 A - Lucky Division GNU C++17 brute force number theory *1000 Aug/07/2021 04:43
141 A - HQ9+ GNU C++17 implementation *900 Aug/07/2021 02:00
140 A - Chat room GNU C++17 greedy strings *1000 Aug/07/2021 01:50
139 A - Tram GNU C++17 implementation *800 Aug/07/2021 01:49
138 B - Queue at the School GNU C++17 constructive algorithms graph matchings implementation shortest paths *800 Aug/07/2021 01:39
137 A - In Search of an Easy Problem GNU C++17 implementation *800 Aug/07/2021 01:29
136 A - The Fair Nut and Elevator GNU C++17 brute force implementation *1000 Aug/06/2021 04:40
135 C - Good Array GNU C++17 *1300 Aug/02/2021 19:33
134 A - Maximum Increase GNU C++17 dp greedy implementation *800 Jul/31/2021 21:10
133 A - Two Bags of Potatoes GNU C++17 greedy implementation math *1200 Jul/31/2021 20:49
132 A - Two Substrings GNU C++17 brute force dp greedy implementation strings *1500 Jul/31/2021 19:24
131 A - Visiting a Friend GNU C++17 greedy implementation *1100 Jul/30/2021 22:34
130 B - Luxurious Houses GNU C++17 implementation math *1100 Jul/30/2021 02:29
129 A - Hexadecimal's theorem GNU C++17 brute force constructive algorithms implementation number theory *900 Jul/29/2021 18:30
128 B - Divisor Subtraction GNU C++17 implementation math number theory *1200 Jul/28/2021 22:56
127 A - Minimizing the String GNU C++17 greedy strings *1200 Jul/28/2021 22:01
126 A - Subsequence Permutation GNU C++17 sortings strings *800 Jul/25/2021 16:47
125 A - Orac and Factors GNU C++17 math *900 Jul/22/2021 21:50
124 B - Fedor and New Game GNU C++17 bitmasks brute force constructive algorithms implementation *1100 Jul/21/2021 18:19
123 A - Raising Bacteria GNU C++17 bitmasks *1000 Jul/21/2021 17:40
122 C - Stripe GNU C++17 data structures implementation *1200 Jul/20/2021 00:15
121 B - Karen and Coffee GNU C++17 binary search data structures implementation *1400 Jul/19/2021 22:51
120 C - Little Girl and Maximum Sum GNU C++17 data structures greedy implementation sortings *1500 Jul/19/2021 20:05
119 B - Card Constructions GNU C++17 binary search brute force dp math *1100 Jul/16/2021 23:34
118 A - Puzzle Pieces GNU C++17 math *800 Jul/16/2021 23:08
117 B - Phoenix and Beauty GNU C++17 constructive algorithms data structures greedy sortings *1400 Jul/16/2021 19:35
116 A - Phoenix and Balance GNU C++17 greedy math *800 Jul/15/2021 11:06
115 B - Nastya and Door GNU C++17 greedy implementation *1300 Jul/15/2021 04:44
114 C - Eugene and an array GNU C++17 binary search data structures implementation two pointers *1700 Jul/14/2021 18:23
113 A - Nastya and Rice GNU C++17 math *900 Jul/13/2021 20:07
112 A - Ichihime and Triangle GNU C++17 constructive algorithms math *800 Jul/12/2021 02:17
111 B - Kind Anton GNU C++17 greedy implementation *1100 Jul/10/2021 21:32
110 A - Little Artem GNU C++17 constructive algorithms *1000 Jul/10/2021 20:31
109 B - Prime Square GNU C++17 constructive algorithms math *900 Jun/24/2021 00:22
108 A - Reorder GNU C++17 math *800 Jun/23/2021 23:23
107 B - Kuriyama Mirai's Stones GNU C++17 dp implementation sortings *1200 Jun/11/2021 01:10
106 A - Tricky Sum GNU C++17 math *900 Jun/11/2021 00:31
105 A - Football GNU C++17 implementation strings *900 Jun/11/2021 00:11
104 A - Chewbaсca and Number GNU C++17 greedy implementation *1200 Jun/09/2021 18:06
103 A - Mountain Scenery GNU C++17 brute force constructive algorithms implementation *1100 Jun/09/2021 13:10
102 A - Alyona and Numbers GNU C++17 constructive algorithms math number theory *1100 Jun/09/2021 12:22
101 A - Counterexample GNU C++17 brute force implementation math number theory *1100 Jun/08/2021 03:19
100 A - Panoramix's Prediction GNU C++17 brute force *800 Jun/08/2021 01:36
99 A - Anton and Polyhedrons GNU C++17 implementation strings *800 Jun/08/2021 00:06
98 A - Calculating Function GNU C++17 implementation math *800 Jun/08/2021 00:00
97 A - Arpa’s hard exam and Mehrdad’s naive cheat GNU C++17 implementation math number theory *1000 Jun/07/2021 23:25
96 A - Valera and X GNU C++17 implementation *1000 Jun/07/2021 23:11
95 A - Dubstep GNU C++17 strings *900 Jun/01/2021 14:28
94 A - I Wanna Be the Guy GNU C++17 greedy implementation *800 Jun/01/2021 00:33
93 A - Keyboard GNU C++17 implementation *900 May/31/2021 23:47
92 A - Twins GNU C++17 greedy sortings *900 May/31/2021 22:41
91 A - Oath of the Night's Watch GNU C++17 constructive algorithms sortings *900 May/31/2021 17:20
90 A - Snacktower GNU C++17 data structures implementation *1100 May/31/2021 15:40
89 A - Mahmoud and Longest Uncommon Subsequence GNU C++17 constructive algorithms strings *1000 May/29/2021 16:53
88 A - Lineland Mail GNU C++17 greedy implementation *900 May/29/2021 15:52
87 A - Pangram GNU C++17 implementation strings *800 May/28/2021 11:18
86 A - Help Vasilisa the Wise 2 GNU C++17 brute force math *1000 May/28/2021 11:10
85 A - Even Odds GNU C++17 math *900 May/28/2021 11:06
84 A - New Password GNU C++17 *special problem implementation *800 May/28/2021 10:44
83 A - Team Olympiad GNU C++17 greedy implementation sortings *800 May/28/2021 09:59
82 A - Helpful Maths GNU C++17 greedy implementation sortings strings *800 May/28/2021 09:37
81 A - Anton and Letters GNU C++17 constructive algorithms implementation *800 May/28/2021 09:31
80 A - Carrot Cakes GNU C++17 brute force implementation *1100 May/28/2021 09:24
79 A - Shaass and Oskols GNU C++17 implementation math *800 May/28/2021 09:06
78 A - Where Are My Flakes? GNU C++17 implementation two pointers *1300 May/27/2021 21:25
77 A - Hulk GNU C++17 implementation *800 May/24/2021 05:12
76 A - Beautiful Year GNU C++17 brute force *800 May/17/2021 01:53
75 A - String Task GNU C++17 implementation strings *1000 May/16/2021 12:05
74 A - Potion-making GNU C++17 math number theory *800 May/16/2021 10:28
73 A - Nearly Lucky Number GNU C++17 implementation *800 May/09/2021 05:14
72 A - Do Not Be Distracted! GNU C++17 brute force implementation *800 May/05/2021 16:49
71 A - QAQ GNU C++17 brute force dp *800 May/03/2021 08:08
70 A - Cut Ribbon GNU C++17 brute force dp *1300 May/03/2021 07:55
69 A - Domino piling GNU C++17 greedy math *800 May/02/2021 17:20
68 A - Juicer GNU C++17 implementation *900 Apr/26/2021 01:10
67 A - Polycarp's Pockets GNU C++17 implementation *800 Apr/25/2021 01:41
66 A - Presents GNU C++17 implementation *800 Apr/24/2021 00:49
65 A - Bus to Udayland GNU C++17 brute force implementation *800 Apr/17/2021 17:18
64 A - One-dimensional Japanese Crossword GNU C++17 implementation *800 Apr/17/2021 16:50
63 A - Soldier and Bananas GNU C++17 brute force implementation math *800 Apr/17/2021 03:20
62 A - Little Pony and Crystal Mine GNU C++17 implementation *800 Apr/17/2021 02:50
61 A - Ultra-Fast Mathematician GNU C++17 implementation *800 Apr/17/2021 02:09
60 A - Greg's Workout GNU C++17 implementation *800 Apr/17/2021 02:02
59 A - Elephant GNU C++17 math *800 Apr/17/2021 01:49
58 A - The New Year: Meeting Friends GNU C++17 implementation math sortings *800 Apr/17/2021 01:44
57 A - Fox And Snake GNU C++17 implementation *800 Apr/17/2021 01:30
56 A - Vasya the Hipster GNU C++17 implementation math *800 Apr/17/2021 01:06
55 A - George and Accommodation GNU C++17 implementation *800 Apr/17/2021 00:58
54 A - Three swimmers GNU C++17 math *800 Apr/17/2021 00:42
53 A - Young Physicist GNU C++17 implementation math *1000 Apr/16/2021 03:03
52 A - Next Round GNU C++17 *special problem implementation *800 Apr/16/2021 02:54
51 A - Translation GNU C++17 implementation strings *800 Apr/16/2021 02:48
50 A - Case of the Zeros and Ones GNU C++17 greedy *900 Apr/16/2021 02:33
49 A - Bit++ GNU C++17 implementation *800 Apr/16/2021 02:05
48 A - Word Capitalization GNU C++17 implementation strings *800 Apr/16/2021 01:17
47 B - Equalize Prices GNU C++17 math *900 Apr/15/2021 23:26
46 A - Nearest Interesting Number GNU C++17 implementation *800 Apr/15/2021 23:07
45 B - Fair Division GNU C++17 dp greedy math *800 Apr/15/2021 02:43
44 A - Odd Divisor GNU C++17 math number theory *900 Apr/15/2021 01:57
43 A - Cards for Friends GNU C++17 greedy math *800 Apr/15/2021 01:36
42 A - Brain's Photos GNU C++17 implementation *800 Apr/14/2021 01:14
41 A - Olesya and Rodion GNU C++17 math *1000 Apr/14/2021 00:48
40 A - Is it rated? GNU C++17 implementation sortings *900 Apr/14/2021 00:12
39 A - Die Roll GNU C++17 math probabilities *800 Apr/13/2021 23:44
38 A - Games GNU C++17 brute force *800 Apr/13/2021 23:09
37 A - Football GNU C++17 strings *1000 Apr/13/2021 02:12
36 A - Theatre Square GNU C++17 math *1000 Apr/13/2021 00:52
35 A - Night at the Museum GNU C++17 implementation strings *800 Apr/12/2021 00:03
34 A - Colorful Stones (Simplified Edition) GNU C++17 implementation *800 Apr/11/2021 02:08
33 A - Is your horseshoe on the other hoof? GNU C++17 implementation *800 Apr/11/2021 01:38
32 A - Buy a Shovel GNU C++17 brute force constructive algorithms implementation math *800 Apr/11/2021 01:32
31 A - Spy Detected! GNU C++17 brute force implementation *800 Apr/10/2021 16:53
30 A - Black Square GNU C++17 implementation *800 Apr/10/2021 16:27
29 A - Police Recruits GNU C++17 implementation *800 Apr/10/2021 14:29
28 A - Way Too Long Words GNU C++17 strings *800 Apr/10/2021 13:23
27 A - Dice Tower GNU C++17 constructive algorithms greedy *1100 Apr/06/2021 20:05
26 A - Good Number GNU C++17 implementation *1100 Apr/06/2021 18:19
25 A - Sereja and Dima GNU C++17 greedy implementation two pointers *800 Mar/28/2021 15:17
24 A - Word GNU C++17 implementation strings *800 Mar/28/2021 11:04
23 A - Let's Watch Football GNU C++17 binary search brute force math *1000 Feb/09/2021 17:28
22 A - Little Artem and Presents Python 3 math *800 Jan/28/2021 17:26
21 A - Points in Segments GNU C++17 implementation *800 Jan/16/2021 17:36
20 A - Diverse Team GNU C++17 brute force implementation *800 Jan/16/2021 16:21
19 A - Little Artem and Grasshopper GNU C++17 implementation *1000 Jan/11/2021 16:39
18 B - Sereja and Mirroring GNU C++17 implementation *1300 Jan/10/2021 16:33
17 A - New Year and Counting Cards GNU C++17 brute force implementation *800 Jan/10/2021 14:42
16 A - Tanya and Stairways GNU C++17 implementation *800 Jan/06/2021 22:48
15 A - Heist GNU C++17 greedy implementation sortings *800 Jan/05/2021 19:51
14 A - Partition GNU C++17 greedy *800 Jan/05/2021 18:30
13 A - Wrong Subtraction GNU C++17 implementation *800 Jan/05/2021 18:09
12 A - Remove Smallest GNU C++17 greedy sortings *800 Dec/19/2020 14:17
11 A - Stones on the Table GNU C++17 implementation *800 Nov/10/2020 20:24
10 A - Magnets GNU C++17 implementation *800 Nov/10/2020 19:30
9 A - Boy or Girl GNU C++17 brute force implementation strings *800 Oct/20/2020 02:14
8 A - Petya and Strings GNU C++17 implementation strings *800 Oct/19/2020 23:19
7 A - Sum of Round Numbers GNU C++17 implementation math *800 Oct/19/2020 02:18
6 A - Gravity Flip GNU C++11 greedy implementation sortings *900 Sep/13/2020 21:40
5 A - Beautiful Matrix MS C++ 2017 implementation *800 Aug/31/2020 00:26
4 A - Team MS C++ 2017 brute force greedy *800 Aug/29/2020 01:10
3 A - Bear and Big Brother MS C++ 2017 implementation *800 Aug/29/2020 00:36
2 A - Anton and Danik MS C++ 2017 implementation strings *800 Aug/28/2020 23:59
1 A - Vanya and Fence MS C++ 2017 implementation *800 Aug/27/2020 04:13

About

:man_technologist: My solutions on Codeforces


Languages

Language:C++ 100.0%Language:Python 0.0%