Skip to content

Repository files navigation

Codeforces Solutions

This page contains my solutions of Codeforces problems. They are in C++ language.

Index

Sorted by Problem ID

Index Problem ID Problem Name Question Solution
1 1 A Theatre Square Question Solution
2 2 A Winner Question Solution
3 4 A Watermelon Question Solution
4 4 C Registration System Question Solution
5 5 C Longest Regular Bracket Sequence Question Solution
6 9 A Die Roll Question Solution
7 9 B Running Student Question Solution
8 11 A Increasing Sequence Question Solution
9 17 A Noldbach problem Question Solution
10 22 A Second Order Statistics Question Solution
11 29 A Spit Problem Question Solution
12 31 A Worms Evolution Question Solution
13 34 A Reconnaissance 2 Question Solution
14 34 B Sale Question Solution
15 40 A Find Color Question Solution
16 41 A Translation Question Solution
17 44 A Indian Summer Question Solution
18 45 A Codecraft III Question Solution
19 50 A Domino piling Question Solution
20 59 A Word Question Solution
21 65 B Harry Potter and the History of Magic Question Solution
22 71 A Way Too Long Words Question Solution
23 74 A Room Leader Question Solution
24 84 A Toy Army Question Solution
25 96 B Lucky Numbers (easy) Question Solution
26 110 A Nearly Lucky Number Question Solution
27 112 A Petya and Strings Question Solution
28 112 B Petya and Square Question Solution
29 116 A Tram Question Solution
30 118 B Present from Lena Question Solution
31 120 F Spiders Question Solution
32 122 B Lucky Substring Question Solution
33 122 A Lucky Division Question Solution
34 131 A cAPS lOCK Question Solution
35 136 A Presents Question Solution
36 141 A Amusing Joke Question Solution
37 143 A Help Vasilisa the Wise 2 Question Solution
38 144 A Arrival of the General Question Solution
39 148 A Insomnia cure Question Solution
40 151 A Soft Drinking Question Solution
41 154 C Gourmet Cat Question Solution
42 155 A I_love_%username% Question Solution
43 158 A Next Round Question Solution
44 158 B Taxi Question Solution
45 173 A Rock-Paper-Scissors Question Solution
46 189 A Cut Ribbon Question Solution
47 200 B Drinks Question Solution
48 208 A Dubstep Question Solution
49 217 A Ice Skating Question Solution
50 230 B T-primes Question Solution
51 231 A Team Question Solution
52 236 A Boy or Girl Question Solution
53 239 A Two Bags of Potatoes Question Solution
54 251 A Points on Line Question Solution
55 258 A Little Elephant and Bits Question Solution
56 263 A Beautiful Matrix Question Solution
57 266 B Queue at the School Question Solution
58 266 A Stones on the Table Question Solution
59 268 A Games Question Solution
60 271 D Good Substrings Question Solution
61 271 A Beautiful Year Question Solution
62 279 B Books Question Solution
63 281 A Word Capitalization Question Solution
64 282 A Bit++ Question Solution
65 299 A Ksusha and Array Question Solution
66 313 A Ilya and Bank Account Question Solution
67 318 A Even Odds Question Solution
68 339 A Helpful Maths Question Solution
69 343 B Alternating Current Question Solution
70 344 A Magnets Question Solution
71 348 A Mafia Question Solution
72 349 A Cinema Line Question Solution
73 381 B Sereja and Stairs Question Solution
74 411 A Password Check Question Solution
75 414 B Mashmokh and ACM Question Solution
76 416 A Guess a number! Question Solution
77 421 A Pasha and Hamsters Question Solution
78 433 B Kuriyama Mirai's Stones Question Solution
79 450 A Jzzhu and Children Question Solution
80 456 B Fedya and Maths Question Solution
81 466 A Cheap Travel Question Solution
82 471 A MUH and Sticks Question Solution
83 472 A Design Tutorial Learn from Math Question Solution
84 474 B Worms Question Solution
85 478 C Table Decorations Question Solution
86 486 A Calculating Function Question Solution
87 489 B BerSU Ball Question Solution
88 492 B Vanya and Lanterns Question Solution
89 492 A Vanya and Cubes Question Solution
90 510 A Fox And Snake Question Solution
91 514 A Chewbaсca and Number Question Solution
92 520 B Two Buttons Question Solution
93 525 A Vitaliy and Pie Question Solution
94 545 C Woodcutters Question Solution
95 546 B Soldier and Badges Question Solution
96 546 C Soldier and Cards Question Solution
97 546 A Soldier and Bananas Question Solution
98 550 B Preparing Olympiad Question Solution
99 550 C Divisibility by Eight Question Solution
100 551 A GukiZ and Contest Question Solution
101 579 A Raising Bacteria Question Solution
102 584 A Olesya and Rodion Question Solution
103 599 A Patrick and Shopping Question Solution
104 600 B Queries about less or equal elements Question Solution
105 617 A Elephant Question Solution
106 628 A Tennis Tournament Question Solution
107 630 C Lucky Numbers Question Solution
108 630 J Divisibility Question Solution
109 630 A Again Twenty Five! Question Solution
110 632 C The Smallest String Concatenation Question Solution
111 653 A Bear and Three Balls Question Solution
112 655 B Mischievous Mess Makers Question Solution
113 660 A Co-prime Array Question Solution
114 665 E Beautiful Subarrays Question Solution
115 677 A Vanya and Fence Question Solution
116 686 A Free Ice Cream Question Solution
117 705 A Hulk Question Solution
118 706 B Interesting drink Question Solution
119 706 D Vasiliy's Multiset Question Solution
120 712 A Memory and Crow Question Solution
121 734 A Anton and Danik Question Solution
122 742 A Arpa’s hard exam and Mehrdad’s naive cheat Question Solution
123 749 A Bachgold Problem Question Solution
124 753 A Santa Claus and Candies Question Solution
125 762 A k-th divisor Question Solution
126 776 B Sherlock and his girlfriend Question Solution
127 782 B The Meeting Place Cannot Be Changed Question Solution
128 791 A Bear and Big Brother Question Solution
129 794 A Bank Robbery Question Solution
130 816 B Karen and Coffee Question Solution
131 825 A Binary Protocol Question Solution
132 854 A Fraction Question Solution
133 855 A Tom Riddle's Diary Question Solution
134 873 D Merge Sort Question Solution
135 888 A Local Extrema Question Solution
136 903 C Boxes Packing Question Solution
137 915 B Browser Question Solution
138 965 E Short Code Question Solution
139 977 E Cyclic Components Question Solution
140 977 A Wrong Subtraction Question Solution
141 984 A Game Question Solution
142 994 A Fingerprints Question Solution
143 1006 C Three Parts of the Array Question Solution
144 1015 B Obtaining the String Question Solution
145 1015 C Songs Compression Question Solution
146 1023 C Bracket Subsequence Question Solution
147 1033 B Square Difference Question Solution
148 1068 A Birthday Question Solution
149 1076 C Meme Problem Question Solution
150 1088 A Ehab and another construction problem Question Solution
151 1097 B Petr and a Combination Lock Question Solution
152 1106 C Lunar New Year and Number Division Question Solution
153 1114 A Got Any Grapes? Question Solution
154 1118 B Tanya and Candies Question Solution
155 1131 C Birthday Question Solution
156 1133 A Middle of the Contest Question Solution
157 1144 C Two Shuffled Sequences Question Solution
158 1154 A Restoring Three Numbers Question Solution
159 1166 A Silent Classroom Question Solution
160 1179 A Valeriy and Deque Question Solution
161 1196 A Three Piles of Candies Question Solution
162 1201 C Maximum Median Question Solution
163 1203 C Common Divisors Question Solution
164 1234 B2 Social Network (hard version) Question Solution
165 1234 B1 Social Network (easy version) Question Solution
166 1279 A New Year Garland Question Solution
167 1283 A Minutes Before the New Year Question Solution
168 1283 C Friends and Gifts Question Solution
169 1285 C Fadi and LCM Question Solution
170 1295 A Display The Number Question Solution
171 1296 A Array with Odd Sum Question Solution
172 1301 A Three Strings Question Solution
173 1311 A Add Odd or Subtract Even Question Solution
174 1312 A Two Regular Polygons Question Solution
175 1325 A EhAb AnD gCd Question Solution
176 1328 A Divisibility Problem Question Solution
177 1341 A Nastya and Rice Question Solution
178 1343 B Balanced Array Question Solution
179 1352 C K-th Not Divisible by n Question Solution
180 1360 B Honest Coach Question Solution
181 1364 A XXXXX Question Solution
182 1367 B Even Array Question Solution
183 1367 A Short Substrings Question Solution
184 1388 A Captain Flint and Crew Recruitment Question Solution
185 1389 A LCM Problem Question Solution
186 1391 B Fix You Question Solution
187 1399 A Remove Smallest Question Solution
188 1401 B Ternary Sequence Question Solution
189 1416 C XOR Inverse Question Solution
190 1421 B Putting Bricks in the Wall Question Solution
191 1426 A Floor Number Question Solution
192 1440 B Sum of Medians Question Solution
193 1471 A Strange Partition Question Solution
194 1475 A Odd Divisor Question Solution
195 1497 C1 k-LCM (easy version) Question Solution
196 1497 C2 k-LCM (hard version) Question Solution
197 1512 A Spy Detected! Question Solution
198 1526 C2 Potions (Hard Version) Question Solution
199 1526 C1 Potions (Easy Version) Question Solution
200 1534 A Colour the Flag Question Solution
201 1536 C Diluc and Kaeya Question Solution
202 1537 A Arithmetic Array Question Solution
203 1537 B Bad Boy Question Solution
204 1538 C Number of Pairs Question Solution
205 1538 F Interesting Function Question Solution
206 1543 A Exciting Bets Question Solution
207 1553 A Digits Sum Question Solution
208 1559 A Mocha and Math Question Solution
209 1561 A Simply Strange Sort Question Solution
210 1579 E1 Permutation Minimization by Deque Question Solution
211 1582 B Luntik and Subsequences Question Solution
212 1593 B Make it Divisible by 25 Question Solution
213 1594 C Make Them Equal Question Solution
214 1605 A A.M. Deviation Question Solution
215 1606 A AB Balance Question Solution
216 1607 B Odd Grasshopper Question Solution
217 1613 A Long Comparison Question Solution
218 1624 B Make AP Question Solution
219 1633 A Div. 7 Question Solution
220 1665 B Array Cloning Technique Question Solution
221 1666 D Deletive Editing Question Solution
222 1669 F Eating Candies Question Solution
223 1675 B Make It Increasing Question Solution
224 1676 A Lucky Question Solution
225 1679 A AvtoBus Question Solution
226 1680 A Minimums and Maximums Question Solution
227 1681 C Double Sort Question Solution
228 1692 A Marathon Question Solution
229 1696 B NIT Destroys the Universe Question Solution
230 1703 B ICPC Balloons Question Solution
231 1703 A YES or YES Question Solution
232 1719 A Chip Game Question Solution
233 1719 B Mathematical Circus Question Solution
234 1721 B Deadly Laser Question Solution
235 1726 A Mainak and Array Question Solution
236 1730 B Meeting on the Line Question Solution
237 1742 C Stripes Question Solution
238 1742 A Sum Question Solution
239 1746 B Rebellion Question Solution
240 1748 A The Ultimate Square Question Solution
241 1758 B XOR = Average Question Solution
242 1760 A Medium Number Question Solution
243 1761 A Two Permutations Question Solution
244 1765 K Torus Path Question Solution
245 1765 M Minimum LCM Question Solution
246 1765 B Broken Keyboard Question Solution
247 1765 E Exchange Question Solution
248 1766 A Extremely Round Question Solution
249 1773 F Football Question Solution
250 1777 A Everybody Likes Good Arrays! Question Solution
251 1783 A Make it Beautiful Question Solution
252 1788 A One and Two Question Solution
253 1789 A Serval and Mocha's Array Question Solution
254 1791 C Prepend and Append Question Solution
255 1791 B Following Directions Question Solution
256 1792 B Stand-up Comedian Question Solution
257 1792 A GamingForces Question Solution
258 1794 B Not Dividing Question Solution
259 1795 B Ideal Point Question Solution
260 1800 C1 Powering the Hero (easy version) Question Solution
261 1800 C2 Powering the Hero (hard version) Question Solution
262 1800 A Is It a Cat Question Solution
263 1805 A We Need the Zero Question Solution
264 1806 A Walking Master Question Solution
265 1807 D Odd Queries Question Solution
266 1811 A Insert Digit Question Solution
267 1814 A Coins Question Solution
268 1818 B Indivisible Question Solution
269 1822 A TubeTube Feed Question Solution
270 1822 C Bun Lover Question Solution
271 1828 A Divisible Array Question Solution
272 1828 B Permutation Swap Question Solution
273 1829 E The Lakes Question Solution
274 1829 B Blank Space Question Solution
275 1829 A Love Story Question Solution
276 1829 C Mr. Perfectly Fine Question Solution
277 1829 D Gold Rush Question Solution
278 1831 A Twin Permutations Question Solution
279 1832 A New Palindrome Question Solution
280 1832 B Maximum Sum Question Solution
281 1833 A Musical Puzzle Question Solution
282 1833 B Restore the Weather Question Solution
283 1833 C Vlad Building Beautiful Array Question Solution
284 1834 A Unit Array Question Solution
285 1837 B Comparison String Question Solution
286 1837 A Grasshopper on a Line Question Solution
287 1841 B Keep it Beautiful Question Solution
288 1843 B Long Long Question Solution
289 1843 A Sasha and Array Coloring Question Solution
290 1844 A Subtraction Game Question Solution
291 1845 A Forbidden Integer Question Solution
292 1846 A Rudolph and Cut the Rope Question Solution
293 1846 C Rudolf and the Another Competition Question Solution
294 1846 B Rudolph and Tic-Tac-Toe Question Solution
295 1848 A Vika and Her Friends Question Solution
296 1849 A Morning Sandwich Question Solution
297 1849 B Monsters Question Solution
298 1850 F We Were Both Children Question Solution
299 1850 B Ten Words of Wisdom Question Solution
300 1850 D Balanced Round Question Solution
301 1850 C Word on the Paper Question Solution
302 1850 A To My Critics Question Solution
303 1851 C Tiles Comeback Question Solution
304 1851 A Escalator Conversations Question Solution
305 1851 F Lisa and the Martians Question Solution
306 1851 B Parity Sort Question Solution
307 1853 A Desorting Question Solution
308 1855 A Dalton the Teacher Question Solution
309 1855 B Longest Divisors Interval Question Solution
310 1856 B Good Arrays Question Solution
311 1857 B Maximum Rounding Question Solution
312 1857 A Array Coloring Question Solution
313 1857 C Assembly via Minimums Question Solution
314 1858 A Buttons Question Solution
315 1859 A United We Stand Question Solution
316 1860 A Not a Substring Question Solution
317 1862 A Gift Carpet Question Solution
318 1862 B Sequence Game Question Solution
319 1863 A Channel Question Solution
320 1864 A Increasing and Decreasing Question Solution
321 1864 B Swap and Reverse Question Solution
322 1866 A Ambitious Kid Question Solution
323 1869 A Make It Zero Question Solution
324 1870 A MEXanized Array Question Solution
325 1872 B The Corridor or There and Back Again Question Solution
326 1872 C Non-coprime Split Question Solution
327 1872 A Two Vessels Question Solution
328 1873 C Target Practice Question Solution
329 1873 E Building an Aquarium Question Solution
330 1873 B Good Kid Question Solution
331 1873 D 1D Eraser Question Solution
332 1873 A Short Sort Question Solution
333 1875 A Jellyfish and Undertale Question Solution
334 1876 A Helmets in Night Light Question Solution
335 1877 A Goals of Victory Question Solution
336 1878 C Vasilije in Cacak Question Solution
337 1878 A How Much Does Daytona Cost Question Solution
338 1878 B Aleksa and Stack Question Solution
339 1879 B Chips on the Board Question Solution
340 1879 A Rigged! Question Solution
341 1881 C Perfect Square Question Solution
342 1881 B Three Threadlets Question Solution
343 1881 A Don't Try to Count Question Solution
344 1883 B Chemistry Question Solution
345 1883 C Raspberries Question Solution
346 1890 A Doremy's Paint 3 Question Solution
347 1890 B Qingshan Loves Strings Question Solution
348 1891 A Sorting with Twos Question Solution
349 1894 A Secret Sport Question Solution
350 1895 B Points and Minimum Distance Question Solution
351 1895 A Treasure Chest Question Solution
352 1896 A Jagged Swaps Question Solution
353 1896 B AB Flipping Question Solution
354 1898 A Milica and String Question Solution
355 1899 A Game with Integers Question Solution
356 1900 A Cover in Water Question Solution
357 1900 B Laura and Operations Question Solution
358 1901 A Line Trip Question Solution
359 1902 A Binary Imbalance Question Solution
360 1903 A Halloumi Boxes Question Solution
361 1904 B Collecting Game Question Solution
362 1904 A Forked! Question Solution
363 1905 A Constructive Problems Question Solution
364 1905 B Begginer's Zelda Question Solution
365 1905 C Largest Subsequence Question Solution
366 1907 B YetnotherrokenKeoard Question Solution
367 1907 A Rook Question Solution
368 1907 C Removal of Unattractive Pairs Question Solution
369 1909 A Distinct Buttons Question Solution
370 1912 L LOL Lovers Question Solution
371 1913 C Game with Multiset Question Solution
372 1913 B Swap and Delete Question Solution
373 1913 A Rating Increase Question Solution
374 1914 A Problemsolving Log Question Solution
375 1914 C Quests Question Solution
376 1914 E1 Game with Marbles (Easy Version) Question Solution
377 1914 B Preparing for the Contest Question Solution
378 1914 E2 Game with Marbles (Hard Version) Question Solution
379 1914 D Three Activities Question Solution
380 1915 B Not Quite Latin Square Question Solution
381 1915 E Romantic Glasses Question Solution
382 1915 A Odd One Out Question Solution
383 1915 D Unnatural Language Processing Question Solution
384 1915 C Can I Square Question Solution
385 1916 B Two Divisors Question Solution
386 1916 A 2023 Question Solution
387 1916 D Mathematical Problem Question Solution
388 1916 C Training Before the Olympiad Question Solution
389 1917 B Erase First or Second Letter Question Solution
390 1917 A Least Product Question Solution
391 1918 A Brick Wall Question Solution
392 1918 B Minimize Inversions Question Solution
393 1919 B Plus-Minus Split Question Solution
394 1919 A Wallet Exchange Question Solution
395 1920 B Summation Game Question Solution
396 1920 A Satisfying Constraints Question Solution
397 1921 D Very Different Array Question Solution
398 1921 B Arranging Cats Question Solution
399 1921 A Square Question Solution
400 1921 C Sending Messages Question Solution
401 1923 A Moving Chips Question Solution
402 1923 B Monsters Attack! Question Solution
403 1927 D Find the Different Ones! Question Solution
404 1927 C Choose the Different Ones Question Solution
405 1927 E Klever Permutation Question Solution
406 1927 A Make it White Question Solution
407 1927 B Following the String Question Solution
408 1928 B Equalize Question Solution
409 1928 A Rectangle Cutting Question Solution
410 1929 A Sasha and the Beautiful Array Question Solution
411 1929 B Sasha and the Drawing Question Solution
412 1930 B Permutation Printing Question Solution
413 1930 A Maximise The Score Question Solution
414 1931 A Recovering a Small String Question Solution
415 1931 B Make Equal Question Solution
416 1931 C Make Equal Again Question Solution
417 1933 C Turtle Fingers Count the Values of k Question Solution
418 1933 A Turtle Puzzle Rearrange and Negate Question Solution
419 1933 B Turtle Math Fast Three Task Question Solution
420 1945 A Setting up Camp Question Solution
421 1954 C Long Multiplication Question Solution
422 1955 C Inhabitant of the Deep Sea Question Solution
423 1955 B Progressive Square Question Solution
424 1955 E Long Inversions Question Solution
425 1955 D Inaccurate Subsequence Search Question Solution
426 1955 A Yogurt Sale Question Solution
427 1955 F Unfair Game Question Solution
428 1956 B Nene and the Card Game Question Solution
429 1956 C Nene's Magical Matrix Question Solution
430 1956 A Nene's Game Question Solution
431 1957 B A BIT of a Construction Question Solution
432 1957 A Stickogon Question Solution
433 1957 C How Does the Rook Move Question Solution
434 1968 B Prefiquence Question Solution
435 1968 F Equal XOR Segments Question Solution
436 1968 G1 Division + LCP (easy version) Question Solution
437 1968 C Assembly via Remainders Question Solution
438 1968 D Permutation Game Question Solution
439 1968 A Maximize Question Solution
440 1968 E Cells Arrangement Question Solution
441 1969 A Two Friends Question Solution
442 1969 B Shifts and Sorting Question Solution
443 1970 A1 Balanced Shuffle (Easy) Question Solution
444 1971 E Find the Car Question Solution
445 1971 A My First Sorting Problem Question Solution
446 1971 D Binary Cut Question Solution
447 1971 C Clock and Strings Question Solution
448 1971 F Circle Perimeter Question Solution
449 1971 B Different String Question Solution
450 1971 G XOUR Question Solution
451 1976 B Increase Decrease Copy Question Solution
452 1976 A Verify Password Question Solution
453 1977 A Little Nikita Question Solution
454 1978 B New Bakery Question Solution
455 1978 A Alice and Books Question Solution
456 1979 C Earning on Bets Question Solution
457 1979 B XOR Sequences Question Solution
458 1979 A Guess the Maximum Question Solution
459 1980 A Problem Generator Question Solution
460 1980 B Choosing Cubes Question Solution
461 1980 D GCD-sequence Question Solution
462 1980 C Sofia and the Lost Operations Question Solution
463 1981 B Turtle and an Infinite Sequence Question Solution
464 1981 C Turtle and an Incomplete Sequence Question Solution
465 1981 A Turtle and Piggy Are Playing a Game Question Solution
466 1982 B Collatz Conjecture Question Solution
467 1982 C Boring Day Question Solution
468 1982 D Beauty of the mountains Question Solution
469 1982 A Soccer Question Solution
470 1983 F array-value Question Solution
471 1985 E Secret Box Question Solution
472 1985 B Maximum Multiple Sum Question Solution
473 1985 A Creating Words Question Solution
474 1985 F Final Boss Question Solution
475 1985 G D-Function Question Solution
476 1985 D Manhattan Circle Question Solution
477 1985 C Good Prefixes Question Solution
478 1986 E Beautiful Array Question Solution
479 1986 C Update Queries Question Solution
480 1986 A X Axis Question Solution
481 1986 B Matrix Stabilization Question Solution
482 1986 D Mathematical Problem Question Solution
483 1988 B Make Majority Question Solution
484 1988 A Split the Multiset Question Solution
485 1989 A Catch the Coin Question Solution
486 1989 C Two Movies Question Solution
487 1989 B Substring and Subsequence Question Solution
488 1991 C Absolute Zero Question Solution
489 1991 B AND Reconstruction Question Solution
490 1991 A Maximize the Last Element Question Solution
491 1992 B Angry Monk Question Solution
492 1992 C Gorilla and Permutation Question Solution
493 1992 A Only Pluses Question Solution
494 1993 A Question Marks Question Solution
495 1993 B Parity and Sum Question Solution
496 1996 D Fun Question Solution
497 1996 B Scale Question Solution
498 1996 A Legs Question Solution
499 1996 C Sort Question Solution
500 1997 D Maximize the Root Question Solution
501 1997 B Make Three Regions Question Solution
502 1997 C Even Positions Question Solution
503 1997 A Strong Password Question Solution
504 1999 D Slavic's Exam Question Solution
505 1999 B Card Game Question Solution
506 1999 C Showering Question Solution
507 1999 A A+B Again Question Solution
508 2000 C Numeric String Template Question Solution
509 2000 B Seating in a Bus Question Solution
510 2000 A Primary Task Question Solution
511 2007 A Dora's Set Question Solution
512 2007 B Index and Maximum Value Question Solution
513 2007 C Dora and C++ Question Solution
514 2008 D Sakurako's Hobby Question Solution
515 2008 C Longest Good Array Question Solution
516 2008 B Square or Not Question Solution
517 2008 A Sakurako's Exam Question Solution
518 2009 D Satyam and Counting Question Solution
519 2009 A Minimize! Question Solution
520 2009 B osu!mania Question Solution
521 2009 C The Legend of Freya the Frog Question Solution
522 2014 B Robin Hood and the Major Oak Question Solution
523 2014 C Robin Hood in Town Question Solution
524 2014 A Robin Helps Question Solution
525 2020 B Brightness Begins Question Solution
526 2020 C Bitwise Balancing Question Solution
527 2020 A Find Minimum Operations Question Solution
528 2022 A Bus to Pénjamo Question Solution
529 2022 B Kar Salesman Question Solution
530 2024 A Profitable Interest Rate Question Solution
531 2024 C Concatenation of Arrays Question Solution
532 2025 A Two Screens Question Solution
533 2025 C New Game Question Solution
534 2025 B Binomial Coefficients, Kind Of Question Solution
535 2026 B Black Cells Question Solution
536 2026 C Action Figures Question Solution
537 2026 A Perpendicular Segments Question Solution
538 2033 A Sakurako and Kosuke Question Solution
539 2042 B Game with Colored Marbles Question Solution
540 2042 A Greedy Monocarp Question Solution
541 2044 C Hard Problem Question Solution
542 2044 A Easy Problem Question Solution
543 2044 B Normal Problem Question Solution
544 2044 G1 Medium Demon Problem (easy version) Question Solution
545 2044 E Insane Problem Question Solution
546 2044 D Harder Problem Question Solution
547 2048 E Kevin and Bipartite Graph Question Solution
548 2048 D Kevin and Competition Memories Question Solution
549 2053 A Tender Carpenter Question Solution
550 2055 B Crafting Question Solution
551 2055 A Two Frogs Question Solution
552 2056 B Find the Permutation Question Solution
553 2056 A Shape Perimeter Question Solution
554 2057 A MEX Table Question Solution
555 2057 B Gorilla and the Exam Question Solution
556 2059 B Cost of the Array Question Solution
557 2059 A Milya and Two Arrays Question Solution
558 2060 C Game of Mathletes Question Solution
559 2060 D Subtract Min Sort Question Solution
560 2060 B Farmer John's Card Game Question Solution
561 2060 E Graph Composition Question Solution
562 2060 A Fibonacciness Question Solution
563 2061 A Kevin and Arithmetic Question Solution
564 2062 C Cirno and Operations Question Solution
565 2062 B Clockwork Question Solution
566 2062 A String Question Solution
567 2065 C2 Skibidus and Fanum Tax (hard version) Question Solution
568 2065 E Skibidus and Rizz Question Solution
569 2065 C1 Skibidus and Fanum Tax (easy version) Question Solution
570 2065 B Skibidus and Ohio Question Solution
571 2065 D Skibidus and Sigma Question Solution
572 2065 A Skibidus and Amog'u Question Solution
573 2067 C Devyatkino Question Solution
574 2067 A Adjacent Digit Sums Question Solution
575 2067 B Two Large Bags Question Solution
576 2072 B Having Been a Treasurer in the Past, I Help Goblins Deceive Question Solution
577 2072 A New World, New Me, New Array Question Solution
578 2078 B Vicious Labyrinth Question Solution
579 2078 C Breach of Faith Question Solution
580 2078 A Final Verdict Question Solution
581 2093 G Shorten the Array Question Solution
582 2094 G Chimpanzini Bananini Question Solution
583 2121 B Above the Clouds Question Solution
584 2121 A Letter Home Question Solution
585 2134 B Add 0 or K Question Solution
586 2134 A Painting With Two Colors Question Solution
587 2134 C Even Larger Question Solution
588 2136 A In the Dream Question Solution
589 2136 B Like the Bitset Question Solution
590 2137 D Replace with Occurrences Question Solution
591 2137 B Fun Permutation Question Solution
592 2137 A Collatz Conjecture Question Solution
593 2137 C Maximum Even Sum Question Solution
594 2139 C Cake Assignment Question Solution
595 2139 A Maple and Multiplication Question Solution
596 2139 B Cake Collection Question Solution
597 2143 A All Lengths Subtraction Question Solution
598 2143 C Max Tree Question Solution
599 2143 B Discounts Question Solution
600 2144 C Non-Descending Arrays Question Solution
601 2144 A Cut the Array Question Solution
602 2144 B Maximum Cost Permutation Question Solution
603 2148 D Destruction of the Dandelion Fields Question Solution
604 2148 A Sublime Sequence Question Solution
605 2148 B Lasers Question Solution
606 2148 C Pacer Question Solution
607 2152 C Triple Removal Question Solution
608 2152 B Catching the Krug Question Solution
609 2152 A Increase or Smash Question Solution
610 2156 C Maximum GCD on Whiteboard Question Solution
611 2156 A Pizza Time Question Solution
612 2156 B Strange Machine Question Solution
613 2158 B Split Question Solution
614 2158 A Suspension Question Solution
615 2160 A MEX Partition Question Solution
616 2160 C Reverse XOR Question Solution
617 2160 B Distinct Elements Question Solution
618 2163 B Siga ta Kymata Question Solution
619 2170 C Quotient and Remainder Question Solution
620 2170 A Maximum Neighborhood Question Solution
621 2170 B Addition on a Segment Question Solution
622 2183 D1 Tree Coloring (Easy Version) Question Solution
623 2183 A Binary Array Game Question Solution
624 2183 C War Strategy Question Solution
625 2184 C Huge Pile Question Solution
626 2184 B Hourglass Question Solution
627 2184 A Social Experiment Question Solution
628 2188 B Seats Question Solution
629 2188 A Divisible Permutation Question Solution
630 2193 A DBMB and the Array Question Solution
631 2193 C Replace and Sum Question Solution
632 2193 B Reverse a Permutation Question Solution
633 2197 A Blackslex and Password Question Solution
634 2197 E Blackslex and Girls Question Solution
635 2197 D Blackslex and Penguin Civilization Question Solution
636 2197 C Blackslex and Number Theory Question Solution
637 2197 B Blackslex and Showering Question Solution
638 2200 E Divisive Battle Question Solution
639 2200 C Specialty String Question Solution
640 2200 B Deletion Sort Question Solution
641 2200 D Portal Question Solution
642 2200 A Eating Game Question Solution
643 2203 B Beautiful Numbers Question Solution
644 2203 A Towers of Boxes Question Solution
645 2203 D Divisibility Game Question Solution
646 2203 C Test Generator Question Solution
647 2217 B Flip the Bit (Easy Version) Question Solution
648 2250 C Rank Subsequence Question Solution
649 2250 A Threshold Movement Question Solution
650 2250 B String Construction Question Solution

About Me 👀

I am Shazid Mashrafi.
I am currently studying Computer Science and Engineering & trying to work my way up in the programming world.
Visit my Website and Codeforces account.

Releases

Packages

Contributors

Languages