# Codeforces Solutions This repository contains my source codes of Codeforces problems. They are in C++ language. Feel free to check these codes out.
## Index | Problem ID | Problem Name | Question | Solution | | :--------: | :----------: | :------: | :------: | | 1A | Theater Square | [Question](https://codeforces.com/contest/1/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1A%20Theater%20Square/1A.cpp) | 4A | Watermelon | [Question](https://codeforces.com/contest/4/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/4A%20Watermelon/4A.cpp) | 4C | Registration System | [Question](https://codeforces.com/problemset/problem/4/C) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/4C%20Registration%20System/4C.cpp) | 11A | Increasing Sequence | [Question](https://codeforces.com/contest/11/problem/A) | | 22A | Second Order Statistics | [Question](https://codeforces.com/contest/22/problem/A) | | 34B | Sale | [Question](https://codeforces.com/problemset/problem/34/B) | | 34A | Reconnaissance 2 | [Question](https://codeforces.com/contest/34/problem/A) | | 41A | Translation | [Question](https://codeforces.com/problemset/problem/41/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/41A%20Translation/41A.cpp) | 50A | Domino Piling | [Question](https://codeforces.com/contest/50/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/50A%20DominoPiling/50A.cpp) | 59A | Word | [Question](https://codeforces.com/problemset/problem/59/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/59A%20Word/59A.cpp) | 71A | Way Too Long Words | [Question](https://codeforces.com/contest/71/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/71A%20Way%20Too%20Long%20Words/71A.cpp) |110A | Nearly Lucky Number | [Question](https://codeforces.com/problemset/problem/110/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/110A%20Nearly%20Lucky%20Number/110A.cpp) | 112A | Petya And Strings | [Question](https://codeforces.com/contest/112/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/112A%20Petya%20And%20Strings/112A.cpp) | 116A | Tram | [Question](https://codeforces.com/problemset/problem/116/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/116A%20Tram/116A.cpp) | 122A | Lucky Division | [Question](https://codeforces.com/problemset/problem/122/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/122A%20Lucky%20Division/122A.cpp) | 122B | Lucky Substring | [Question](https://codeforces.com/problemset/problem/122/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/122B%20Lucky%20Substring/122B.cpp) | 131A | cAPS lOCK | [Question](https://codeforces.com/problemset/problem/131/A) | | 141A | Amusing Joke | [Question](https://codeforces.com/problemset/problem/141/A) | | 144A | Arrival of the General | [Question](https://codeforces.com/contest/144/problem/A) | | 148A | Insomnia cure | [Question](https://codeforces.com/problemset/problem/148/A) | | 151A | Soft Drinking | [Quesion](https://codeforces.com/problemset/problem/151/A) | | 155A | I_love_\%username\% | [Question](https://codeforces.com/problemset/problem/155/A) | | 158A | Next Round | [Question](https://codeforces.com/contest/158/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/158A%20Next%20Round/158A.cpp) | 158B | Taxi | [Question](https://codeforces.com/problemset/problem/158/B) | | 189A | Cut Ribbon | [Question](https://codeforces.com/contest/189/problem/A) | | 208A | Dubstep | [Question](https://codeforces.com/problemset/problem/208/A) | | 230B | T-primes | [Question](https://codeforces.com/problemset/problem/230/B) | | 231A | Team | [Question](https://codeforces.com/contest/231/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/231A%20Team/231A.cpp) | 236A | Boy Or Girl | [Question](https://codeforces.com/contest/236/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/236A%20Boy%20Or%20Girl/236A.cpp) | 263A | Beautiful Matrix | [Question](https://codeforces.com/contest/263/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/tree/master/263A%20Beautiful%20Matrix) | 266A | Stones on the Table | [Question](https://codeforces.com/problemset/problem/266/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/266A%20Stones%20on%20the%20Table/266A.cpp) | 266B | Queue at the School | [Question](https://codeforces.com/problemset/problem/266/B) | | 271A | Beautiful Year | [Question](https://codeforces.com/problemset/problem/271/A) | | 281A | Word Capitalization | [Question](https://codeforces.com/contest/281/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/281A%20Word%20Capitalization/281A.cpp) | 282A | Bit++ | [Question](https://codeforces.com/contest/282/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/282A%20Bit%2B%2B/282A.cpp) | 339A | Helpful Maths | [Question](https://codeforces.com/contest/339/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/339A%20Helpful%20Maths/339A.cpp) | 411A | Password Check | [Question](https://codeforces.com/problemset/problem/411/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/411A%20Password%20Check/411A.cpp) | 486A | Calculating Function | [Question](https://codeforces.com/contest/486/problem/A) | | 492A | Vanya and Cubes | [Question](https://codeforces.com/problemset/problem/492/A) | 525A | Vitaliy and Pie | [Question](https://codeforces.com/problemset/problem/525/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/525A%20Vitaliy%20and%20Pie/525A.cpp) | 546A | Soldier and Bananas | [Question](https://codeforces.com/contest/546/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/546A%20Soldier%20and%20Bananas/546A.cpp) | 584A | Olesya and Rodion | [Question](https://codeforces.com/contest/584/problem/A) | | 617A | Elephant | [Question](https://codeforces.com/contest/617/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/617A%20Elephant/617A.cpp) | 677A | Vanya and Fence | [Question](https://codeforces.com/problemset/problem/677/A) | | 706B | Interesting drink | [Question](https://codeforces.com/problemset/problem/706/B) | | 734A | Anton and Danik | [Question](https://codeforces.com/problemset/problem/734/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/734A%20Anton%20and%20Danik/734A.cpp) | 791A | Bear And Big Brother | [Question](https://codeforces.com/contest/791/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/791A%20Bear%20And%20Big%20Brother/791A.cpp) | 977A | Wrong Substraction | [Question](https://codeforces.com/problemset/problem/977/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/977A%20Wrong%20Substraction/977A.cpp) | 1311A | Add Odd or Subtract Even | [Question](https://codeforces.com/problemset/problem/1311/A) | | 1343B | Balanced Array | [Question](https://codeforces.com/contest/1343/problem/B) | | 1367B | Even Array | [Question](https://codeforces.com/problemset/problem/1367/B) | | 1389A | LCM Problem | [Question](https://codeforces.com/problemset/problem/1389/A) | | 1426A | Floor Number | [Question](https://codeforces.com/contest/1426/problem/A) | | 1512A | Spy Detected! | [Question](https://codeforces.com/problemset/problem/1512/A) | | 1624B | Make AP | [Question](https://codeforces.com/contest/1624/problem/B) | | 1692A | Marathon | [Question](https://codeforces.com/problemset/problem/1692/A) | | 1676A | Lucky? | [Question](https://codeforces.com/problemset/problem/1676/A) | | 1719A | Chip Game | [Question](https://codeforces.com/contest/1719/problem/A) | | 1721B | Deadly Lasers | [Question](https://codeforces.com/problemset/problem/1721/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1721B%20Deadly%20Laser/1721B.cpp) | 1742A | Sum | [Question](https://codeforces.com/problemset/problem/1742/A) | | 1742C | Stripes | [Question](https://codeforces.com/problemset/problem/1742/C) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1742C%20Stripes/1742C.cpp) | 1746B | Rebellion | [Question](https://codeforces.com/problemset/problem/1746/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1746B%20Rebellion/1746B.cpp) | 1758B | XOR = Average | [Question](https://codeforces.com/problemset/problem/1758/B) | | 1773F | Football | [Question](https://codeforces.com/contest/1773/problem/F) | | 1791B | Following Directions | [Question](https://codeforces.com/problemset/problem/1791/B) | | 1792A | Gaming Forces | [Question](https://codeforces.com/problemset/problem/1792/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1792A%20Gaming%20Forces/1792A.cpp) | 1800A | Is It a Cat? | [Question](https://codeforces.com/contest/1800/problem/A) | | 1811A | Insert Digit | [Question](https://codeforces.com/problemset/problem/1811/A) | | 1818B | Indivisible | [Question](https://codeforces.com/problemset/problem/1818/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1818B%20Indivisible/1818B.cpp) | 1822A | TubeTube Feed | [Question](https://codeforces.com/problemset/problem/1822/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1822A%20TubeTube%20Feed/1822A.cpp) | 1828A | Divisible Array | [Question](https://codeforces.com/problemset/problem/1828/A) | | 1828B | Permutation Swap | [Question](https://codeforces.com/problemset/problem/1828/B) | | 1829A | Love Story | [Question](https://codeforces.com/contest/1829/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/tree/master/1829A%20Love%20Story) | 1829B | Blank Spaces | [Question](https://codeforces.com/contest/1829/problem/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1829B%20Blank%20Spaces/1829B.cpp) | 1829C | Mr. Perfectly Fine | [Question](https://codeforces.com/problemset/problem/1829/C) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1829C%20Mr.%20Perfectly%20Fine/1829C.cpp) | 1829D | Gold Rush | [Question](https://codeforces.com/problemset/problem/1829/D) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1829D%20Gold%20Rush/1829D.cpp) | 1833C | Vlad Building Beautiful Array | [Question](https://codeforces.com/contest/1833/problem/C) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1833C%20Vlad%20Building%20Beautiful%20Array/1833C.cpp) | 1841B | Keep it Beautiful | [Question](https://codeforces.com/problemset/problem/1841/B) | | 1843A | Sasha and Array Coloring | [Question](https://codeforces.com/contest/1843/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1843A%20Sasha%20and%20Array%20Coloring/1843A.cpp) | 1844A | Subtraction Game | [Question](https://codeforces.com/contest/1844/problem/A) | | 1845A | Forbidden Integer | [Question](https://codeforces.com/problemset/problem/1845/A) | | 1846A | Rudolph and Cut the Rope | [Question](https://codeforces.com/contest/1846/problem/A) | | 1846B | Rudolph and Tic-Tac-Toe | [Question](https://codeforces.com/contest/1846/problem/B) | | 1846C | Rudolf and the Another Competition | [Question](https://codeforces.com/contest/1846/problem/C) | | 1848A | Vika and Her Friends | [Question](https://codeforces.com/contest/1848/problem/A) | | 1849A | Morning Sandwich | [Question](https://codeforces.com/problemset/problem/1849/A) | | 1850A | To My Critics | [Question](https://codeforces.com/contest/1850/problem/A) | | 1850B | Ten Words of Wisdom | [Question](https://codeforces.com/contest/1850/problem/B) | | 1850C | Word on the Paper | [Question](https://codeforces.com/contest/1850/problem/C) | | 1851A | Escalator Conversations | [Question](https://codeforces.com/problemset/problem/1851/A) | | 1851B | Parity Sort | [Question](https://codeforces.com/problemset/problem/1851/B) | | 1853A | Desorting | [Question](https://codeforces.com/contest/1853/problem/A)
## 🚀 About Me I am Shazid, studying Computer Science and Engineering. I am trying to work my way up in the programming world. Here is my [Github account](https://github.com/ShazidMashrafi) & my [Codeforces account ](https://codeforces.com/profile/shazid456). Want to know more about me? Visit [My website](https://shazidmashrafi.com).