@cyrilverloop/codingame-configuration 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (482) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/config/easy/DiagonalAchoo/code/CGCode.cpp +29 -0
  3. package/config/easy/DiagonalAchoo/code/CGCode.java +29 -0
  4. package/config/easy/DiagonalAchoo/code/CGCode.js +16 -0
  5. package/config/easy/DiagonalAchoo/code/CGCode.php +19 -0
  6. package/config/easy/DiagonalAchoo/code/CGCode.ts +16 -0
  7. package/config/easy/DiagonalAchoo/config.json +43 -0
  8. package/config/easy/DiagonalAchoo/input/01 - Easy Comparision.txt +12 -0
  9. package/config/easy/DiagonalAchoo/input/02 - Simulation Chamber - I.txt +42 -0
  10. package/config/easy/DiagonalAchoo/input/03 - Simulation Chamber - II.txt +152 -0
  11. package/config/easy/DiagonalAchoo/input/04 - Large Scale Simulation.txt +502 -0
  12. package/config/easy/DiagonalAchoo/input/05 - One Man Chambers.txt +5 -0
  13. package/config/easy/DiagonalAchoo/input/06 - Weird Patterns - I.txt +22 -0
  14. package/config/easy/DiagonalAchoo/input/07 - Weird Patterns - II.txt +32 -0
  15. package/config/easy/DiagonalAchoo/output/01 - Easy Comparision.txt +6 -0
  16. package/config/easy/DiagonalAchoo/output/02 - Simulation Chamber - I.txt +5 -0
  17. package/config/easy/DiagonalAchoo/output/03 - Simulation Chamber - II.txt +7 -0
  18. package/config/easy/DiagonalAchoo/output/04 - Large Scale Simulation.txt +11 -0
  19. package/config/easy/DiagonalAchoo/output/05 - One Man Chambers.txt +2 -0
  20. package/config/easy/DiagonalAchoo/output/06 - Weird Patterns - I.txt +11 -0
  21. package/config/easy/DiagonalAchoo/output/07 - Weird Patterns - II.txt +11 -0
  22. package/config/easy/GrandmasSerialKeys/code/CGCode.cpp +17 -0
  23. package/config/easy/GrandmasSerialKeys/code/CGCode.java +16 -0
  24. package/config/easy/GrandmasSerialKeys/code/CGCode.js +6 -0
  25. package/config/easy/GrandmasSerialKeys/code/CGCode.php +7 -0
  26. package/config/easy/GrandmasSerialKeys/code/CGCode.ts +6 -0
  27. package/config/easy/GrandmasSerialKeys/config.json +43 -0
  28. package/config/easy/GrandmasSerialKeys/input/01 - Easy One.txt +1 -0
  29. package/config/easy/GrandmasSerialKeys/input/02 - Underscores.txt +1 -0
  30. package/config/easy/GrandmasSerialKeys/input/03 - All Characters.txt +1 -0
  31. package/config/easy/GrandmasSerialKeys/input/04 - One Character.txt +1 -0
  32. package/config/easy/GrandmasSerialKeys/input/05 - Looooong One.txt +1 -0
  33. package/config/easy/GrandmasSerialKeys/input/06 - One Key to Another Key.txt +1 -0
  34. package/config/easy/GrandmasSerialKeys/input/07 - Starts with 0.txt +1 -0
  35. package/config/easy/GrandmasSerialKeys/output/01 - Easy One.txt +1 -0
  36. package/config/easy/GrandmasSerialKeys/output/02 - Underscores.txt +1 -0
  37. package/config/easy/GrandmasSerialKeys/output/03 - All Characters.txt +1 -0
  38. package/config/easy/GrandmasSerialKeys/output/04 - One Character.txt +1 -0
  39. package/config/easy/GrandmasSerialKeys/output/05 - Looooong One.txt +1 -0
  40. package/config/easy/GrandmasSerialKeys/output/06 - One Key to Another Key.txt +1 -0
  41. package/config/easy/GrandmasSerialKeys/output/07 - Starts with 0.txt +1 -0
  42. package/config/easy/OrganicCompound/code/CGCode.cpp +22 -0
  43. package/config/easy/OrganicCompound/code/CGCode.java +20 -0
  44. package/config/easy/OrganicCompound/code/CGCode.js +6 -0
  45. package/config/easy/OrganicCompound/code/CGCode.php +12 -0
  46. package/config/easy/OrganicCompound/code/CGCode.ts +11 -0
  47. package/config/easy/OrganicCompound/config.json +93 -0
  48. package/config/easy/OrganicCompound/input/01 - ethane.txt +1 -0
  49. package/config/easy/OrganicCompound/input/02 - butene.txt +1 -0
  50. package/config/easy/OrganicCompound/input/03 - hexanol.txt +1 -0
  51. package/config/easy/OrganicCompound/input/04 - methanoic acid.txt +1 -0
  52. package/config/easy/OrganicCompound/input/05 - decanone.txt +1 -0
  53. package/config/easy/OrganicCompound/input/06 - octanal.txt +1 -0
  54. package/config/easy/OrganicCompound/input/07 - nonane.txt +1 -0
  55. package/config/easy/OrganicCompound/input/08 - pentanol.txt +1 -0
  56. package/config/easy/OrganicCompound/input/09 - octene.txt +1 -0
  57. package/config/easy/OrganicCompound/input/10 - propanoic acid.txt +1 -0
  58. package/config/easy/OrganicCompound/input/11 - methanal.txt +1 -0
  59. package/config/easy/OrganicCompound/input/12 - propanone.txt +1 -0
  60. package/config/easy/OrganicCompound/input/13 - OTHERS (I) - ethyl ethanoate.txt +1 -0
  61. package/config/easy/OrganicCompound/input/14 - OTHERS (II) - ethane-1,2-diol.txt +1 -0
  62. package/config/easy/OrganicCompound/input/15 - OTHERS (III) - Oxalic acid.txt +1 -0
  63. package/config/easy/OrganicCompound/input/16 - OTHERS (IV) - Formamide.txt +1 -0
  64. package/config/easy/OrganicCompound/input/17 - OTHERS (V) - Phenol.txt +1 -0
  65. package/config/easy/OrganicCompound/output/01 - ethane.txt +1 -0
  66. package/config/easy/OrganicCompound/output/02 - butene.txt +1 -0
  67. package/config/easy/OrganicCompound/output/03 - hexanol.txt +1 -0
  68. package/config/easy/OrganicCompound/output/04 - methanoic acid.txt +1 -0
  69. package/config/easy/OrganicCompound/output/05 - decanone.txt +1 -0
  70. package/config/easy/OrganicCompound/output/06 - octanal.txt +1 -0
  71. package/config/easy/OrganicCompound/output/07 - nonane.txt +1 -0
  72. package/config/easy/OrganicCompound/output/08 - pentanol.txt +1 -0
  73. package/config/easy/OrganicCompound/output/09 - octene.txt +1 -0
  74. package/config/easy/OrganicCompound/output/10 - propanoic acid.txt +1 -0
  75. package/config/easy/OrganicCompound/output/11 - methanal.txt +1 -0
  76. package/config/easy/OrganicCompound/output/12 - propanone.txt +1 -0
  77. package/config/easy/OrganicCompound/output/13 - OTHERS (I) - ethyl ethanoate.txt +1 -0
  78. package/config/easy/OrganicCompound/output/14 - OTHERS (II) - ethane-1,2-diol.txt +1 -0
  79. package/config/easy/OrganicCompound/output/15 - OTHERS (III) - Oxalic acid.txt +1 -0
  80. package/config/easy/OrganicCompound/output/16 - OTHERS (IV) - Formamide.txt +1 -0
  81. package/config/easy/OrganicCompound/output/17 - OTHERS (V) - Phenol.txt +1 -0
  82. package/config/easy/OrganicCompounds/config.json +2 -2
  83. package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.cpp +22 -0
  84. package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.java +23 -0
  85. package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.js +10 -0
  86. package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.php +12 -0
  87. package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.ts +10 -0
  88. package/config/easy/PeaksAndValleysIn2DGrid/config.json +43 -0
  89. package/config/easy/PeaksAndValleysIn2DGrid/input/01 - test 1.txt +5 -0
  90. package/config/easy/PeaksAndValleysIn2DGrid/input/02 - test 2.txt +6 -0
  91. package/config/easy/PeaksAndValleysIn2DGrid/input/03 - test 3.txt +7 -0
  92. package/config/easy/PeaksAndValleysIn2DGrid/input/04 - test 4.txt +9 -0
  93. package/config/easy/PeaksAndValleysIn2DGrid/input/05 - test 5.txt +11 -0
  94. package/config/easy/PeaksAndValleysIn2DGrid/input/06 - test 6.txt +11 -0
  95. package/config/easy/PeaksAndValleysIn2DGrid/input/07 - test 7.txt +11 -0
  96. package/config/easy/PeaksAndValleysIn2DGrid/output/01 - test 1.txt +2 -0
  97. package/config/easy/PeaksAndValleysIn2DGrid/output/02 - test 2.txt +2 -0
  98. package/config/easy/PeaksAndValleysIn2DGrid/output/03 - test 3.txt +2 -0
  99. package/config/easy/PeaksAndValleysIn2DGrid/output/04 - test 4.txt +2 -0
  100. package/config/easy/PeaksAndValleysIn2DGrid/output/05 - test 5.txt +2 -0
  101. package/config/easy/PeaksAndValleysIn2DGrid/output/06 - test 6.txt +2 -0
  102. package/config/easy/PeaksAndValleysIn2DGrid/output/07 - test 7.txt +2 -0
  103. package/config/easy/SeeingSquares/code/CGCode.cpp +22 -0
  104. package/config/easy/SeeingSquares/code/CGCode.java +23 -0
  105. package/config/easy/SeeingSquares/code/CGCode.js +11 -0
  106. package/config/easy/SeeingSquares/code/CGCode.php +11 -0
  107. package/config/easy/SeeingSquares/code/CGCode.ts +11 -0
  108. package/config/easy/SeeingSquares/config.json +98 -0
  109. package/config/easy/SeeingSquares/input/01 - Singular Square.txt +4 -0
  110. package/config/easy/SeeingSquares/input/02 - Side By Side.txt +4 -0
  111. package/config/easy/SeeingSquares/input/03 - Some Missing Sides.txt +6 -0
  112. package/config/easy/SeeingSquares/input/04 - Slightly Bigger.txt +6 -0
  113. package/config/easy/SeeingSquares/input/05 - Snaking Sequence.txt +8 -0
  114. package/config/easy/SeeingSquares/input/06 - Squares On Squares.txt +6 -0
  115. package/config/easy/SeeingSquares/input/07 - Spiralling.txt +16 -0
  116. package/config/easy/SeeingSquares/input/08 - Segmentation.txt +14 -0
  117. package/config/easy/SeeingSquares/input/09 - Squished.txt +10 -0
  118. package/config/easy/SeeingSquares/input/10 - So Many.txt +24 -0
  119. package/config/easy/SeeingSquares/input/11 - Slightly Off.txt +12 -0
  120. package/config/easy/SeeingSquares/input/12 - Slightly Smaller.txt +7 -0
  121. package/config/easy/SeeingSquares/input/13 - Statue.txt +16 -0
  122. package/config/easy/SeeingSquares/input/14 - Some Abstraction.txt +39 -0
  123. package/config/easy/SeeingSquares/input/15 - Spray And Pray.txt +58 -0
  124. package/config/easy/SeeingSquares/input/16 - Somehow The Lines Are Visible.txt +41 -0
  125. package/config/easy/SeeingSquares/input/17 - Stripes And Spots.txt +85 -0
  126. package/config/easy/SeeingSquares/input/18 - So Many!!.txt +99 -0
  127. package/config/easy/SeeingSquares/output/01 - Singular Square.txt +1 -0
  128. package/config/easy/SeeingSquares/output/02 - Side By Side.txt +1 -0
  129. package/config/easy/SeeingSquares/output/03 - Some Missing Sides.txt +1 -0
  130. package/config/easy/SeeingSquares/output/04 - Slightly Bigger.txt +1 -0
  131. package/config/easy/SeeingSquares/output/05 - Snaking Sequence.txt +1 -0
  132. package/config/easy/SeeingSquares/output/06 - Squares On Squares.txt +1 -0
  133. package/config/easy/SeeingSquares/output/07 - Spiralling.txt +1 -0
  134. package/config/easy/SeeingSquares/output/08 - Segmentation.txt +1 -0
  135. package/config/easy/SeeingSquares/output/09 - Squished.txt +1 -0
  136. package/config/easy/SeeingSquares/output/10 - So Many.txt +1 -0
  137. package/config/easy/SeeingSquares/output/11 - Slightly Off.txt +1 -0
  138. package/config/easy/SeeingSquares/output/12 - Slightly Smaller.txt +1 -0
  139. package/config/easy/SeeingSquares/output/13 - Statue.txt +1 -0
  140. package/config/easy/SeeingSquares/output/14 - Some Abstraction.txt +1 -0
  141. package/config/easy/SeeingSquares/output/15 - Spray And Pray.txt +1 -0
  142. package/config/easy/SeeingSquares/output/16 - Somehow The Lines Are Visible.txt +1 -0
  143. package/config/easy/SeeingSquares/output/17 - Stripes And Spots.txt +1 -0
  144. package/config/easy/SeeingSquares/output/18 - So Many!!.txt +1 -0
  145. package/config/easy/TheLGameCountingBoardStates/code/CGCode.cpp +19 -0
  146. package/config/easy/TheLGameCountingBoardStates/code/CGCode.java +18 -0
  147. package/config/easy/TheLGameCountingBoardStates/code/CGCode.js +9 -0
  148. package/config/easy/TheLGameCountingBoardStates/code/CGCode.php +7 -0
  149. package/config/easy/TheLGameCountingBoardStates/code/CGCode.ts +9 -0
  150. package/config/easy/TheLGameCountingBoardStates/config.json +43 -0
  151. package/config/easy/TheLGameCountingBoardStates/input/01 - Simple 3x3.txt +1 -0
  152. package/config/easy/TheLGameCountingBoardStates/input/02 - Slightly larger.txt +1 -0
  153. package/config/easy/TheLGameCountingBoardStates/input/03 - Height gt Width.txt +1 -0
  154. package/config/easy/TheLGameCountingBoardStates/input/04 - Width gt Height.txt +1 -0
  155. package/config/easy/TheLGameCountingBoardStates/input/05 - Too many blockers.txt +1 -0
  156. package/config/easy/TheLGameCountingBoardStates/input/06 - Many configurations.txt +1 -0
  157. package/config/easy/TheLGameCountingBoardStates/input/07 - That/342/200/231s a lot!.txt" +1 -0
  158. package/config/easy/TheLGameCountingBoardStates/output/01 - Simple 3x3.txt +1 -0
  159. package/config/easy/TheLGameCountingBoardStates/output/02 - Slightly larger.txt +1 -0
  160. package/config/easy/TheLGameCountingBoardStates/output/03 - Height gt Width.txt +1 -0
  161. package/config/easy/TheLGameCountingBoardStates/output/04 - Width gt Height.txt +1 -0
  162. package/config/easy/TheLGameCountingBoardStates/output/05 - Too many blockers.txt +1 -0
  163. package/config/easy/TheLGameCountingBoardStates/output/06 - Many configurations.txt +1 -0
  164. package/config/easy/TheLGameCountingBoardStates/output/07 - That/342/200/231s a lot!.txt" +1 -0
  165. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.cpp +17 -0
  166. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.java +16 -0
  167. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.js +6 -0
  168. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.php +7 -0
  169. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.ts +6 -0
  170. package/config/hard/BeautifulBaseIsABeautifulSum/config.json +33 -0
  171. package/config/hard/BeautifulBaseIsABeautifulSum/input/01 - test 1.txt +1 -0
  172. package/config/hard/BeautifulBaseIsABeautifulSum/input/02 - test 2.txt +1 -0
  173. package/config/hard/BeautifulBaseIsABeautifulSum/input/03 - test 3.txt +1 -0
  174. package/config/hard/BeautifulBaseIsABeautifulSum/input/04 - test 4.txt +1 -0
  175. package/config/hard/BeautifulBaseIsABeautifulSum/input/05 - test 5.txt +1 -0
  176. package/config/hard/BeautifulBaseIsABeautifulSum/output/01 - test 1.txt +1 -0
  177. package/config/hard/BeautifulBaseIsABeautifulSum/output/02 - test 2.txt +1 -0
  178. package/config/hard/BeautifulBaseIsABeautifulSum/output/03 - test 3.txt +1 -0
  179. package/config/hard/BeautifulBaseIsABeautifulSum/output/04 - test 4.txt +1 -0
  180. package/config/hard/BeautifulBaseIsABeautifulSum/output/05 - test 5.txt +1 -0
  181. package/config/hard/UnfloodTheWorld/code/CGCode.cpp +24 -0
  182. package/config/hard/UnfloodTheWorld/code/CGCode.java +22 -0
  183. package/config/hard/UnfloodTheWorld/code/CGCode.js +14 -0
  184. package/config/hard/UnfloodTheWorld/code/CGCode.php +15 -0
  185. package/config/hard/UnfloodTheWorld/code/CGCode.ts +14 -0
  186. package/config/hard/UnfloodTheWorld/config.json +48 -0
  187. package/config/hard/UnfloodTheWorld/input/01 - One drain.txt +5 -0
  188. package/config/hard/UnfloodTheWorld/input/02 - Hill.txt +6 -0
  189. package/config/hard/UnfloodTheWorld/input/03 - Wall.txt +4 -0
  190. package/config/hard/UnfloodTheWorld/input/04 - Flat field.txt +4 -0
  191. package/config/hard/UnfloodTheWorld/input/05 - Chess board.txt +6 -0
  192. package/config/hard/UnfloodTheWorld/input/06 - Fractal.txt +10 -0
  193. package/config/hard/UnfloodTheWorld/input/07 - Maze.txt +10 -0
  194. package/config/hard/UnfloodTheWorld/input/08 - Plateaus.txt +7 -0
  195. package/config/hard/UnfloodTheWorld/output/01 - One drain.txt +1 -0
  196. package/config/hard/UnfloodTheWorld/output/02 - Hill.txt +1 -0
  197. package/config/hard/UnfloodTheWorld/output/03 - Wall.txt +1 -0
  198. package/config/hard/UnfloodTheWorld/output/04 - Flat field.txt +1 -0
  199. package/config/hard/UnfloodTheWorld/output/05 - Chess board.txt +1 -0
  200. package/config/hard/UnfloodTheWorld/output/06 - Fractal.txt +1 -0
  201. package/config/hard/UnfloodTheWorld/output/07 - Maze.txt +1 -0
  202. package/config/hard/UnfloodTheWorld/output/08 - Plateaus.txt +1 -0
  203. package/config/{hard → medium}/Hangman/config.json +1 -1
  204. package/config/medium/HillNotationAndHillOrder/code/CGCode.cpp +26 -0
  205. package/config/medium/HillNotationAndHillOrder/code/CGCode.java +26 -0
  206. package/config/medium/HillNotationAndHillOrder/code/CGCode.js +9 -0
  207. package/config/medium/HillNotationAndHillOrder/code/CGCode.php +11 -0
  208. package/config/medium/HillNotationAndHillOrder/code/CGCode.ts +9 -0
  209. package/config/medium/HillNotationAndHillOrder/config.json +33 -0
  210. package/config/medium/HillNotationAndHillOrder/input/01 - Simple Sort.txt +4 -0
  211. package/config/medium/HillNotationAndHillOrder/input/02 - Quantity Sort.txt +7 -0
  212. package/config/medium/HillNotationAndHillOrder/input/03 - Duplicates.txt +4 -0
  213. package/config/medium/HillNotationAndHillOrder/input/04 - Bigger Sort.txt +11 -0
  214. package/config/medium/HillNotationAndHillOrder/input/05 - Parenthesis.txt +4 -0
  215. package/config/medium/HillNotationAndHillOrder/output/01 - Simple Sort.txt +3 -0
  216. package/config/medium/HillNotationAndHillOrder/output/02 - Quantity Sort.txt +6 -0
  217. package/config/medium/HillNotationAndHillOrder/output/03 - Duplicates.txt +1 -0
  218. package/config/medium/HillNotationAndHillOrder/output/04 - Bigger Sort.txt +10 -0
  219. package/config/medium/HillNotationAndHillOrder/output/05 - Parenthesis.txt +3 -0
  220. package/config/medium/InequalityOverlapArea/code/CGCode.cpp +23 -0
  221. package/config/medium/InequalityOverlapArea/code/CGCode.java +24 -0
  222. package/config/medium/InequalityOverlapArea/code/CGCode.js +11 -0
  223. package/config/medium/InequalityOverlapArea/code/CGCode.php +13 -0
  224. package/config/medium/InequalityOverlapArea/code/CGCode.ts +11 -0
  225. package/config/medium/InequalityOverlapArea/config.json +68 -0
  226. package/config/medium/InequalityOverlapArea/input/01 - Simple Overlap.txt +4 -0
  227. package/config/medium/InequalityOverlapArea/input/02 - Floating.txt +5 -0
  228. package/config/medium/InequalityOverlapArea/input/03 - Pentagon.txt +6 -0
  229. package/config/medium/InequalityOverlapArea/input/04 - NO.txt +9 -0
  230. package/config/medium/InequalityOverlapArea/input/05 - Infinite.txt +7 -0
  231. package/config/medium/InequalityOverlapArea/input/06 - NoOverlap.txt +10 -0
  232. package/config/medium/InequalityOverlapArea/input/07 - Not Finite.txt +10 -0
  233. package/config/medium/InequalityOverlapArea/input/08 - Same Graph.txt +6 -0
  234. package/config/medium/InequalityOverlapArea/input/09 - One Line.txt +7 -0
  235. package/config/medium/InequalityOverlapArea/input/10 - One Point.txt +11 -0
  236. package/config/medium/InequalityOverlapArea/input/11 - Quadrilateral.txt +5 -0
  237. package/config/medium/InequalityOverlapArea/input/12 - Rectangle.txt +5 -0
  238. package/config/medium/InequalityOverlapArea/output/01 - Simple Overlap.txt +1 -0
  239. package/config/medium/InequalityOverlapArea/output/02 - Floating.txt +1 -0
  240. package/config/medium/InequalityOverlapArea/output/03 - Pentagon.txt +1 -0
  241. package/config/medium/InequalityOverlapArea/output/04 - NO.txt +1 -0
  242. package/config/medium/InequalityOverlapArea/output/05 - Infinite.txt +1 -0
  243. package/config/medium/InequalityOverlapArea/output/06 - NoOverlap.txt +1 -0
  244. package/config/medium/InequalityOverlapArea/output/07 - Not Finite.txt +1 -0
  245. package/config/medium/InequalityOverlapArea/output/08 - Same Graph.txt +1 -0
  246. package/config/medium/InequalityOverlapArea/output/09 - One Line.txt +1 -0
  247. package/config/medium/InequalityOverlapArea/output/10 - One Point.txt +1 -0
  248. package/config/medium/InequalityOverlapArea/output/11 - Quadrilateral.txt +1 -0
  249. package/config/medium/InequalityOverlapArea/output/12 - Rectangle.txt +1 -0
  250. package/config/medium/IntegerPairsOfABAB/code/CGCode.cpp +17 -0
  251. package/config/medium/IntegerPairsOfABAB/code/CGCode.java +16 -0
  252. package/config/medium/IntegerPairsOfABAB/code/CGCode.js +6 -0
  253. package/config/medium/IntegerPairsOfABAB/code/CGCode.php +7 -0
  254. package/config/medium/IntegerPairsOfABAB/code/CGCode.ts +6 -0
  255. package/config/medium/IntegerPairsOfABAB/config.json +93 -0
  256. package/config/medium/IntegerPairsOfABAB/input/01 - Example.txt +1 -0
  257. package/config/medium/IntegerPairsOfABAB/input/02 - Small Prime.txt +1 -0
  258. package/config/medium/IntegerPairsOfABAB/input/03 - Small Composite.txt +1 -0
  259. package/config/medium/IntegerPairsOfABAB/input/04 - Neither Prime nor Composite.txt +1 -0
  260. package/config/medium/IntegerPairsOfABAB/input/05 - p^2.txt +1 -0
  261. package/config/medium/IntegerPairsOfABAB/input/06 - pq.txt +1 -0
  262. package/config/medium/IntegerPairsOfABAB/input/07 - p^2q.txt +1 -0
  263. package/config/medium/IntegerPairsOfABAB/input/08 - Medium Prime.txt +1 -0
  264. package/config/medium/IntegerPairsOfABAB/input/09 - Medium Highly Composite.txt +1 -0
  265. package/config/medium/IntegerPairsOfABAB/input/10 - p^2q^2.txt +1 -0
  266. package/config/medium/IntegerPairsOfABAB/input/11 - pqr.txt +1 -0
  267. package/config/medium/IntegerPairsOfABAB/input/12 - Large Prime.txt +1 -0
  268. package/config/medium/IntegerPairsOfABAB/input/13 - Large Highly Composite.txt +1 -0
  269. package/config/medium/IntegerPairsOfABAB/input/14 - Very Large Prime.txt +1 -0
  270. package/config/medium/IntegerPairsOfABAB/input/15 - Very Large Highly Composite.txt +1 -0
  271. package/config/medium/IntegerPairsOfABAB/input/16 - Many Unique Prime Factors.txt +1 -0
  272. package/config/medium/IntegerPairsOfABAB/input/17 - Largest.txt +1 -0
  273. package/config/medium/IntegerPairsOfABAB/output/01 - Example.txt +1 -0
  274. package/config/medium/IntegerPairsOfABAB/output/02 - Small Prime.txt +1 -0
  275. package/config/medium/IntegerPairsOfABAB/output/03 - Small Composite.txt +1 -0
  276. package/config/medium/IntegerPairsOfABAB/output/04 - Neither Prime nor Composite.txt +1 -0
  277. package/config/medium/IntegerPairsOfABAB/output/05 - p^2.txt +1 -0
  278. package/config/medium/IntegerPairsOfABAB/output/06 - pq.txt +1 -0
  279. package/config/medium/IntegerPairsOfABAB/output/07 - p^2q.txt +1 -0
  280. package/config/medium/IntegerPairsOfABAB/output/08 - Medium Prime.txt +1 -0
  281. package/config/medium/IntegerPairsOfABAB/output/09 - Medium Highly Composite.txt +1 -0
  282. package/config/medium/IntegerPairsOfABAB/output/10 - p^2q^2.txt +1 -0
  283. package/config/medium/IntegerPairsOfABAB/output/11 - pqr.txt +1 -0
  284. package/config/medium/IntegerPairsOfABAB/output/12 - Large Prime.txt +1 -0
  285. package/config/medium/IntegerPairsOfABAB/output/13 - Large Highly Composite.txt +1 -0
  286. package/config/medium/IntegerPairsOfABAB/output/14 - Very Large Prime.txt +1 -0
  287. package/config/medium/IntegerPairsOfABAB/output/15 - Very Large Highly Composite.txt +1 -0
  288. package/config/medium/IntegerPairsOfABAB/output/16 - Many Unique Prime Factors.txt +1 -0
  289. package/config/medium/IntegerPairsOfABAB/output/17 - Largest.txt +1 -0
  290. package/config/medium/MovingTarget/code/CGCode.cpp +30 -0
  291. package/config/medium/MovingTarget/code/CGCode.java +26 -0
  292. package/config/medium/MovingTarget/code/CGCode.js +19 -0
  293. package/config/medium/MovingTarget/code/CGCode.php +11 -0
  294. package/config/medium/MovingTarget/code/CGCode.ts +19 -0
  295. package/config/medium/MovingTarget/config.json +53 -0
  296. package/config/medium/MovingTarget/input/01 - Perpendicular case.txt +4 -0
  297. package/config/medium/MovingTarget/input/02 - Barely a hit.txt +4 -0
  298. package/config/medium/MovingTarget/input/03 - Too slow.txt +4 -0
  299. package/config/medium/MovingTarget/input/04 - Plane at rest.txt +4 -0
  300. package/config/medium/MovingTarget/input/05 - Two solutions.txt +4 -0
  301. package/config/medium/MovingTarget/input/06 - Random 1.txt +4 -0
  302. package/config/medium/MovingTarget/input/07 - Random 2.txt +4 -0
  303. package/config/medium/MovingTarget/input/08 - Random 3.txt +4 -0
  304. package/config/medium/MovingTarget/input/09 - Random 4.txt +4 -0
  305. package/config/medium/MovingTarget/output/01 - Perpendicular case.txt +2 -0
  306. package/config/medium/MovingTarget/output/02 - Barely a hit.txt +2 -0
  307. package/config/medium/MovingTarget/output/03 - Too slow.txt +1 -0
  308. package/config/medium/MovingTarget/output/04 - Plane at rest.txt +2 -0
  309. package/config/medium/MovingTarget/output/05 - Two solutions.txt +2 -0
  310. package/config/medium/MovingTarget/output/06 - Random 1.txt +1 -0
  311. package/config/medium/MovingTarget/output/07 - Random 2.txt +2 -0
  312. package/config/medium/MovingTarget/output/08 - Random 3.txt +2 -0
  313. package/config/medium/MovingTarget/output/09 - Random 4.txt +2 -0
  314. package/config/medium/NDimensionalMaze/code/CGCode.cpp +29 -0
  315. package/config/medium/NDimensionalMaze/code/CGCode.java +29 -0
  316. package/config/medium/NDimensionalMaze/code/CGCode.js +13 -0
  317. package/config/medium/NDimensionalMaze/code/CGCode.php +15 -0
  318. package/config/medium/NDimensionalMaze/code/CGCode.ts +13 -0
  319. package/config/medium/NDimensionalMaze/config.json +53 -0
  320. package/config/medium/NDimensionalMaze/input/01 - Simple 3D.txt +8 -0
  321. package/config/medium/NDimensionalMaze/input/02 - Simple 2D.txt +16 -0
  322. package/config/medium/NDimensionalMaze/input/03 - 4D.txt +83 -0
  323. package/config/medium/NDimensionalMaze/input/04 - Hyper-hypercube.txt +6 -0
  324. package/config/medium/NDimensionalMaze/input/05 - 1D.txt +7 -0
  325. package/config/medium/NDimensionalMaze/input/06 - 3D NO PATH.txt +7 -0
  326. package/config/medium/NDimensionalMaze/input/07 - Blocked.txt +11 -0
  327. package/config/medium/NDimensionalMaze/input/08 - 7D.txt +7 -0
  328. package/config/medium/NDimensionalMaze/input/09 - 8D.txt +8 -0
  329. package/config/medium/NDimensionalMaze/output/01 - Simple 3D.txt +1 -0
  330. package/config/medium/NDimensionalMaze/output/02 - Simple 2D.txt +1 -0
  331. package/config/medium/NDimensionalMaze/output/03 - 4D.txt +1 -0
  332. package/config/medium/NDimensionalMaze/output/04 - Hyper-hypercube.txt +1 -0
  333. package/config/medium/NDimensionalMaze/output/05 - 1D.txt +1 -0
  334. package/config/medium/NDimensionalMaze/output/06 - 3D NO PATH.txt +1 -0
  335. package/config/medium/NDimensionalMaze/output/07 - Blocked.txt +1 -0
  336. package/config/medium/NDimensionalMaze/output/08 - 7D.txt +1 -0
  337. package/config/medium/NDimensionalMaze/output/09 - 8D.txt +1 -0
  338. package/config/medium/SimpleCPUEmulation1/code/CGCode.cpp +17 -0
  339. package/config/medium/SimpleCPUEmulation1/code/CGCode.java +16 -0
  340. package/config/medium/SimpleCPUEmulation1/code/CGCode.js +6 -0
  341. package/config/medium/SimpleCPUEmulation1/code/CGCode.php +7 -0
  342. package/config/medium/SimpleCPUEmulation1/code/CGCode.ts +6 -0
  343. package/config/medium/SimpleCPUEmulation1/config.json +28 -0
  344. package/config/medium/SimpleCPUEmulation1/input/01 - 5+5.txt +1 -0
  345. package/config/medium/SimpleCPUEmulation1/input/02 - (11-6+2) pipe 8.txt +1 -0
  346. package/config/medium/SimpleCPUEmulation1/input/03 - Overflow 145+192.txt +1 -0
  347. package/config/medium/SimpleCPUEmulation1/input/04 - 15-18.txt +1 -0
  348. package/config/medium/SimpleCPUEmulation1/output/01 - 5+5.txt +1 -0
  349. package/config/medium/SimpleCPUEmulation1/output/02 - (11-6+2) pipe 8.txt +1 -0
  350. package/config/medium/SimpleCPUEmulation1/output/03 - Overflow 145+192.txt +1 -0
  351. package/config/medium/SimpleCPUEmulation1/output/04 - 15-18.txt +1 -0
  352. package/config/medium/SwappingElements/code/CGCode.cpp +21 -0
  353. package/config/medium/SwappingElements/code/CGCode.java +22 -0
  354. package/config/medium/SwappingElements/code/CGCode.js +9 -0
  355. package/config/medium/SwappingElements/code/CGCode.php +11 -0
  356. package/config/medium/SwappingElements/code/CGCode.ts +9 -0
  357. package/config/medium/SwappingElements/config.json +83 -0
  358. package/config/medium/SwappingElements/input/01 - Kindergarten.txt +4 -0
  359. package/config/medium/SwappingElements/input/02 - ABC.txt +8 -0
  360. package/config/medium/SwappingElements/input/03 - Thread.txt +5 -0
  361. package/config/medium/SwappingElements/input/04 - Bob.txt +8 -0
  362. package/config/medium/SwappingElements/input/05 - Not Bob.txt +4 -0
  363. package/config/medium/SwappingElements/input/06 - Vacuum of the Space Key.txt +7 -0
  364. package/config/medium/SwappingElements/input/07 - Periodic Table.txt +19 -0
  365. package/config/medium/SwappingElements/input/08 - Chemical Compounds.txt +28 -0
  366. package/config/medium/SwappingElements/input/09 - Gibberish.txt +14 -0
  367. package/config/medium/SwappingElements/input/10 - Negative.txt +40 -0
  368. package/config/medium/SwappingElements/input/11 - How/342/200/231s your day going.txt" +19 -0
  369. package/config/medium/SwappingElements/input/12 - The World Ends.txt +117 -0
  370. package/config/medium/SwappingElements/input/13 - Numbering the Last One.txt +30 -0
  371. package/config/medium/SwappingElements/input/14 - Random.txt +19 -0
  372. package/config/medium/SwappingElements/input/15 - Coding.txt +10 -0
  373. package/config/medium/SwappingElements/output/01 - Kindergarten.txt +1 -0
  374. package/config/medium/SwappingElements/output/02 - ABC.txt +1 -0
  375. package/config/medium/SwappingElements/output/03 - Thread.txt +1 -0
  376. package/config/medium/SwappingElements/output/04 - Bob.txt +1 -0
  377. package/config/medium/SwappingElements/output/05 - Not Bob.txt +1 -0
  378. package/config/medium/SwappingElements/output/06 - Vacuum of the Space Key.txt +1 -0
  379. package/config/medium/SwappingElements/output/07 - Periodic Table.txt +1 -0
  380. package/config/medium/SwappingElements/output/08 - Chemical Compounds.txt +1 -0
  381. package/config/medium/SwappingElements/output/09 - Gibberish.txt +1 -0
  382. package/config/medium/SwappingElements/output/10 - Negative.txt +1 -0
  383. package/config/medium/SwappingElements/output/11 - How/342/200/231s your day going.txt" +1 -0
  384. package/config/medium/SwappingElements/output/12 - The World Ends.txt +1 -0
  385. package/config/medium/SwappingElements/output/13 - Numbering the Last One.txt +1 -0
  386. package/config/medium/SwappingElements/output/14 - Random.txt +1 -0
  387. package/config/medium/SwappingElements/output/15 - Coding.txt +1 -0
  388. package/config/medium/TableSolver/code/CGCode.cpp +21 -0
  389. package/config/medium/TableSolver/code/CGCode.java +22 -0
  390. package/config/medium/TableSolver/code/CGCode.js +9 -0
  391. package/config/medium/TableSolver/code/CGCode.php +11 -0
  392. package/config/medium/TableSolver/code/CGCode.ts +9 -0
  393. package/config/medium/TableSolver/config.json +43 -0
  394. package/config/medium/TableSolver/input/01 - Addition.txt +8 -0
  395. package/config/medium/TableSolver/input/02 - Subtraction.txt +8 -0
  396. package/config/medium/TableSolver/input/03 - Multiplication.txt +10 -0
  397. package/config/medium/TableSolver/input/04 - small.txt +4 -0
  398. package/config/medium/TableSolver/input/05 - BIG.txt +15 -0
  399. package/config/medium/TableSolver/input/06 - CG.txt +24 -0
  400. package/config/medium/TableSolver/input/07 - 0.txt +10 -0
  401. package/config/medium/TableSolver/output/01 - Addition.txt +7 -0
  402. package/config/medium/TableSolver/output/02 - Subtraction.txt +7 -0
  403. package/config/medium/TableSolver/output/03 - Multiplication.txt +9 -0
  404. package/config/medium/TableSolver/output/04 - small.txt +3 -0
  405. package/config/medium/TableSolver/output/05 - BIG.txt +15 -0
  406. package/config/medium/TableSolver/output/06 - CG.txt +23 -0
  407. package/config/medium/TableSolver/output/07 - 0.txt +9 -0
  408. package/config/medium/TiredPacMan/code/CGCode.cpp +24 -0
  409. package/config/medium/TiredPacMan/code/CGCode.java +24 -0
  410. package/config/medium/TiredPacMan/code/CGCode.js +12 -0
  411. package/config/medium/TiredPacMan/code/CGCode.php +12 -0
  412. package/config/medium/TiredPacMan/code/CGCode.ts +12 -0
  413. package/config/medium/TiredPacMan/config.json +98 -0
  414. package/config/medium/TiredPacMan/input/01 - Basic Grid.txt +11 -0
  415. package/config/medium/TiredPacMan/input/02 - Basic Grid with Barriers.txt +11 -0
  416. package/config/medium/TiredPacMan/input/03 - Ghosts Gatekeeping.txt +15 -0
  417. package/config/medium/TiredPacMan/input/04 - Ghosts Extreme Gatekeeping.txt +15 -0
  418. package/config/medium/TiredPacMan/input/05 - No Fruit.txt +6 -0
  419. package/config/medium/TiredPacMan/input/06 - No Energy.txt +49 -0
  420. package/config/medium/TiredPacMan/input/07 - No Moves.txt +56 -0
  421. package/config/medium/TiredPacMan/input/08 - Don/342/200/231t Be Greedy.txt" +13 -0
  422. package/config/medium/TiredPacMan/input/09 - Basic Wrap.txt +16 -0
  423. package/config/medium/TiredPacMan/input/10 - Empty Grid.txt +4 -0
  424. package/config/medium/TiredPacMan/input/11 - Medium Grid.txt +27 -0
  425. package/config/medium/TiredPacMan/input/12 - Large Grid.txt +62 -0
  426. package/config/medium/TiredPacMan/input/13 - All Fruit Eaten.txt +9 -0
  427. package/config/medium/TiredPacMan/input/14 - Dead Ends.txt +9 -0
  428. package/config/medium/TiredPacMan/input/15 - Ultimate Wrap.txt +9 -0
  429. package/config/medium/TiredPacMan/input/16 - Complex 1.txt +22 -0
  430. package/config/medium/TiredPacMan/input/17 - Complex 2.txt +22 -0
  431. package/config/medium/TiredPacMan/input/18 - Complex 3.txt +32 -0
  432. package/config/medium/TiredPacMan/output/01 - Basic Grid.txt +1 -0
  433. package/config/medium/TiredPacMan/output/02 - Basic Grid with Barriers.txt +1 -0
  434. package/config/medium/TiredPacMan/output/03 - Ghosts Gatekeeping.txt +1 -0
  435. package/config/medium/TiredPacMan/output/04 - Ghosts Extreme Gatekeeping.txt +1 -0
  436. package/config/medium/TiredPacMan/output/05 - No Fruit.txt +1 -0
  437. package/config/medium/TiredPacMan/output/06 - No Energy.txt +1 -0
  438. package/config/medium/TiredPacMan/output/07 - No Moves.txt +1 -0
  439. package/config/medium/TiredPacMan/output/08 - Don/342/200/231t Be Greedy.txt" +1 -0
  440. package/config/medium/TiredPacMan/output/09 - Basic Wrap.txt +1 -0
  441. package/config/medium/TiredPacMan/output/10 - Empty Grid.txt +1 -0
  442. package/config/medium/TiredPacMan/output/11 - Medium Grid.txt +1 -0
  443. package/config/medium/TiredPacMan/output/12 - Large Grid.txt +1 -0
  444. package/config/medium/TiredPacMan/output/13 - All Fruit Eaten.txt +1 -0
  445. package/config/medium/TiredPacMan/output/14 - Dead Ends.txt +1 -0
  446. package/config/medium/TiredPacMan/output/15 - Ultimate Wrap.txt +1 -0
  447. package/config/medium/TiredPacMan/output/16 - Complex 1.txt +1 -0
  448. package/config/medium/TiredPacMan/output/17 - Complex 2.txt +1 -0
  449. package/config/medium/TiredPacMan/output/18 - Complex 3.txt +1 -0
  450. package/config/medium/WesnothFightDeathProbabilities/code/CGCode.cpp +27 -0
  451. package/config/medium/WesnothFightDeathProbabilities/code/CGCode.java +25 -0
  452. package/config/medium/WesnothFightDeathProbabilities/code/CGCode.js +17 -0
  453. package/config/medium/WesnothFightDeathProbabilities/code/CGCode.php +8 -0
  454. package/config/medium/WesnothFightDeathProbabilities/code/CGCode.ts +17 -0
  455. package/config/medium/WesnothFightDeathProbabilities/config.json +48 -0
  456. package/config/medium/WesnothFightDeathProbabilities/input/01 - Rifleman vs Shaman.txt +2 -0
  457. package/config/medium/WesnothFightDeathProbabilities/input/02 - Shaman vs Rifleman.txt +2 -0
  458. package/config/medium/WesnothFightDeathProbabilities/input/03 - Rifleman vs Rifleman.txt +2 -0
  459. package/config/medium/WesnothFightDeathProbabilities/input/04 - Archer vs Swordsman.txt +2 -0
  460. package/config/medium/WesnothFightDeathProbabilities/input/05 - Light infantry vs Heavy infantry.txt +2 -0
  461. package/config/medium/WesnothFightDeathProbabilities/input/06 - Light infantry vs wounded Heavy infantry.txt +2 -0
  462. package/config/medium/WesnothFightDeathProbabilities/input/07 - Wounded Heavy infantry vs Light infantry.txt +2 -0
  463. package/config/medium/WesnothFightDeathProbabilities/input/08 - A harmless fight.txt +2 -0
  464. package/config/medium/WesnothFightDeathProbabilities/output/01 - Rifleman vs Shaman.txt +1 -0
  465. package/config/medium/WesnothFightDeathProbabilities/output/02 - Shaman vs Rifleman.txt +1 -0
  466. package/config/medium/WesnothFightDeathProbabilities/output/03 - Rifleman vs Rifleman.txt +1 -0
  467. package/config/medium/WesnothFightDeathProbabilities/output/04 - Archer vs Swordsman.txt +1 -0
  468. package/config/medium/WesnothFightDeathProbabilities/output/05 - Light infantry vs Heavy infantry.txt +1 -0
  469. package/config/medium/WesnothFightDeathProbabilities/output/06 - Light infantry vs wounded Heavy infantry.txt +1 -0
  470. package/config/medium/WesnothFightDeathProbabilities/output/07 - Wounded Heavy infantry vs Light infantry.txt +1 -0
  471. package/config/medium/WesnothFightDeathProbabilities/output/08 - A harmless fight.txt +1 -0
  472. package/package.json +1 -1
  473. /package/config/{hard → medium}/Hangman/code/CGCode.js +0 -0
  474. /package/config/{hard → medium}/Hangman/code/CGCode.php +0 -0
  475. /package/config/{hard → medium}/Hangman/input/01 - Solution found.txt +0 -0
  476. /package/config/{hard → medium}/Hangman/input/02 - Wrong answer.txt +0 -0
  477. /package/config/{hard → medium}/Hangman/input/03 - White space.txt +0 -0
  478. /package/config/{hard → medium}/Hangman/input/04 - Same letter.txt +0 -0
  479. /package/config/{hard → medium}/Hangman/output/01 - Solution found.txt +0 -0
  480. /package/config/{hard → medium}/Hangman/output/02 - Wrong answer.txt +0 -0
  481. /package/config/{hard → medium}/Hangman/output/03 - White space.txt +0 -0
  482. /package/config/{hard → medium}/Hangman/output/04 - Same letter.txt +0 -0
@@ -0,0 +1,21 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int input_lines;
11
+ cin >> input_lines; cin.ignore();
12
+ for (int i = 0; i < input_lines; i++) {
13
+ string s;
14
+ getline(cin, s);
15
+ }
16
+
17
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
18
+ // To debug: cerr << "Debug messages..." << endl;
19
+
20
+ cout << "The finished table" << endl;
21
+ }
@@ -0,0 +1,22 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int inputLines = in.nextInt();
10
+ if (in.hasNextLine()) {
11
+ in.nextLine();
12
+ }
13
+ for (int i = 0; i < inputLines; i++) {
14
+ String s = in.nextLine();
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("The finished table");
21
+ }
22
+ }
@@ -0,0 +1,9 @@
1
+ const inputLines = parseInt(readline());
2
+ for (let i = 0; i < inputLines; i++) {
3
+ const s = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('The finished table');
@@ -0,0 +1,11 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $inputLines);
3
+ for ($i = 0; $i < $inputLines; $i++)
4
+ {
5
+ $s = stream_get_line(STDIN, 1000 + 1, "\n");
6
+ }
7
+
8
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
9
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
10
+
11
+ echo("The finished table\n");
@@ -0,0 +1,9 @@
1
+ const inputLines: number = parseInt(readline());
2
+ for (let i = 0; i < inputLines; i++) {
3
+ const s: string = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('The finished table');
@@ -0,0 +1,43 @@
1
+ {
2
+ "path": "medium/TableSolver",
3
+ "name": "Table Solver",
4
+ "alphanumName": "TableSolver",
5
+ "link": "https://www.codingame.com/ide/puzzle/table-solver",
6
+ "tests": [
7
+ {
8
+ "name": "Addition",
9
+ "alphanumName": "Addition",
10
+ "file": "01 - Addition.txt"
11
+ },
12
+ {
13
+ "name": "Subtraction",
14
+ "alphanumName": "Subtraction",
15
+ "file": "02 - Subtraction.txt"
16
+ },
17
+ {
18
+ "name": "Multiplication",
19
+ "alphanumName": "Multiplication",
20
+ "file": "03 - Multiplication.txt"
21
+ },
22
+ {
23
+ "name": "small",
24
+ "alphanumName": "small",
25
+ "file": "04 - small.txt"
26
+ },
27
+ {
28
+ "name": "BIG",
29
+ "alphanumName": "BIG",
30
+ "file": "05 - BIG.txt"
31
+ },
32
+ {
33
+ "name": "CG",
34
+ "alphanumName": "CG",
35
+ "file": "06 - CG.txt"
36
+ },
37
+ {
38
+ "name": "0",
39
+ "alphanumName": "Zero",
40
+ "file": "07 - 0.txt"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,8 @@
1
+ 7
2
+ + | |5 |
3
+ ___________
4
+ 9 |11| |
5
+ ___________
6
+ | |9 |
7
+ ___________
8
+ 11| | |24
@@ -0,0 +1,8 @@
1
+ 7
2
+ - | |-5 |15
3
+ _______________
4
+ -8 |16 | |
5
+ _______________
6
+ | | |6
7
+ _______________
8
+ | |-6 |
@@ -0,0 +1,10 @@
1
+ 9
2
+ x |14 | |16 |
3
+ _____________________________
4
+ | |-25 |80 |
5
+ _____________________________
6
+ | |250 | |
7
+ _____________________________
8
+ |924 | | |5610
9
+ _____________________________
10
+ | | | |4930
@@ -0,0 +1,4 @@
1
+ 3
2
+ - |6
3
+ _____
4
+ |13
@@ -0,0 +1,15 @@
1
+ + | |1111 | | |-98 | | | |845
2
+ ___________________________________________________________
3
+ | |4687 | | | | | | |
4
+ ___________________________________________________________
5
+ | | |-780 | | | | |-845 |
6
+ ___________________________________________________________
7
+ 99 | | | |120 | | | | |944
8
+ ___________________________________________________________
9
+ -123 | | | | | | |6845 | |
10
+ ___________________________________________________________
11
+ |-1 | | |9887 | | | |4000 |
12
+ ___________________________________________________________
13
+ | | |487 | | |-744 | | |
14
+ ___________________________________________________________
15
+ | | | |1230 | | | | |
@@ -0,0 +1,24 @@
1
+ 23
2
+ - | |-5| |
3
+ ______________
4
+ | |1 |1 |1
5
+ ______________
6
+ |1 | | |
7
+ ______________
8
+ |1 | | |
9
+ ______________
10
+ |1 | | |
11
+ ______________
12
+ | |1 |1 |1
13
+ ______________
14
+ -8| | | |
15
+ ______________
16
+ | |1 |1 |1
17
+ ______________
18
+ |1 | | |
19
+ ______________
20
+ |1 | |1 |1
21
+ ______________
22
+ |1 | | |1
23
+ ______________
24
+ | |1 |1 |
@@ -0,0 +1,10 @@
1
+ 9
2
+ + |11 |0 | |-6
3
+ ___________________
4
+ 6 | | | |
5
+ ___________________
6
+ |6 | |0 |
7
+ ___________________
8
+ 12 | | | |
9
+ ___________________
10
+ | | |-2 |
@@ -0,0 +1,7 @@
1
+ + |2 |5 |13
2
+ ___________
3
+ 9 |11|14|22
4
+ ___________
5
+ 4 |6 |9 |17
6
+ ___________
7
+ 11|13|16|24
@@ -0,0 +1,7 @@
1
+ - |8 |-5 |15
2
+ _______________
3
+ -8 |16 |3 |23
4
+ _______________
5
+ 9 |-1 |-14|6
6
+ _______________
7
+ 1 |7 |-6 |14
@@ -0,0 +1,9 @@
1
+ x |14 |-5 |16 |85
2
+ _____________________________
3
+ 5 |70 |-25 |80 |425
4
+ _____________________________
5
+ -50 |-700 |250 |-800 |-4250
6
+ _____________________________
7
+ 66 |924 |-330 |1056 |5610
8
+ _____________________________
9
+ 58 |812 |-290 |928 |4930
@@ -0,0 +1,3 @@
1
+ - |6
2
+ _____
3
+ -7|13
@@ -0,0 +1,15 @@
1
+ + |-9867|1111 |-5801|21 |-98 |-7032|6968 |-5866|845
2
+ ___________________________________________________________
3
+ 3576 |-6291|4687 |-2225|3597 |3478 |-3456|10544|-2290|4421
4
+ ___________________________________________________________
5
+ 5021 |-4846|6132 |-780 |5042 |4923 |-2011|11989|-845 |5866
6
+ ___________________________________________________________
7
+ 99 |-9768|1210 |-5702|120 |1 |-6933|7067 |-5767|944
8
+ ___________________________________________________________
9
+ -123 |-9990|988 |-5924|-102 |-221 |-7155|6845 |-5989|722
10
+ ___________________________________________________________
11
+ 9866 |-1 |10977|4065 |9887 |9768 |2834 |16834|4000 |10711
12
+ ___________________________________________________________
13
+ 6288 |-3579|7399 |487 |6309 |6190 |-744 |13256|422 |7133
14
+ ___________________________________________________________
15
+ 1209 |-8658|2320 |-4592|1230 |1111 |-5823|8177 |-4657|2054
@@ -0,0 +1,23 @@
1
+ - |-5|-5|-5|-5
2
+ ______________
3
+ -6|1 |1 |1 |1
4
+ ______________
5
+ -6|1 |1 |1 |1
6
+ ______________
7
+ -6|1 |1 |1 |1
8
+ ______________
9
+ -6|1 |1 |1 |1
10
+ ______________
11
+ -6|1 |1 |1 |1
12
+ ______________
13
+ -8|3 |3 |3 |3
14
+ ______________
15
+ -6|1 |1 |1 |1
16
+ ______________
17
+ -6|1 |1 |1 |1
18
+ ______________
19
+ -6|1 |1 |1 |1
20
+ ______________
21
+ -6|1 |1 |1 |1
22
+ ______________
23
+ -6|1 |1 |1 |1
@@ -0,0 +1,9 @@
1
+ + |11 |0 |5 |-6
2
+ ___________________
3
+ 6 |17 |6 |11 |0
4
+ ___________________
5
+ -5 |6 |-5 |0 |-11
6
+ ___________________
7
+ 12 |23 |12 |17 |6
8
+ ___________________
9
+ -7 |4 |-7 |-2 |-13
@@ -0,0 +1,24 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int w;
11
+ int h;
12
+ cin >> w >> h; cin.ignore();
13
+ int energy;
14
+ cin >> energy; cin.ignore();
15
+ for (int i = 0; i < h; i++) {
16
+ string row;
17
+ getline(cin, row);
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "score" << endl;
24
+ }
@@ -0,0 +1,24 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int w = in.nextInt();
10
+ int h = in.nextInt();
11
+ int energy = in.nextInt();
12
+ if (in.hasNextLine()) {
13
+ in.nextLine();
14
+ }
15
+ for (int i = 0; i < h; i++) {
16
+ String row = in.nextLine();
17
+ }
18
+
19
+ // Write an answer using System.out.println()
20
+ // To debug: System.err.println("Debug messages...");
21
+
22
+ System.out.println("score");
23
+ }
24
+ }
@@ -0,0 +1,12 @@
1
+ var inputs = readline().split(' ');
2
+ const w = parseInt(inputs[0]);
3
+ const h = parseInt(inputs[1]);
4
+ const energy = parseInt(readline());
5
+ for (let i = 0; i < h; i++) {
6
+ const row = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('score');
@@ -0,0 +1,12 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $w, $h);
3
+ fscanf(STDIN, "%d", $energy);
4
+ for ($i = 0; $i < $h; $i++)
5
+ {
6
+ $row = stream_get_line(STDIN, $w + 1, "\n");
7
+ }
8
+
9
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
10
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
11
+
12
+ echo("score\n");
@@ -0,0 +1,12 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const w: number = parseInt(inputs[0]);
3
+ const h: number = parseInt(inputs[1]);
4
+ const energy: number = parseInt(readline());
5
+ for (let i = 0; i < h; i++) {
6
+ const row: string = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('score');
@@ -0,0 +1,98 @@
1
+ {
2
+ "path": "medium/TiredPacMan",
3
+ "name": "Tired Pac-Man",
4
+ "alphanumName": "TiredPacMan",
5
+ "link": "https://www.codingame.com/ide/puzzle/tired-pac-man",
6
+ "tests": [
7
+ {
8
+ "name": "Basic Grid",
9
+ "alphanumName": "BasicGrid",
10
+ "file": "01 - Basic Grid.txt"
11
+ },
12
+ {
13
+ "name": "Basic Grid with Barriers",
14
+ "alphanumName": "BasicGridWithBarriers",
15
+ "file": "02 - Basic Grid with Barriers.txt"
16
+ },
17
+ {
18
+ "name": "Ghosts Gatekeeping",
19
+ "alphanumName": "GhostsGatekeeping",
20
+ "file": "03 - Ghosts Gatekeeping.txt"
21
+ },
22
+ {
23
+ "name": "Ghosts Extreme Gatekeeping",
24
+ "alphanumName": "GhostsExtremeGatekeeping",
25
+ "file": "04 - Ghosts Extreme Gatekeeping.txt"
26
+ },
27
+ {
28
+ "name": "No Fruit",
29
+ "alphanumName": "NoFruit",
30
+ "file": "05 - No Fruit.txt"
31
+ },
32
+ {
33
+ "name": "No Energy",
34
+ "alphanumName": "NoEnergy",
35
+ "file": "06 - No Energy.txt"
36
+ },
37
+ {
38
+ "name": "No Moves",
39
+ "alphanumName": "NoMoves",
40
+ "file": "07 - No Moves.txt"
41
+ },
42
+ {
43
+ "name": "Don’t Be Greedy",
44
+ "alphanumName": "DontBeGreedy",
45
+ "file": "08 - Don’t Be Greedy.txt"
46
+ },
47
+ {
48
+ "name": "Basic Wrap",
49
+ "alphanumName": "BasicWrap",
50
+ "file": "09 - Basic Wrap.txt"
51
+ },
52
+ {
53
+ "name": "Empty Grid",
54
+ "alphanumName": "EmptyGrid",
55
+ "file": "10 - Empty Grid.txt"
56
+ },
57
+ {
58
+ "name": "Medium Grid",
59
+ "alphanumName": "MediumGrid",
60
+ "file": "11 - Medium Grid.txt"
61
+ },
62
+ {
63
+ "name": "Large Grid",
64
+ "alphanumName": "LargeGrid",
65
+ "file": "12 - Large Grid.txt"
66
+ },
67
+ {
68
+ "name": "All Fruit Eaten",
69
+ "alphanumName": "AllFruitEaten",
70
+ "file": "13 - All Fruit Eaten.txt"
71
+ },
72
+ {
73
+ "name": "Dead Ends",
74
+ "alphanumName": "DeadEnds",
75
+ "file": "14 - Dead Ends.txt"
76
+ },
77
+ {
78
+ "name": "Ultimate Wrap",
79
+ "alphanumName": "UltimateWrap",
80
+ "file": "15 - Ultimate Wrap.txt"
81
+ },
82
+ {
83
+ "name": "Complex 1",
84
+ "alphanumName": "Complex1",
85
+ "file": "16 - Complex 1.txt"
86
+ },
87
+ {
88
+ "name": "Complex 2",
89
+ "alphanumName": "Complex2",
90
+ "file": "17 - Complex 2.txt"
91
+ },
92
+ {
93
+ "name": "Complex 3",
94
+ "alphanumName": "Complex3",
95
+ "file": "18 - Complex 3.txt"
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,11 @@
1
+ 12 9
2
+ 13
3
+ ############
4
+ # . * #
5
+ # . #
6
+ # . #
7
+ #. #
8
+ # . )P #
9
+ # . #
10
+ # . *#
11
+ ############
@@ -0,0 +1,11 @@
1
+ 12 9
2
+ 10
3
+ ############
4
+ # . ## #*# #
5
+ # . ## # # #
6
+ # . ## # # #
7
+ #. # # # #
8
+ # . P #
9
+ # . ## # # #
10
+ # . ## # #*#
11
+ ############
@@ -0,0 +1,15 @@
1
+ 15 13
2
+ 12
3
+ ###############
4
+ # . * * #
5
+ # . ) #
6
+ # . ..*) #
7
+ #. *G* #
8
+ # . G * P #
9
+ # . #
10
+ # . )) ** #
11
+ # . GG*GG* #
12
+ # . .. ** #
13
+ # . #
14
+ # . *#
15
+ ###############
@@ -0,0 +1,15 @@
1
+ 29 13
2
+ 23
3
+ #############################
4
+ #******G G*******#
5
+ #******* * ********#
6
+ #******G G*******#
7
+ # G G G G G G #
8
+ # #
9
+ # P #
10
+ # #
11
+ # G G G G G G #
12
+ #*******G G*******#
13
+ #******** . ) ********#
14
+ #*******G G*******#
15
+ #############################
@@ -0,0 +1,6 @@
1
+ 4 4
2
+ 25
3
+ ####
4
+ # #
5
+ # P#
6
+ ####
@@ -0,0 +1,49 @@
1
+ 47 47
2
+ 0
3
+ ###############################################
4
+ #.)*#* *#* .***.))##*.)##* # ) *# #* . * ###
5
+ #.*)) #.#*# )*)).# # .#. ))).##))*. ***## ))##
6
+ # ).# * )#*. )) #*..)*#*)##*.* )).*.)#)) #*#
7
+ #).) # * ).*))*)..) #..*#*##).##).#*#..# . .#
8
+ #*..)*## .*#* #.#)#.#)*#* .* #)*.*#) .*) ##*#
9
+ #*.#.##)**)# # ))*)*#. ##)*) #.*# ** ))*##.) *#
10
+ #)..*.*# **#)..*.##*)..* )* .))**.)*#* #*#)###
11
+ # *).**# .)) .))#*))#) *#. ##.#)))* )# )). # #
12
+ # ..)#).#* )*.#.*# .)*))#.*.....#*)**) ***)#.#
13
+ # #. ) .) ..#.)# . ) *)#.)###.# # # #) #
14
+ # **#*.* .#)*.) .*# )#).. **)#.*).*) *)#* *##
15
+ # )).* #.**.)#)..* #) *# )*#*.)*.**)#*.**##*#
16
+ #*)*#* ##.)***#).# .#*) .*)) * #*)).#*..#).#.#
17
+ # ..#.) .#*.. ).) #** # . . # )* )*##)*####.#)#
18
+ #)**).. )*) ##**) *#. ).)*#*#)*#)))..#.*##) #
19
+ ##.)#. .*)#*.***.**..#* )# *..# .**. ))#**)#**#
20
+ #)## ###.)..)))## .)# . ))*#.)#)).#...) #)***#
21
+ #***. # *.*#G *.#*.).))** #**)))).*#)##.) #. #
22
+ #. ).).##)..)*)))##)##)*# ##)## )*##. * #### #
23
+ #. ***#*)##)* .)P.## ).*)). ..# #.) .*)# ##)#
24
+ ##). **).*.)***. .#. ).. .*.))*)##*. .# **)).#
25
+ #*))#..#*G*)#*.)##.#** #.# )**# *. ). # ..*))#
26
+ ##*))) *.#..).* ##*# ) *#)* ). **..*. #*# )#
27
+ #*) * )... * *#. )* ) * .* * **#)* *# # )..#
28
+ # *.)))#*).*# *#)## ).*) .*). # . )*)##*)#
29
+ #.)*#*))**#)*#** ## *)).*. . *#).).)##*)).*##
30
+ #)## #).*#) #.. ).) # . )*)*.. )*## * *))*.##
31
+ #**)**#.* #.#. #)#..#*..***)*#) .)*. #))..##
32
+ # #)* #* *#) .#*) *.#.*)*)*...*)# #*.*)# .#
33
+ #)#) )* ) .*. * )) *.).)* * ###**)*# ))#*. )#
34
+ #*)))#.*)).)))*#. #)#**)#* .# *.#*# ) . .)*)#
35
+ #.# .##))#)) * ##)) ) ##)*) ). #.* .#) ). * G#
36
+ #) *. * #.. * ))*#*.# .)*).)*) # *#)**.G#*.))#
37
+ ###) )#)*#.))#).#.) ))* *. )** ) #*#. . .*).#
38
+ #) *****# )*#*)*.***##.#*###).*#.#*# #. *)).)#
39
+ #)**# * *.) ###.))))# #)**) *##)* ) ).)*))# #
40
+ #)*.* )*#)#.. *# ###))).*)..).*.)*G*# .**.) #
41
+ # ) .*.#*#).#* #)*###*#.) * . *. )## ).#. )#
42
+ #).* ## *.) #.)**..).#)*)# )*))#).). ***.*.).*#
43
+ #..)#.* .***..#...### *#*).. ).* ** ))). )...#
44
+ #.)*#.. *)# *. *##***#)) ) *#***# *#)))*.# *).#
45
+ #* ))## )#*.)).* ...) # #.)* **# #.*# .** ).# #
46
+ ##) *)## #*#) ) ) ..*#)#.#. ## )* * #)# ))*###
47
+ #. )*#..)# *.) * )*.#).) . . # .) ).*) . *.#
48
+ #.. # ).. .. #.**)## **** # ) *##).***)**. #
49
+ ###############################################
@@ -0,0 +1,56 @@
1
+ 54 54
2
+ 12
3
+ ######################################################
4
+ #* )** #.#*. )*#### )#**#. .) )G. *##*)***.#)# .#)G#
5
+ #*.)* )*##)* *. *)## #. #.**).)* *####.))**###).)##.#
6
+ # *. ))# . **# **.)#.*..)* )* ....))# *#)** * )*#*).#
7
+ #* ).*#*** ))#) ))*) # *#.#.)#. .)*#) #. .## )*#)##
8
+ #*.).* *. #)*#)#.#. . .**.*..# . #) ))#.# .))))# ###
9
+ #))*.*.*)))#*# *#) )# #*##))..#*# ..* ). * )*#)*.*#)##
10
+ ##*))#.# .)#..*.*) #* #) ).)*))* #..# . .#*).)*).* .#
11
+ #)#* .. ..)*..*))#. #*)))#.*#.) . ** )#.).. .)*... #
12
+ # ..#.) )**)#) .#)#)#) ) )*#))# )# ))..*.)**) # )#
13
+ # ..*) .*. ..*) )*. ) ## *# *) )#. *#) ))#*##* #.*#
14
+ #**# )..) #G*).#*#.*)* .. ).#* *..)* ..#..# )*#.)* . #
15
+ #.)**. #*.))##. * )) . * ##....# .* .))*..)*### #.)#
16
+ #**. # .#.*) #* ###)) ) ). ))##.). .*)*))##) #))#. )#
17
+ # *)) *))..*.***.)))#)#*).) .#*).*....#).)...#.#* #)#
18
+ #. )... ). *. G *))).* ).).#* *) *###**.* # # .#. #
19
+ #*)*#. )*)). #))#)*)*.)#** ) .)*#). )) )). #)*# ))) #
20
+ #).*#.#.#.#) # ###* . .#***.#..#.*))*) ). )* #)##)).#
21
+ # *. ##*.#.***). **.. *#*.*)****#*) * #*## #)#*.##
22
+ #*#*#.*)### .)# ###*.. .*#))**#))#* ##*) )**#)**#*.*#
23
+ ## *#*).).) ).#.. ***#))**.)##))..G*#*)# # .#. ). ##
24
+ #.*. ) ).).).) *. #*)))*) ))#.#)*#.#. .* . # .**#*#
25
+ #* ###..#.. #*)) .*)#)#*#)*## *.*.* #* #. )## *.) #*#
26
+ # )#)*).*)).)#**.) # .*))).) ). #).* *. .#)**.)).*#*#
27
+ ##*)) ) ... ..#.#.)*.. #*.) **)))# ))*#. ...**)*#*.#
28
+ #* )).*#.# ).).#.#))# ##.***. )# *))*. . )#.*...##
29
+ #* .# * .#)) #). .#)#))).* ...)).#*#) *.##*)..#.)#*#
30
+ #.)##*# # ))*)* .## ..)*) ..*#) ).).#.. ***) )#). #
31
+ #). .)G*P## #..)*#. * *) ## ...*#)#) .) .)#)*) #
32
+ #**##)) )*#)# # *. )..# )))..)#*#..).* ).## #*#)#))##
33
+ # .*#.G#** #).. )* .)*##*#..*. . .*. )..##** ).# #
34
+ #*#..###))# # .**#.* )# )##.# ) * .)#..*.#*))#.). )#
35
+ ###.#.) #..))*..# *) )**#**.).*. ).*)*# ). *) ** #
36
+ #)* ))*#.) .)# ). .)#). )..*)#*#.*# #))) .)#)**#
37
+ ## **# )** *#.)*..).*#).# *#)# .) ).*#)#))) ) .)#
38
+ #.)))## ##. )*.)..*.)))*)).#* #** .#. ))##* *#)* * ..#
39
+ #*).)..)*.# **..*#) *)#..*# # *.)#*#*#.#)#*#*) * .# #
40
+ #**)*. #..*# **#*** .. # *###**.##.* G *) #)) ##
41
+ #. #) .#. )))*.#. .***) # #.#*)))# **. .. #*.*.# )* #
42
+ #***# .#.*)..#***).). )*.**#. )) ..#.. )*)*)).)*)*#
43
+ #) *. *).))# *))**#**#)**.#.*# )* ..)). # ##..)*#.#
44
+ #..#)*.*# )#)*) )*##*.*#). # *.##)* )#.. *)* ) )##*.#
45
+ #* ..##) #* *#.. *.. #.*.)*** .#).# .. ))##.#. .)) #)#
46
+ ### **)).*)*#****.*.. * )#) **..)#*# ). **# *)....##
47
+ ###) * )) )*#)**) .#)****#.*#))* *)*. #*G))). ).##
48
+ #*#*)##**.) .. *.))# ) )**##. .#)) ) .#.#.* *.*.).. #
49
+ #)#**#.*#)##*.))* ).).) *).#**#))..*# * *)*. )*##*)) #
50
+ #)).* **#.**##).. *. *.*)#)#.### )#)*.*#*.*#))*..) *#
51
+ #.. *.*)#.) ))**.)##.##* ) )##)## . #.#*. #) )..***#
52
+ #)*).) ##*..*#*)#.**.# *.. . # .) .. )*.. .).)# * . )#
53
+ #)*.# ) .##*.**)*.#*)#.# #**. .).)))..#*#)))#####
54
+ # # *##.))*)## # * # #)).*..##) **))** )* .#... ##
55
+ ## ).*#..*))#)).)#. .). ###*..# **#. )).* # ..* ## #
56
+ ######################################################