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