Go to file
2023-12-31 16:22:07 +06:00
Codes changed file name of 1873D 2023-12-31 16:06:40 +06:00
Readme Generator Assets deleted python script 2023-12-31 16:20:23 +06:00
Template update to names of template 2023-12-28 18:48:34 +06:00
.gitignore Deleted generator file 2023-12-31 16:22:07 +06:00
Readme.md update to readme 2023-12-31 16:13:57 +06:00

Codeforces Solutions

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

If this repository helped you out, please consider giving it a

Index

Sorted by Problem ID

Problem ID Problem Name Question Solution
1 A Theater Square Question Solution
2 A Winner Question Solution
4 A Watermelon Question Solution
4 C Registration System Question Solution
9 A Die Roll Question Solution
11 A Increasing Sequence Question Solution
22 A Second Order Statistics Question Solution
34 A Reconnaissance 2 Question Solution
34 B Sale Question Solution
41 A Translation Question Solution
45 A Codecraft III Question Solution
50 A DominoPiling Question Solution
59 A Word Question Solution
71 A Way Too Long Words Question Solution
74 A Room Leader Question Solution
110 A Nearly Lucky Number Question Solution
112 A Petya And Strings Question Solution
116 A Tram Question Solution
118 B Present from Lena Question Solution
122 A Lucky Division Question Solution
122 B Lucky Substring Question Solution
131 A cAPS lOCK Question Solution
136 A Presents Question Solution
141 A Amusing Joke Question Solution
144 A Arrival of the General Question Solution
148 A Insomnia cure Question Solution
151 A Soft Drinking Question Solution
155 A I_love_%username% Question Solution
158 A Next Round Question Solution
158 B Taxi Question Solution
189 A Cut Ribbon Question Solution
200 B Drinks Question Solution
208 A Dubstep Question Solution
230 B T-primes Question Solution
231 A Team Question Solution
236 A Boy Or Girl Question Solution
263 A Beautiful Matrix Question Solution
266 A Stones on the Table Question Solution
266 B Queue at the School Question Solution
268 A Games Question Solution
271 A Beautiful Year Question Solution
281 A Word Capitalization Question Solution
282 A Bit++ Question Solution
313 A Ilya and Bank Account Question Solution
318 A Even Odds Question Solution
339 A Helpful Maths Question Solution
344 A Magnets Question Solution
349 A Cinema Line Question Solution
411 A Password Check Question Solution
421 A Pasha and Hamsters Question Solution
456 B Fedya and Maths Question Solution
474 B Worms Question Solution
486 A Calculating Function Question Solution
492 A Vanya and Cubes Question Solution
492 B Vanya and Lanterns Question Solution
510 A Fox And Snake Question Solution
525 A Vitaliy and Pie Question Solution
546 A Soldier and Bananas Question Solution
584 A Olesya and Rodion Question Solution
599 A Patrick and Shopping Question Solution
617 A Elephant Question Solution
630 A Again Twenty Five! Question Solution
677 A Vanya and Fence Question Solution
705 A Hulk Question Solution
706 B Interesting drink Question Solution
734 A Anton and Danik Question Solution
742 A Arpas hard exam and Mehrdads naive cheat Question Solution
791 A Bear And Big Brother Question Solution
854 A Fraction Question Solution
855 A Tom Riddle's Diary Question Solution
977 A Wrong Substraction Question Solution
1068 A Birthday Question Solution
1118 B Tanya and Candies Question Solution
1144 C Two Shuffled Sequences Question Solution
1196 A Three Piles of Candies Question Solution
1295 A Display The Number Question Solution
1296 A Array with Odd Sum Question Solution
1311 A Add Odd or Subtract Even Question Solution
1328 A Divisibility Problem Question Solution
1341 A Nastya and Rice Question Solution
1343 B Balanced Array Question Solution
1360 B Honest Coach Question Solution
1364 A XXXXX Question Solution
1367 B Even Array Question Solution
1389 A LCM Problem Question Solution
1399 A Remove Smallest Question Solution
1426 A Floor Number Question Solution
1512 A Spy Detected! Question Solution
1582 B Luntik and Subsequences Question Solution
1624 B Make AP Question Solution
1633 A Div. 7 Question Solution
1676 A Lucky Question Solution
1692 A Marathon Question Solution
1703 A YES or YES Question Solution
1719 A Chip Game Question Solution
1719 B Mathematical Circus Question Solution
1721 B Deadly Laser Question Solution
1742 A Sum Question Solution
1742 C Stripes Question Solution
1746 B Rebellion Question Solution
1748 A The Ultimate Square Question Solution
1758 B XOR = Average Question Solution
1760 A Medium Number Question Solution
1773 F Football Question Solution
1791 B Following Directions Question Solution
1792 A Gaming Forces Question Solution
1795 B Ideal Point Question Solution
1800 A Is It a Cat Question Solution
1811 A Insert Digit Question Solution
1814 A Coins Question Solution
1818 B Indivisible Question Solution
1822 A TubeTube Feed Question Solution
1822 C Bun Lover Question Solution
1828 A Divisible Array Question Solution
1828 B Permutation Swap Question Solution
1829 A Love Story Question Solution
1829 B Blank Spaces Question Solution
1829 C Mr. Perfectly Fine Question Solution
1829 D Gold Rush Question Solution
1832 A New Palindrome Question Solution
1833 A Musical Puzzle Question Solution
1833 B Restore the Weather Question Solution
1833 C Vlad Building Beautiful Array Question Solution
1837 A Grasshopper on a Line Question Solution
1837 B Comparison String Question Solution
1841 B Keep it Beautiful Question Solution
1843 A Sasha and Array Coloring Question Solution
1843 B Long Long Question Solution
1844 A Subtraction Game Question Solution
1845 A Forbidden Integer Question Solution
1846 A Rudolph and Cut the Rope Question Solution
1846 B Rudolph and Tic-Tac-Toe Question Solution
1846 C Rudolf and the Another Competition Question Solution
1848 A Vika and Her Friends Question Solution
1849 A Morning Sandwich Question Solution
1849 B Monsters Question Solution
1850 A To My Critics Question Solution
1850 B Ten Words of Wisdom Question Solution
1850 C Word on the Paper Question Solution
1850 D Balanced Round Question Solution
1851 A Escalator Conversations Question Solution
1851 B Parity Sort Question Solution
1851 C Tiles Comeback Question Solution
1853 A Desorting Question Solution
1855 A Dalton the Teacher Question Solution
1855 B Longest Divisors Interval Question Solution
1856 B Good Arrays Question Solution
1857 A Array Coloring Question Solution
1857 B Maximum Rounding Question Solution
1857 C Assembly via Minimums Question Solution
1858 A Buttons Question Solution
1859 A United We Stand Question Solution
1860 A Not a Substring Question Solution
1862 A Gift Carpet Question Solution
1862 B Sequence Game Question Solution
1863 A Channel Question Solution
1864 A Increasing and Decreasing Question Solution
1866 A Ambitious Kid Question Solution
1869 A Make It Zero Question Solution
1870 A MEXanized Array Question Solution
1872 A Two Vessels Question Solution
1872 B The Corridor or There and Back Again Question Solution
1872 C Non-coprime Split Question Solution
1873 A Short Sort Question Solution
1873 B Good Kid Question Solution
1873 C Target Practice Question Solution
1873 D 1D Eraser Question Solution
1875 A Jellyfish and Undertale Question Solution
1878 A How Much Does Daytona Cost Question Solution
1878 B Aleksa and Stack Question Solution
1878 C Vasilije in Cacak Question Solution
1879 A Rigged! Question Solution
1879 B Chips on the Board Question Solution
1881 A Don't Try to Count Question Solution
1881 B Three Threadlets Question Solution
1881 C Perfect Square Question Solution
1883 B Chemistry Question Solution
1894 A Secret Sport Question Solution
1895 A Treasure Chest Question Solution
1895 B Points and Minimum Distance Question Solution
1896 A Jagged Swaps Question Solution
1896 B AB Flipping Question Solution
1898 A Milica and String Question Solution
1899 A Game with Integers Question Solution
1900 A Cover in Water Question Solution
1900 B Laura and Operations Question Solution
1901 A Line Trip Question Solution
1902 A Binary Imbalance Question Solution
1903 A Halloumi Boxes Question Solution
1904 A Forked! Question Solution
1904 B Collecting Game Question Solution
1905 A Constructive Problems Question Solution
1905 B Begginer's Zelda Question Solution
1905 C Largest Subsequence Question Solution
1907 A Rook Question Solution
1907 B YetnotherrokenKeoard Question Solution
1907 C Removal of Unattractive Pairs Question Solution
1909 A Distinct Buttons Question Solution
1912 L LOL Lovers Question Solution
1913 A Rating Increase Question Solution
1913 B Swap and Delete Question Solution
1913 C Game with Multiset Question Solution
1914 A Problemsolving Log Question Solution
1914 B Preparing for the Contest Question Solution
1914 C Quests Question Solution
1914 D Three Activities Question Solution
1914 E1 Game with Marbles (Easy Version) Question Solution
1914 E2 Game with Marbles (Hard Version) Question Solution
1915 A Odd One Out Question Solution
1915 B Not Quite Latin Square Question Solution
1915 C Can I Square Question Solution
1915 D Unnatural Language Processing Question Solution
1915 E Romantic Glasses Question Solution
1916 A 2023 Question Solution
1916 B Two Divisors Question Solution
1917 A Least Product Question Solution
1917 B Erase First or Second Letter 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.