27 KiB
27 KiB
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 |
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 |
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 |
677A | Vanya and Fence | Question | Solution |
706B | Interesting drink | Question | Solution |
734A | Anton and Danik | Question | Solution |
791A | Bear And Big Brother | Question | Solution |
855A | Tom Riddle's Diary | Question | Solution |
977A | Wrong Substraction | Question | Solution |
1068A | Birthday | Question | Solution |
1196A | Three Piles of Candies | Question | Solution |
1295A | Display The Number | 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 |
1367B | Even Array | Question | Solution |
1360B | Honest Coach | 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 |
1676A | Lucky? | Question | Solution |
1692A | Marathon | Question | Solution |
1703A | YES or YES? | Question | Solution |
1719A | Chip Game | Question | Solution |
1721B | Deadly Lasers | Question | Solution |
1742A | Sum | Question | Solution |
1742C | Stripes | Question | Solution |
1746B | Rebellion | 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 |
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 |
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 |
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 |
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 |
1853A | Desorting | Question | Solution |
1855A | Dalton the Teacher | Question | Solution |
1856B | Good Arrays | Question | [Solution] |
1857A | Array Coloring | Question | [Solution] |
1858A | Buttons | Question | [Solution] |
1859A | United We Stand | Question | [Solution] |
1862A | Gift Carpet | 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] |
1878A | How Much Does Daytona Cost? | Question | [Solution] |
1878B | Aleksa and Stack | Question | [Solution] |
1878C | Vasilije in Cacak | Question | [Solution] |
1879A | Rigged! | Question | [Solution] |
1881A | Don't Try to Count | Question | [Solution] |
1881B | Three Threadlets | Question | [Solution] |
1881C | Perfect Square | 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.