Skip to content

Latest commit

 

History

History
223 lines (220 loc) · 22.6 KB

README.md

File metadata and controls

223 lines (220 loc) · 22.6 KB

Solutions to Codeforces contests

There are solutions for the following codeforces problems:

Contests (problemset site)

  1. 1627C - Not Assigning (problem site)
  2. 1627B - Not Sitting (problem site)
  3. 1627A - Not Shading (problem site)
  4. 1536D - Omkar and Medians (problem site)
  5. 1536C - Diluc and Kaeya (problem site)
  6. 1536B - Prinzessin der Verurteilung (problem site)
  7. 1536A - Omkar and Bad Story (problem site)
  8. 1517C - Fillomino 2 (problem site)
  9. 1517B - Morning Jogging (problem site)
  10. 1517A - Sum of 2050 (problem site)
  11. 1500B - Two chandeliers (problem site)
  12. 1407E - Egor in the Republic of Dagestan (problem site)
  13. 1407D - Discrete Centrifugal Jumps (problem site)
  14. 1407C - Chocolate Bunny (problem site)
  15. 1407B - Big Vova (problem site)
  16. 1407A - Ahahahahahahahaha (problem site)
  17. 1406E - Deleting Numbers (problem site)
  18. 1406D - Three Sequences (problem site)
  19. 1406C - Link Cut Centroids (problem site)
  20. 1406B - Maximum Product (problem site)
  21. 1406A - Subset Mex (problem site)
  22. 1316D - Nash Matrix (problem site)
  23. 1316C - Primitive Primes (problem site)
  24. 1316B - String Modification (problem site)
  25. 1316A - Grade Allocation (problem site)
  26. 1315C - Restoring Permutation (problem site)
  27. 1315B - Homecoming (problem site)
  28. 1315A - Dead Pixel (problem site)
  29. 1313C2 - Skyscrapers (hard version) (problem site)
  30. 1313C1 - Skyscrapers (easy version) (problem site)
  31. 1313B - Different Rules (problem site)
  32. 1313A - Fast Food Restaurant (problem site)
  33. 1310A - Recommendations (problem site)
  34. 1307D - Cow and Fields (problem site)
  35. 1307A - Cow and Fields (problem site)
  36. 1305E - Kuroni and the Score Distribution (problem site)
  37. 1305D - Kuroni and the Celebration (problem site)
  38. 1305C - Kuroni and Impossible Calculation (problem site)
  39. 1305B - Kuroni and Simple Strings (problem site)
  40. 1305A - Kuroni and the Gifts (problem site)
  41. 1304F1 - F1. Animal Observation (easy version) (problem site)
  42. 1304E - 1-Trees and Queries (problem site)
  43. 1304D - Shortest and Longest LIS (problem site)
  44. 1304C - Air Conditioner (problem site)
  45. 1304B - Longest Palindrome (problem site)
  46. 1304A - Two Rabbits (problem site)
  47. 1300B - Assigning to Classes (problem site)
  48. 1300A - Non-zero (problem site)
  49. 1299C - Water Balance (problem site)
  50. 1299B - Aerodynamic (problem site)
  51. 1299A - Anu Has a Function (problem site)
  52. 1291B - Array Sharpening (problem site)
  53. 1291A - Even But Not Even (problem site)
  54. 1253E - Antenna Coverage (problem site)
  55. 1253D - Harmonious Graph (problem site)
  56. 1253C - Sweets Eating (problem site)
  57. 1253B - Silly Mistake (problem site)
  58. 1253A - Single Push (problem site)
  59. 1242B - 0-1 MST (problem site)
  60. 1228F - One Node is Gone (problem site)
  61. 1228D - Complete Tripartite (problem site)
  62. 1228C - Primes and Multiplication (problem site)
  63. 1228B - Filling the Grid (problem site)
  64. 1228A - Distinct Digits (problem site)
  65. 1227D2 - Optimal Subsequences (Hard Version) (problem site)
  66. 1227D1 - Optimal Subsequences (Easy Version) (problem site)
  67. 1227C - Messy (problem site)
  68. 1223C - Save the Nature (problem site)
  69. 1223B - Strings Equalization (problem site)
  70. 1223A - CME (problem site)
  71. 1208F - Bits and Pieces (problem site)
  72. 1208E - Let Them Slide (problem site)
  73. 1208D - Restore Permutation (problem site)
  74. 1208C - Magic Grid (problem site)
  75. 1208B - Uniqueness (problem site)
  76. 1208A - XORinacci (problem site)
  77. 1204D2 - Kirk and a Binary String (hard version) (problem site)
  78. 1204D1 - Kirk and a Binary String (easy version) (problem site)
  79. 1204C - Anna, Svyatoslav and Maps (problem site)
  80. 1204B - Mislove Has Lost an Array (problem site)
  81. 1204A - BowWow and the Timetable (problem site)
  82. 1201D - Treasure Hunting (problem site)
  83. 1201C - Maximum Median (problem site)
  84. 1201B - Zero Array (problem site)
  85. 1201A - Important Exam (problem site)
  86. 1199B - Water Lily (problem site)
  87. 1199A - City Day (problem site)
  88. 1198B - Welfare State (problem site)
  89. 1198A - MP3 (problem site)
  90. 1195E - OpenStreetMap (problem site)
  91. 1195D1 - Submarine in the Rybinsk Sea (easy edition) (problem site)
  92. 1195C - Basketball Exercise (problem site)
  93. 1195B - Sport Mafia (problem site)
  94. 1195A - Drinks Choosing (problem site)
  95. 1186D - Vus the Cossack and Numbers (problem site)
  96. 1186A - Vus the Cossack and a Contest (problem site)
  97. 1175D - Array Splitting (problem site)
  98. 1169B - Pairs (problem site)
  99. 1169A - Circle Metro (problem site)
  100. 1168A - Increasing by Modulo (problem site)
  101. 1151D - Stas and the Queue at the Buffet (problem site)
  102. 1151C - Problem for Nazar (problem site)
  103. 1151B - Dima and a Bad XOR (problem site)
  104. 1151A - Maxim and Biology (problem site)
  105. 1148E - Earth Wind and Fire (problem site)
  106. 1148D - Dirty Deeds Done Dirt Cheap (problem site)
  107. 1148C - Crazy Diamond (problem site)
  108. 1148B - Born This Way (problem site)
  109. 1148A - Another One Bites The Dust (problem site)
  110. 1131F - Asya And Kittens (problem site)
  111. 1131D - Gourmet choice (problem site)
  112. 1131C - Birthday (problem site)
  113. 1131B - Draw! (problem site)
  114. 1131A - Sea Battle (problem site)
  115. 1130C - Connect (problem site)
  116. 1130B - Two Cakes (problem site)
  117. 1130A - Be Positive (problem site)
  118. 1129A2 - Toy Train (problem site)
  119. 1129A1 - Toy Train (Simplified) (problem site)
  120. 1082C - Multi-Subject Competition (problem site)
  121. 1082B - Vova and Trophies (problem site)
  122. 1082A - Vasya and Book (problem site)
  123. 1080C - Masha and two friends (problem site)
  124. 1080B - Margarite and the best present (problem site)
  125. 1080A - Petya and Origami (problem site)
  126. 1068C - Colored Rooks (problem site)
  127. 1068B - LCM (problem site)
  128. 1068A - Birthday (problem site)
  129. 1067C - Knights (problem site)
  130. 1061C - Multiplicity (problem site)
  131. 1061B - Views Matter (problem site)
  132. 1061A - Coins (problem site)
  133. 1056D - Decorate Apple Tree (problem site)
  134. 1056C - Pick Heroes (problem site)
  135. 1056B - Divide Candies (problem site)
  136. 1056A - Determine Line (problem site)
  137. 1047B - Cover Points (problem site)
  138. 1047A - Little C Loves 3 I (problem site)
  139. 1043A - Elections (problem site)
  140. 1042C - Array Product (problem site)
  141. 1042B - Vitamins (problem site)
  142. 1042A - Benches (problem site)
  143. 1040B - Shashlik Cooking (problem site)
  144. 1040A - Palindrome Dance (problem site)
  145. 1039B - Subway Pursuit (problem site)
  146. 1038D - Slime (problem site)
  147. 1038C - Gambling (problem site)
  148. 1038B - Non-Coprime Partition (problem site)
  149. 1038A - Equality (problem site)
  150. 1037D - Valid BFS? (problem site)
  151. 1037C - Equalize (problem site)
  152. 1037B - Reach Median (problem site)
  153. 1037A - Packets (problem site)
  154. 1034A - Enlarge GCD (problem site)
  155. 1032D - Barcelonian Distance (problem site)
  156. 1032C - Playing Piano (problem site)
  157. 1032B - Personalized Cup (problem site)
  158. 1032A - Kitchen Utensils (problem site)
  159. 1030D - Vasya and Triangle (problem site)
  160. 1030C - Vasya and Golden Ticket (problem site)
  161. 1030B - Vasya and Cornfield (problem site)
  162. 1030A - In Search of an Easy Problem (problem site)
  163. 1020B - Badge (problem site)
  164. 1020A - New Building for SIS (problem site)
  165. 1019A - Elections (problem site)
  166. 1012B - Chemical table (problem site)
  167. 989C - A Mist of Florescence (problem site)
  168. 984B - Minesweeper (problem site)
  169. 984A - Game (problem site)
  170. 983A - Finite or not? (problem site)
  171. 960C - Subsequence Counting (problem site)
  172. 960B - Minimize the error (problem site)
  173. 960A - Check the string (problem site)
  174. 954E - Water Taps (problem site)
  175. 954D - Fight Against Traffic (problem site)
  176. 954C - Matrix Walk (problem site)
  177. 954B - String Typing (problem site)
  178. 954A - Diagonal Walking (problem site)
  179. 935D - Fafa and Ancient Alphabet (problem site)
  180. 935C - Fifa and Fafa (problem site)
  181. 935B - Fafa and the Gates (problem site)
  182. 935A - Fafa and his Company (problem site)
  183. 922D - Robot Vacuum Cleaner (problem site)
  184. 906A - Shockers (problem site)
  185. 897B - Chtholly's request (problem site)
  186. 897A - Scarborough Fair (problem site)
  187. 896A - Nephren gives a riddle (problem site)
  188. 869C - The Intriguing Obsession (problem site)
  189. 805B - 3-palindrome (problem site)
  190. 805A - Fake NP (problem site)
  191. 804B - Minimum number of steps (problem site)
  192. 804A - Find Amir (problem site)
  193. 798B - Mike and strings (problem site)
  194. 798A - Buying A House (problem site)
  195. 796B - Find The Bone (problem site)
  196. 796A - Buying A House (problem site)
  197. 455A - Boredom (problem site)
  198. 4D - Mysterious Present (problem site)
  199. 4C - Registration System (problem site)
  200. 4B - Before an Exam (problem site)
  201. 4A - Watermelon (problem site)
  202. 2A - Winner (problem site)
  203. 1A - Theatre Square (problem site)
  1. 100 - A+B (problem site)
  2. 102 - Coprimes (problem site)
  3. 105 - Div 3 (problem site)
  4. 112 - a^b - b^a (problem site)
  5. 116 - Index of super-prime (problem site)
  6. 117 - Counting (problem site)
  7. 123 - The sum (problem site)
  8. 174 - Walls (problem site)
  9. 275 - To xor or not to xor (problem site)
  10. 403 - Scientific Problem (problem site)
  11. 404 - Fortune-telling with camomile (problem site)
  12. 460 - Plural Form of Nouns (problem site)
  13. 486 - Bulls and Cows (problem site)