diff --git a/Readme.md b/Readme.md index 9551a89..22a53d2 100644 --- a/Readme.md +++ b/Readme.md @@ -12,10 +12,10 @@ Feel free to check these codes out. | 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) | +| 11A | Increasing Sequence | [Question](https://codeforces.com/contest/11/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/11A%20Increasing%20Sequence/11A.cpp) +| 22A | Second Order Statistics | [Question](https://codeforces.com/contest/22/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/22A%20Second%20Order%20Statistics/22A.cpp) +| 34A | Reconnaissance 2 | [Question](https://codeforces.com/contest/34/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/34A%20Reconnaissance%202/34A.cpp) +| 34B | Sale | [Question](https://codeforces.com/problemset/problem/34/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/34B%20Sale/34B.cpp) | 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) @@ -25,84 +25,84 @@ Feel free to check these codes out. | 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) | +| 131A | cAPS lOCK | [Question](https://codeforces.com/problemset/problem/131/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/131A%20cAPS%20lOCK/131A.cpp) +| 136A | Presents | [Question](https://codeforces.com/problemset/problem/136/A)) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/136A%20Presents/136A.cpp) +| 141A | Amusing Joke | [Question](https://codeforces.com/problemset/problem/141/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/141A%20Amusing%20Joke/141A.cpp) +| 144A | Arrival of the General | [Question](https://codeforces.com/contest/144/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/144A%20Arrival%20of%20the%20General/144A.cpp) +| 148A | Insomnia cure | [Question](https://codeforces.com/problemset/problem/148/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/148A%20Insomnia%20cure/148A.cpp) +| 151A | Soft Drinking | [Quesion](https://codeforces.com/problemset/problem/151/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/151A%20Soft%20Drinking/151A.cpp) +| 155A | I_love_\%username\% | [Question](https://codeforces.com/problemset/problem/155/A) | [Question](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/155A%20-%20I_love_%25username%25/155A.cpp) | 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) | +| 158B | Taxi | [Question](https://codeforces.com/problemset/problem/158/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/158B%20Taxi/158B.cpp) +| 189A | Cut Ribbon | [Question](https://codeforces.com/contest/189/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/189A%20Cut%20Ribbon/189A.cpp) +| 208A | Dubstep | [Question](https://codeforces.com/problemset/problem/208/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/208A%20Dubstep/208A.cpp) +| 230B | T-primes | [Question](https://codeforces.com/problemset/problem/230/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/230B%20T-primes/230B.cpp) | 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) | +| 266B | Queue at the School | [Question](https://codeforces.com/problemset/problem/266/B) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/266B%20Queue%20at%20the%20School/266B.cpp) +| 271A | Beautiful Year | [Question](https://codeforces.com/problemset/problem/271/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/271A%20Beautiful%20Year/271A.cpp) | 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) +| 486A | Calculating Function | [Question](https://codeforces.com/contest/486/problem/A) | [Solution] +| 492A | Vanya and Cubes | [Question](https://codeforces.com/problemset/problem/492/A) | [Solution] | 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) | +| 584A | Olesya and Rodion | [Question](https://codeforces.com/contest/584/problem/A) | [Solution] | 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) | +| 677A | Vanya and Fence | [Question](https://codeforces.com/problemset/problem/677/A) | [Solution] +| 706B | Interesting drink | [Question](https://codeforces.com/problemset/problem/706/B) | [Solution] | 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) | +| 1311A | Add Odd or Subtract Even | [Question](https://codeforces.com/problemset/problem/1311/A) | [Solution] +| 1343B | Balanced Array | [Question](https://codeforces.com/contest/1343/problem/B) | [Solution] +| 1367B | Even Array | [Question](https://codeforces.com/problemset/problem/1367/B) | [Solution] +| 1389A | LCM Problem | [Question](https://codeforces.com/problemset/problem/1389/A) | [Solution] +| 1426A | Floor Number | [Question](https://codeforces.com/contest/1426/problem/A) | [Solution] +| 1512A | Spy Detected! | [Question](https://codeforces.com/problemset/problem/1512/A) | [Solution] +| 1624B | Make AP | [Question](https://codeforces.com/contest/1624/problem/B) | [Solution] +| 1692A | Marathon | [Question](https://codeforces.com/problemset/problem/1692/A) | [Solution] +| 1676A | Lucky? | [Question](https://codeforces.com/problemset/problem/1676/A) | [Solution] +| 1719A | Chip Game | [Question](https://codeforces.com/contest/1719/problem/A) | [Solution] | 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) | +| 1742A | Sum | [Question](https://codeforces.com/problemset/problem/1742/A) | [Solution] | 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) | +| 1758B | XOR = Average | [Question](https://codeforces.com/problemset/problem/1758/B) | [Solution] +| 1773F | Football | [Question](https://codeforces.com/contest/1773/problem/F) | [Solution] +| 1791B | Following Directions | [Question](https://codeforces.com/problemset/problem/1791/B) | [Solution] | 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) | +| 1800A | Is It a Cat? | [Question](https://codeforces.com/contest/1800/problem/A) | [Solution] +| 1811A | Insert Digit | [Question](https://codeforces.com/problemset/problem/1811/A) | [Solution] | 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) | +| 1828A | Divisible Array | [Question](https://codeforces.com/problemset/problem/1828/A) | [Solution] +| 1828A | Divisible Array | [Question](https://codeforces.com/problemset/problem/1828/A) | [Solution] | 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) | +| 1841B | Keep it Beautiful | [Question](https://codeforces.com/problemset/problem/1841/B) | [Solution] | 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) | -| 1855A | Dalton the Teacher | [Question](https://codeforces.com/contest/1855/problem/A) | -
+| 1844A | Subtraction Game | [Question](https://codeforces.com/contest/1844/problem/A) | [Solution] +| 1845A | Forbidden Integer | [Question](https://codeforces.com/problemset/problem/1845/A) | [Solution] +| 1846A | Rudolph and Cut the Rope | [Question](https://codeforces.com/contest/1846/problem/A) | [Solution] +| 1846B | Rudolph and Tic-Tac-Toe | [Question](https://codeforces.com/contest/1846/problem/B) | [Solution] +| 1846C | Rudolf and the Another Competition | [Question](https://codeforces.com/contest/1846/problem/C) | [Solution] +| 1848A | Vika and Her Friends | [Question](https://codeforces.com/contest/1848/problem/A) | [Solution] +| 1849A | Morning Sandwich | [Question](https://codeforces.com/problemset/problem/1849/A) | [Solution] +| 1850A | To My Critics | [Question](https://codeforces.com/contest/1850/problem/A) | [Solution] +| 1850B | Ten Words of Wisdom | [Question](https://codeforces.com/contest/1850/problem/B) | [Solution] +| 1850C | Word on the Paper | [Question](https://codeforces.com/contest/1850/problem/C) | [Solution] +| 1851A | Escalator Conversations | [Question](https://codeforces.com/problemset/problem/1851/A) | [Solution] +| 1851B | Parity Sort | [Question](https://codeforces.com/problemset/problem/1851/B) | [Solution] +| 1853A | Desorting | [Question](https://codeforces.com/contest/1853/problem/A) | [Solution] +| 1855A | Dalton the Teacher | [Question](https://codeforces.com/contest/1855/problem/A) | [Solution] ## 🚀 About Me