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