@cyrilverloop/codingame-configuration 1.16.0 → 1.17.1

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 (781) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/config/easy/ButtonMash/code/CGCode.cpp +17 -0
  3. package/config/easy/ButtonMash/code/CGCode.java +16 -0
  4. package/config/easy/ButtonMash/code/CGCode.js +6 -0
  5. package/config/easy/ButtonMash/code/CGCode.php +7 -0
  6. package/config/easy/ButtonMash/code/CGCode.ts +6 -0
  7. package/config/easy/ButtonMash/config.json +68 -0
  8. package/config/easy/ButtonMash/input/01 - test 1.txt +1 -0
  9. package/config/easy/ButtonMash/input/02 - test 2.txt +1 -0
  10. package/config/easy/ButtonMash/input/03 - test 3.txt +1 -0
  11. package/config/easy/ButtonMash/input/04 - test 4.txt +1 -0
  12. package/config/easy/ButtonMash/input/05 - test 5.txt +1 -0
  13. package/config/easy/ButtonMash/input/06 - test 6.txt +1 -0
  14. package/config/easy/ButtonMash/input/07 - test 7.txt +1 -0
  15. package/config/easy/ButtonMash/input/08 - test 8.txt +1 -0
  16. package/config/easy/ButtonMash/input/09 - test 9.txt +1 -0
  17. package/config/easy/ButtonMash/input/10 - test 10.txt +1 -0
  18. package/config/easy/ButtonMash/input/11 - test 11.txt +1 -0
  19. package/config/easy/ButtonMash/input/12 - test 12.txt +1 -0
  20. package/config/easy/ButtonMash/output/01 - test 1.txt +1 -0
  21. package/config/easy/ButtonMash/output/02 - test 2.txt +1 -0
  22. package/config/easy/ButtonMash/output/03 - test 3.txt +1 -0
  23. package/config/easy/ButtonMash/output/04 - test 4.txt +1 -0
  24. package/config/easy/ButtonMash/output/05 - test 5.txt +1 -0
  25. package/config/easy/ButtonMash/output/06 - test 6.txt +1 -0
  26. package/config/easy/ButtonMash/output/07 - test 7.txt +1 -0
  27. package/config/easy/ButtonMash/output/08 - test 8.txt +1 -0
  28. package/config/easy/ButtonMash/output/09 - test 9.txt +1 -0
  29. package/config/easy/ButtonMash/output/10 - test 10.txt +1 -0
  30. package/config/easy/ButtonMash/output/11 - test 11.txt +1 -0
  31. package/config/easy/ButtonMash/output/12 - test 12.txt +1 -0
  32. package/config/easy/CityLightsPart1/code/CGCode.cpp +23 -0
  33. package/config/easy/CityLightsPart1/code/CGCode.java +23 -0
  34. package/config/easy/CityLightsPart1/code/CGCode.js +10 -0
  35. package/config/easy/CityLightsPart1/code/CGCode.php +12 -0
  36. package/config/easy/CityLightsPart1/code/CGCode.ts +10 -0
  37. package/config/easy/CityLightsPart1/config.json +43 -0
  38. package/config/easy/CityLightsPart1/input/01 - 1 Town.txt +7 -0
  39. package/config/easy/CityLightsPart1/input/02 - 2 Towns.txt +9 -0
  40. package/config/easy/CityLightsPart1/input/03 - More Towns.txt +10 -0
  41. package/config/easy/CityLightsPart1/input/04 - Rural.txt +12 -0
  42. package/config/easy/CityLightsPart1/input/05 - Urban.txt +12 -0
  43. package/config/easy/CityLightsPart1/input/06 - TOO MUCH LIGHT.txt +14 -0
  44. package/config/easy/CityLightsPart1/input/07 - im blind.txt +17 -0
  45. package/config/easy/CityLightsPart1/output/01 - 1 Town.txt +5 -0
  46. package/config/easy/CityLightsPart1/output/02 - 2 Towns.txt +7 -0
  47. package/config/easy/CityLightsPart1/output/03 - More Towns.txt +8 -0
  48. package/config/easy/CityLightsPart1/output/04 - Rural.txt +10 -0
  49. package/config/easy/CityLightsPart1/output/05 - Urban.txt +10 -0
  50. package/config/easy/CityLightsPart1/output/06 - TOO MUCH LIGHT.txt +12 -0
  51. package/config/easy/CityLightsPart1/output/07 - im blind.txt +15 -0
  52. package/config/easy/KeyValueStore/code/CGCode.cpp +21 -0
  53. package/config/easy/KeyValueStore/code/CGCode.java +22 -0
  54. package/config/easy/KeyValueStore/code/CGCode.js +9 -0
  55. package/config/easy/KeyValueStore/code/CGCode.php +11 -0
  56. package/config/easy/KeyValueStore/code/CGCode.ts +9 -0
  57. package/config/easy/KeyValueStore/config.json +38 -0
  58. package/config/easy/KeyValueStore/input/01 - OS INFO.txt +4 -0
  59. package/config/easy/KeyValueStore/input/02 - ABCD.txt +4 -0
  60. package/config/easy/KeyValueStore/input/03 - SET UPDATE.txt +5 -0
  61. package/config/easy/KeyValueStore/input/04 - codin-game.txt +13 -0
  62. package/config/easy/KeyValueStore/input/05 - NULL.txt +4 -0
  63. package/config/easy/KeyValueStore/input/06 - All.txt +18 -0
  64. package/config/easy/KeyValueStore/output/01 - OS INFO.txt +1 -0
  65. package/config/easy/KeyValueStore/output/02 - ABCD.txt +2 -0
  66. package/config/easy/KeyValueStore/output/03 - SET UPDATE.txt +2 -0
  67. package/config/easy/KeyValueStore/output/04 - codin-game.txt +2 -0
  68. package/config/easy/KeyValueStore/output/05 - NULL.txt +3 -0
  69. package/config/easy/KeyValueStore/output/06 - All.txt +12 -0
  70. package/config/easy/TakuzuSolverEasyMode/code/CGCode.cpp +27 -0
  71. package/config/easy/TakuzuSolverEasyMode/code/CGCode.java +27 -0
  72. package/config/easy/TakuzuSolverEasyMode/code/CGCode.js +15 -0
  73. package/config/easy/TakuzuSolverEasyMode/code/CGCode.php +17 -0
  74. package/config/easy/TakuzuSolverEasyMode/code/CGCode.ts +15 -0
  75. package/config/easy/TakuzuSolverEasyMode/config.json +33 -0
  76. package/config/easy/TakuzuSolverEasyMode/input/01 - test 1.txt +7 -0
  77. package/config/easy/TakuzuSolverEasyMode/input/02 - test 2.txt +9 -0
  78. package/config/easy/TakuzuSolverEasyMode/input/03 - test 3.txt +11 -0
  79. package/config/easy/TakuzuSolverEasyMode/input/04 - test 4.txt +13 -0
  80. package/config/easy/TakuzuSolverEasyMode/input/05 - test 5.txt +15 -0
  81. package/config/easy/TakuzuSolverEasyMode/output/01 - test 1.txt +6 -0
  82. package/config/easy/TakuzuSolverEasyMode/output/02 - test 2.txt +8 -0
  83. package/config/easy/TakuzuSolverEasyMode/output/03 - test 3.txt +10 -0
  84. package/config/easy/TakuzuSolverEasyMode/output/04 - test 4.txt +12 -0
  85. package/config/easy/TakuzuSolverEasyMode/output/05 - test 5.txt +14 -0
  86. package/config/expert/CodinDice/code/CGCode.cpp +23 -0
  87. package/config/expert/CodinDice/code/CGCode.java +21 -0
  88. package/config/expert/CodinDice/code/CGCode.js +12 -0
  89. package/config/expert/CodinDice/code/CGCode.php +11 -0
  90. package/config/expert/CodinDice/code/CGCode.ts +12 -0
  91. package/config/expert/CodinDice/config.json +48 -0
  92. package/config/expert/CodinDice/input/01 - Simple case..txt +3 -0
  93. package/config/expert/CodinDice/input/02 - A bit further..txt +3 -0
  94. package/config/expert/CodinDice/input/03 - The C move.txt +3 -0
  95. package/config/expert/CodinDice/input/04 - Getting serious..txt +4 -0
  96. package/config/expert/CodinDice/input/05 - Many dice..txt +8 -0
  97. package/config/expert/CodinDice/input/06 - Iron Die..txt +4 -0
  98. package/config/expert/CodinDice/input/07 - TOP TOP TOP TOP.txt +6 -0
  99. package/config/expert/CodinDice/input/08 - Out and Back.txt +7 -0
  100. package/config/expert/CodinDice/output/01 - Simple case..txt +1 -0
  101. package/config/expert/CodinDice/output/02 - A bit further..txt +2 -0
  102. package/config/expert/CodinDice/output/03 - The C move.txt +4 -0
  103. package/config/expert/CodinDice/output/04 - Getting serious..txt +4 -0
  104. package/config/expert/CodinDice/output/05 - Many dice..txt +5 -0
  105. package/config/expert/CodinDice/output/06 - Iron Die..txt +4 -0
  106. package/config/expert/CodinDice/output/07 - TOP TOP TOP TOP.txt +4 -0
  107. package/config/expert/CodinDice/output/08 - Out and Back.txt +12 -0
  108. package/config/expert/DungeonDesigner/code/CGCode.cpp +28 -0
  109. package/config/expert/DungeonDesigner/code/CGCode.java +26 -0
  110. package/config/expert/DungeonDesigner/code/CGCode.js +18 -0
  111. package/config/expert/DungeonDesigner/code/CGCode.php +14 -0
  112. package/config/expert/DungeonDesigner/code/CGCode.ts +18 -0
  113. package/config/expert/DungeonDesigner/config.json +43 -0
  114. package/config/expert/DungeonDesigner/input/01 - Small one.txt +2 -0
  115. package/config/expert/DungeonDesigner/input/02 - Verrry smal one.txt +2 -0
  116. package/config/expert/DungeonDesigner/input/03 - Bigger one.txt +2 -0
  117. package/config/expert/DungeonDesigner/input/04 - Rectangular - X not in front of barracks.txt +2 -0
  118. package/config/expert/DungeonDesigner/input/05 - Big.txt +2 -0
  119. package/config/expert/DungeonDesigner/input/06 - Corridor.txt +2 -0
  120. package/config/expert/DungeonDesigner/input/07 - Corridor -.txt +2 -0
  121. package/config/expert/DungeonDesigner/output/01 - Small one.txt +5 -0
  122. package/config/expert/DungeonDesigner/output/02 - Verrry smal one.txt +3 -0
  123. package/config/expert/DungeonDesigner/output/03 - Bigger one.txt +11 -0
  124. package/config/expert/DungeonDesigner/output/04 - Rectangular - X not in front of barracks.txt +21 -0
  125. package/config/expert/DungeonDesigner/output/05 - Big.txt +25 -0
  126. package/config/expert/DungeonDesigner/output/06 - Corridor.txt +15 -0
  127. package/config/expert/DungeonDesigner/output/07 - Corridor -.txt +3 -0
  128. package/config/expert/FloodTheWorld/code/CGCode.cpp +31 -0
  129. package/config/expert/FloodTheWorld/code/CGCode.java +26 -0
  130. package/config/expert/FloodTheWorld/code/CGCode.js +18 -0
  131. package/config/expert/FloodTheWorld/code/CGCode.php +17 -0
  132. package/config/expert/FloodTheWorld/code/CGCode.ts +18 -0
  133. package/config/expert/FloodTheWorld/config.json +63 -0
  134. package/config/expert/FloodTheWorld/input/01 - test 1 - Small Peak.txt +12 -0
  135. package/config/expert/FloodTheWorld/input/02 - test 2 - Great Peak.txt +12 -0
  136. package/config/expert/FloodTheWorld/input/03 - test 3 - Runoff.txt +14 -0
  137. package/config/expert/FloodTheWorld/input/04 - test 4 - Reservoir.txt +15 -0
  138. package/config/expert/FloodTheWorld/input/05 - test 5 - Overflow.txt +12 -0
  139. package/config/expert/FloodTheWorld/input/06 - test 6 - Overflow Race.txt +15 -0
  140. package/config/expert/FloodTheWorld/input/07 - test 7 - Another Overflow Race.txt +13 -0
  141. package/config/expert/FloodTheWorld/input/08 - test 8 - On Edge.txt +10 -0
  142. package/config/expert/FloodTheWorld/input/09 - test 9 - Next One Over.txt +12 -0
  143. package/config/expert/FloodTheWorld/input/10 - test 10 - Pure Abyss.txt +10 -0
  144. package/config/expert/FloodTheWorld/input/11 - test 11 - Real World.txt +27 -0
  145. package/config/expert/FloodTheWorld/output/01 - test 1 - Small Peak.txt +1 -0
  146. package/config/expert/FloodTheWorld/output/02 - test 2 - Great Peak.txt +1 -0
  147. package/config/expert/FloodTheWorld/output/03 - test 3 - Runoff.txt +1 -0
  148. package/config/expert/FloodTheWorld/output/04 - test 4 - Reservoir.txt +1 -0
  149. package/config/expert/FloodTheWorld/output/05 - test 5 - Overflow.txt +1 -0
  150. package/config/expert/FloodTheWorld/output/06 - test 6 - Overflow Race.txt +1 -0
  151. package/config/expert/FloodTheWorld/output/07 - test 7 - Another Overflow Race.txt +1 -0
  152. package/config/expert/FloodTheWorld/output/08 - test 8 - On Edge.txt +1 -0
  153. package/config/expert/FloodTheWorld/output/09 - test 9 - Next One Over.txt +1 -0
  154. package/config/expert/FloodTheWorld/output/10 - test 10 - Pure Abyss.txt +1 -0
  155. package/config/expert/FloodTheWorld/output/11 - test 11 - Real World.txt +1 -0
  156. package/config/expert/HeartOfTheCity/code/CGCode.cpp +17 -0
  157. package/config/expert/HeartOfTheCity/code/CGCode.java +16 -0
  158. package/config/expert/HeartOfTheCity/code/CGCode.js +6 -0
  159. package/config/expert/HeartOfTheCity/code/CGCode.php +7 -0
  160. package/config/expert/HeartOfTheCity/code/CGCode.ts +6 -0
  161. package/config/expert/HeartOfTheCity/config.json +58 -0
  162. package/config/expert/HeartOfTheCity/input/01 - test 1.txt +1 -0
  163. package/config/expert/HeartOfTheCity/input/02 - test 2.txt +1 -0
  164. package/config/expert/HeartOfTheCity/input/03 - test 3.txt +1 -0
  165. package/config/expert/HeartOfTheCity/input/04 - test 4.txt +1 -0
  166. package/config/expert/HeartOfTheCity/input/05 - test 5.txt +1 -0
  167. package/config/expert/HeartOfTheCity/input/06 - test 6.txt +1 -0
  168. package/config/expert/HeartOfTheCity/input/07 - test 7.txt +1 -0
  169. package/config/expert/HeartOfTheCity/input/08 - test 8.txt +1 -0
  170. package/config/expert/HeartOfTheCity/input/09 - test 9.txt +1 -0
  171. package/config/expert/HeartOfTheCity/input/10 - test 10.txt +1 -0
  172. package/config/expert/HeartOfTheCity/output/01 - test 1.txt +1 -0
  173. package/config/expert/HeartOfTheCity/output/02 - test 2.txt +1 -0
  174. package/config/expert/HeartOfTheCity/output/03 - test 3.txt +1 -0
  175. package/config/expert/HeartOfTheCity/output/04 - test 4.txt +1 -0
  176. package/config/expert/HeartOfTheCity/output/05 - test 5.txt +1 -0
  177. package/config/expert/HeartOfTheCity/output/06 - test 6.txt +1 -0
  178. package/config/expert/HeartOfTheCity/output/07 - test 7.txt +1 -0
  179. package/config/expert/HeartOfTheCity/output/08 - test 8.txt +1 -0
  180. package/config/expert/HeartOfTheCity/output/09 - test 9.txt +1 -0
  181. package/config/expert/HeartOfTheCity/output/10 - test 10.txt +1 -0
  182. package/config/expert/Hourglass/code/CGCode.cpp +21 -0
  183. package/config/expert/Hourglass/code/CGCode.java +19 -0
  184. package/config/expert/Hourglass/code/CGCode.js +9 -0
  185. package/config/expert/Hourglass/code/CGCode.php +11 -0
  186. package/config/expert/Hourglass/code/CGCode.ts +9 -0
  187. package/config/expert/Hourglass/config.json +48 -0
  188. package/config/expert/Hourglass/input/01 - Example.txt +24 -0
  189. package/config/expert/Hourglass/input/02 - Faster than Usain Bolt.txt +24 -0
  190. package/config/expert/Hourglass/input/03 - Time/342/200/231s up!.txt" +24 -0
  191. package/config/expert/Hourglass/input/04 - Tryhard.txt +24 -0
  192. package/config/expert/Hourglass/input/05 - Where/342/200/231s all the sand.txt" +24 -0
  193. package/config/expert/Hourglass/input/06 - This used to be more accurate...txt +24 -0
  194. package/config/expert/Hourglass/input/07 - Falling asleep....txt +24 -0
  195. package/config/expert/Hourglass/input/08 - EARTHQUAKE!!!.txt +24 -0
  196. package/config/expert/Hourglass/output/01 - Example.txt +23 -0
  197. package/config/expert/Hourglass/output/02 - Faster than Usain Bolt.txt +23 -0
  198. package/config/expert/Hourglass/output/03 - Time/342/200/231s up!.txt" +23 -0
  199. package/config/expert/Hourglass/output/04 - Tryhard.txt +23 -0
  200. package/config/expert/Hourglass/output/05 - Where/342/200/231s all the sand.txt" +1 -0
  201. package/config/expert/Hourglass/output/06 - This used to be more accurate...txt +1 -0
  202. package/config/expert/Hourglass/output/07 - Falling asleep....txt +23 -0
  203. package/config/expert/Hourglass/output/08 - EARTHQUAKE!!!.txt +23 -0
  204. package/config/expert/SquaresOrder/code/CGCode.cpp +26 -0
  205. package/config/expert/SquaresOrder/code/CGCode.java +26 -0
  206. package/config/expert/SquaresOrder/code/CGCode.js +14 -0
  207. package/config/expert/SquaresOrder/code/CGCode.php +15 -0
  208. package/config/expert/SquaresOrder/code/CGCode.ts +14 -0
  209. package/config/expert/SquaresOrder/config.json +28 -0
  210. package/config/expert/SquaresOrder/input/01 - 2 squares.txt +7 -0
  211. package/config/expert/SquaresOrder/input/02 - 1 square.txt +7 -0
  212. package/config/expert/SquaresOrder/input/03 - 3 squares.txt +9 -0
  213. package/config/expert/SquaresOrder/input/04 - 5 squares.txt +12 -0
  214. package/config/expert/SquaresOrder/output/01 - 2 squares.txt +2 -0
  215. package/config/expert/SquaresOrder/output/02 - 1 square.txt +1 -0
  216. package/config/expert/SquaresOrder/output/03 - 3 squares.txt +3 -0
  217. package/config/expert/SquaresOrder/output/04 - 5 squares.txt +5 -0
  218. package/config/expert/TheCrimeScene/code/CGCode.cpp +22 -0
  219. package/config/expert/TheCrimeScene/code/CGCode.java +20 -0
  220. package/config/expert/TheCrimeScene/code/CGCode.js +11 -0
  221. package/config/expert/TheCrimeScene/code/CGCode.php +11 -0
  222. package/config/expert/TheCrimeScene/code/CGCode.ts +11 -0
  223. package/config/expert/TheCrimeScene/config.json +38 -0
  224. package/config/expert/TheCrimeScene/input/01 - 3 clues.txt +4 -0
  225. package/config/expert/TheCrimeScene/input/02 - 4 clues.txt +5 -0
  226. package/config/expert/TheCrimeScene/input/03 - Big crime.txt +11 -0
  227. package/config/expert/TheCrimeScene/input/04 - Huge crime.txt +91 -0
  228. package/config/expert/TheCrimeScene/input/05 - 2 clues.txt +3 -0
  229. package/config/expert/TheCrimeScene/input/06 - 1 clue.txt +2 -0
  230. package/config/expert/TheCrimeScene/output/01 - 3 clues.txt +1 -0
  231. package/config/expert/TheCrimeScene/output/02 - 4 clues.txt +1 -0
  232. package/config/expert/TheCrimeScene/output/03 - Big crime.txt +1 -0
  233. package/config/expert/TheCrimeScene/output/04 - Huge crime.txt +1 -0
  234. package/config/expert/TheCrimeScene/output/05 - 2 clues.txt +1 -0
  235. package/config/expert/TheCrimeScene/output/06 - 1 clue.txt +1 -0
  236. package/config/expert/TheLuckyNumber/code/CGCode.cpp +18 -0
  237. package/config/expert/TheLuckyNumber/code/CGCode.java +17 -0
  238. package/config/expert/TheLuckyNumber/code/CGCode.js +8 -0
  239. package/config/expert/TheLuckyNumber/code/CGCode.php +7 -0
  240. package/config/expert/TheLuckyNumber/code/CGCode.ts +8 -0
  241. package/config/expert/TheLuckyNumber/config.json +38 -0
  242. package/config/expert/TheLuckyNumber/input/01 - Sample.txt +1 -0
  243. package/config/expert/TheLuckyNumber/input/02 - Overlapping.txt +1 -0
  244. package/config/expert/TheLuckyNumber/input/03 - Same.txt +1 -0
  245. package/config/expert/TheLuckyNumber/input/04 - Larger.txt +1 -0
  246. package/config/expert/TheLuckyNumber/input/05 - 64-bit integer.txt +1 -0
  247. package/config/expert/TheLuckyNumber/input/06 - Biggest.txt +1 -0
  248. package/config/expert/TheLuckyNumber/output/01 - Sample.txt +1 -0
  249. package/config/expert/TheLuckyNumber/output/02 - Overlapping.txt +1 -0
  250. package/config/expert/TheLuckyNumber/output/03 - Same.txt +1 -0
  251. package/config/expert/TheLuckyNumber/output/04 - Larger.txt +1 -0
  252. package/config/expert/TheLuckyNumber/output/05 - 64-bit integer.txt +1 -0
  253. package/config/expert/TheLuckyNumber/output/06 - Biggest.txt +1 -0
  254. package/config/expert/TicketToRideEurope/code/CGCode.cpp +43 -0
  255. package/config/expert/TicketToRideEurope/code/CGCode.java +39 -0
  256. package/config/expert/TicketToRideEurope/code/CGCode.js +33 -0
  257. package/config/expert/TicketToRideEurope/code/CGCode.php +16 -0
  258. package/config/expert/TicketToRideEurope/code/CGCode.ts +33 -0
  259. package/config/expert/TicketToRideEurope/config.json +128 -0
  260. package/config/expert/TicketToRideEurope/input/01 - One ticket, three routes.txt +6 -0
  261. package/config/expert/TicketToRideEurope/input/02 - Rules Colored route 1.txt +3 -0
  262. package/config/expert/TicketToRideEurope/input/03 - Rules Colored route 2.txt +3 -0
  263. package/config/expert/TicketToRideEurope/input/04 - Rules Car shortage.txt +3 -0
  264. package/config/expert/TicketToRideEurope/input/05 - Rules Card shortage.txt +3 -0
  265. package/config/expert/TicketToRideEurope/input/06 - Rules Use an engine.txt +3 -0
  266. package/config/expert/TicketToRideEurope/input/07 - Rules Gray route.txt +3 -0
  267. package/config/expert/TicketToRideEurope/input/08 - Rules Gray mixed colors.txt +3 -0
  268. package/config/expert/TicketToRideEurope/input/09 - Rules Ferry.txt +3 -0
  269. package/config/expert/TicketToRideEurope/input/10 - Rules Engine shortage.txt +3 -0
  270. package/config/expert/TicketToRideEurope/input/11 - Rules Two routes.txt +4 -0
  271. package/config/expert/TicketToRideEurope/input/12 - Rules Expend cars.txt +4 -0
  272. package/config/expert/TicketToRideEurope/input/13 - Rules Expend cards.txt +4 -0
  273. package/config/expert/TicketToRideEurope/input/14 - Rules Simple ticket.txt +6 -0
  274. package/config/expert/TicketToRideEurope/input/15 - Rules Incomplete ticket.txt +6 -0
  275. package/config/expert/TicketToRideEurope/input/16 - Multiple tickets.txt +13 -0
  276. package/config/expert/TicketToRideEurope/input/17 - Engines and gray routes.txt +7 -0
  277. package/config/expert/TicketToRideEurope/input/18 - Shades of gray.txt +5 -0
  278. package/config/expert/TicketToRideEurope/input/19 - Shades of gray 2.txt +7 -0
  279. package/config/expert/TicketToRideEurope/input/20 - The long trap.txt +9 -0
  280. package/config/expert/TicketToRideEurope/input/21 - Another long trap.txt +5 -0
  281. package/config/expert/TicketToRideEurope/input/22 - The middle trap.txt +6 -0
  282. package/config/expert/TicketToRideEurope/input/23 - Multi-purpose routes.txt +22 -0
  283. package/config/expert/TicketToRideEurope/input/24 - Oh, the possibilities!.txt +27 -0
  284. package/config/expert/TicketToRideEurope/output/01 - One ticket, three routes.txt +1 -0
  285. package/config/expert/TicketToRideEurope/output/02 - Rules Colored route 1.txt +1 -0
  286. package/config/expert/TicketToRideEurope/output/03 - Rules Colored route 2.txt +1 -0
  287. package/config/expert/TicketToRideEurope/output/04 - Rules Car shortage.txt +1 -0
  288. package/config/expert/TicketToRideEurope/output/05 - Rules Card shortage.txt +1 -0
  289. package/config/expert/TicketToRideEurope/output/06 - Rules Use an engine.txt +1 -0
  290. package/config/expert/TicketToRideEurope/output/07 - Rules Gray route.txt +1 -0
  291. package/config/expert/TicketToRideEurope/output/08 - Rules Gray mixed colors.txt +1 -0
  292. package/config/expert/TicketToRideEurope/output/09 - Rules Ferry.txt +1 -0
  293. package/config/expert/TicketToRideEurope/output/10 - Rules Engine shortage.txt +1 -0
  294. package/config/expert/TicketToRideEurope/output/11 - Rules Two routes.txt +1 -0
  295. package/config/expert/TicketToRideEurope/output/12 - Rules Expend cars.txt +1 -0
  296. package/config/expert/TicketToRideEurope/output/13 - Rules Expend cards.txt +1 -0
  297. package/config/expert/TicketToRideEurope/output/14 - Rules Simple ticket.txt +1 -0
  298. package/config/expert/TicketToRideEurope/output/15 - Rules Incomplete ticket.txt +1 -0
  299. package/config/expert/TicketToRideEurope/output/16 - Multiple tickets.txt +1 -0
  300. package/config/expert/TicketToRideEurope/output/17 - Engines and gray routes.txt +1 -0
  301. package/config/expert/TicketToRideEurope/output/18 - Shades of gray.txt +1 -0
  302. package/config/expert/TicketToRideEurope/output/19 - Shades of gray 2.txt +1 -0
  303. package/config/expert/TicketToRideEurope/output/20 - The long trap.txt +1 -0
  304. package/config/expert/TicketToRideEurope/output/21 - Another long trap.txt +1 -0
  305. package/config/expert/TicketToRideEurope/output/22 - The middle trap.txt +1 -0
  306. package/config/expert/TicketToRideEurope/output/23 - Multi-purpose routes.txt +1 -0
  307. package/config/expert/TicketToRideEurope/output/24 - Oh, the possibilities!.txt +1 -0
  308. package/config/expert/UnfloodTheWorld/code/CGCode.cpp +24 -0
  309. package/config/expert/UnfloodTheWorld/code/CGCode.java +22 -0
  310. package/config/expert/UnfloodTheWorld/code/CGCode.js +14 -0
  311. package/config/expert/UnfloodTheWorld/code/CGCode.php +15 -0
  312. package/config/expert/UnfloodTheWorld/code/CGCode.ts +14 -0
  313. package/config/expert/UnfloodTheWorld/config.json +48 -0
  314. package/config/expert/UnfloodTheWorld/input/01 - One drain.txt +5 -0
  315. package/config/expert/UnfloodTheWorld/input/02 - Hill.txt +6 -0
  316. package/config/expert/UnfloodTheWorld/input/03 - Wall.txt +4 -0
  317. package/config/expert/UnfloodTheWorld/input/04 - Flat field.txt +4 -0
  318. package/config/expert/UnfloodTheWorld/input/05 - Chess board.txt +6 -0
  319. package/config/expert/UnfloodTheWorld/input/06 - Fractal.txt +10 -0
  320. package/config/expert/UnfloodTheWorld/input/07 - Maze.txt +10 -0
  321. package/config/expert/UnfloodTheWorld/input/08 - Plateaus.txt +7 -0
  322. package/config/expert/UnfloodTheWorld/output/01 - One drain.txt +1 -0
  323. package/config/expert/UnfloodTheWorld/output/02 - Hill.txt +1 -0
  324. package/config/expert/UnfloodTheWorld/output/03 - Wall.txt +1 -0
  325. package/config/expert/UnfloodTheWorld/output/04 - Flat field.txt +1 -0
  326. package/config/expert/UnfloodTheWorld/output/05 - Chess board.txt +1 -0
  327. package/config/expert/UnfloodTheWorld/output/06 - Fractal.txt +1 -0
  328. package/config/expert/UnfloodTheWorld/output/07 - Maze.txt +1 -0
  329. package/config/expert/UnfloodTheWorld/output/08 - Plateaus.txt +1 -0
  330. package/config/hard/BreakingApart/code/CGCode.cpp +19 -0
  331. package/config/hard/BreakingApart/code/CGCode.java +20 -0
  332. package/config/hard/BreakingApart/code/CGCode.js +7 -0
  333. package/config/hard/BreakingApart/code/CGCode.php +8 -0
  334. package/config/hard/BreakingApart/code/CGCode.ts +7 -0
  335. package/config/hard/BreakingApart/config.json +38 -0
  336. package/config/hard/BreakingApart/input/01 - Single Break.txt +2 -0
  337. package/config/hard/BreakingApart/input/02 - Too short for a break.txt +2 -0
  338. package/config/hard/BreakingApart/input/03 - No singles left over.txt +2 -0
  339. package/config/hard/BreakingApart/input/04 - One word many breaks.txt +2 -0
  340. package/config/hard/BreakingApart/input/05 - Lorem ipsum modified.txt +2 -0
  341. package/config/hard/BreakingApart/input/06 - Large test.txt +2 -0
  342. package/config/hard/BreakingApart/output/01 - Single Break.txt +2 -0
  343. package/config/hard/BreakingApart/output/02 - Too short for a break.txt +1 -0
  344. package/config/hard/BreakingApart/output/03 - No singles left over.txt +2 -0
  345. package/config/hard/BreakingApart/output/04 - One word many breaks.txt +5 -0
  346. package/config/hard/BreakingApart/output/05 - Lorem ipsum modified.txt +12 -0
  347. package/config/hard/BreakingApart/output/06 - Large test.txt +9 -0
  348. package/config/hard/CGChatInterpreter/config.json +1 -1
  349. package/config/hard/ChessBoardAnalyzer/code/CGCode.cpp +19 -0
  350. package/config/hard/ChessBoardAnalyzer/code/CGCode.java +18 -0
  351. package/config/hard/ChessBoardAnalyzer/code/CGCode.js +8 -0
  352. package/config/hard/ChessBoardAnalyzer/code/CGCode.php +10 -0
  353. package/config/hard/ChessBoardAnalyzer/code/CGCode.ts +8 -0
  354. package/config/hard/ChessBoardAnalyzer/config.json +83 -0
  355. package/config/hard/ChessBoardAnalyzer/input/01 - Rooks mate.txt +8 -0
  356. package/config/hard/ChessBoardAnalyzer/input/02 - Mate with Rooks.txt +8 -0
  357. package/config/hard/ChessBoardAnalyzer/input/03 - Double Bishop mate.txt +8 -0
  358. package/config/hard/ChessBoardAnalyzer/input/04 - Anderssen mate.txt +8 -0
  359. package/config/hard/ChessBoardAnalyzer/input/05 - One Rook mate.txt +8 -0
  360. package/config/hard/ChessBoardAnalyzer/input/06 - Second turn win.txt +8 -0
  361. package/config/hard/ChessBoardAnalyzer/input/07 - Third turn win.txt +8 -0
  362. package/config/hard/ChessBoardAnalyzer/input/08 - Initial board.txt +8 -0
  363. package/config/hard/ChessBoardAnalyzer/input/09 - There is exit.txt +8 -0
  364. package/config/hard/ChessBoardAnalyzer/input/10 - Queen.txt +8 -0
  365. package/config/hard/ChessBoardAnalyzer/input/11 - Fischer vs Panno.txt +8 -0
  366. package/config/hard/ChessBoardAnalyzer/input/12 - Topalov.txt +8 -0
  367. package/config/hard/ChessBoardAnalyzer/input/13 - Game of the century.txt +8 -0
  368. package/config/hard/ChessBoardAnalyzer/input/14 - Escape by overtaking.txt +8 -0
  369. package/config/hard/ChessBoardAnalyzer/input/15 - Close one.txt +8 -0
  370. package/config/hard/ChessBoardAnalyzer/output/01 - Rooks mate.txt +1 -0
  371. package/config/hard/ChessBoardAnalyzer/output/02 - Mate with Rooks.txt +1 -0
  372. package/config/hard/ChessBoardAnalyzer/output/03 - Double Bishop mate.txt +1 -0
  373. package/config/hard/ChessBoardAnalyzer/output/04 - Anderssen mate.txt +1 -0
  374. package/config/hard/ChessBoardAnalyzer/output/05 - One Rook mate.txt +1 -0
  375. package/config/hard/ChessBoardAnalyzer/output/06 - Second turn win.txt +1 -0
  376. package/config/hard/ChessBoardAnalyzer/output/07 - Third turn win.txt +1 -0
  377. package/config/hard/ChessBoardAnalyzer/output/08 - Initial board.txt +1 -0
  378. package/config/hard/ChessBoardAnalyzer/output/09 - There is exit.txt +1 -0
  379. package/config/hard/ChessBoardAnalyzer/output/10 - Queen.txt +1 -0
  380. package/config/hard/ChessBoardAnalyzer/output/11 - Fischer vs Panno.txt +1 -0
  381. package/config/hard/ChessBoardAnalyzer/output/12 - Topalov.txt +1 -0
  382. package/config/hard/ChessBoardAnalyzer/output/13 - Game of the century.txt +1 -0
  383. package/config/hard/ChessBoardAnalyzer/output/14 - Escape by overtaking.txt +1 -0
  384. package/config/hard/ChessBoardAnalyzer/output/15 - Close one.txt +1 -0
  385. package/config/hard/ClosestNumber/code/CGCode.cpp +18 -0
  386. package/config/hard/ClosestNumber/code/CGCode.java +17 -0
  387. package/config/hard/ClosestNumber/code/CGCode.js +8 -0
  388. package/config/hard/ClosestNumber/code/CGCode.php +7 -0
  389. package/config/hard/ClosestNumber/code/CGCode.ts +8 -0
  390. package/config/hard/ClosestNumber/config.json +93 -0
  391. package/config/hard/ClosestNumber/input/01 - M has fewer digits.txt +1 -0
  392. package/config/hard/ClosestNumber/input/02 - M has more digits.txt +1 -0
  393. package/config/hard/ClosestNumber/input/03 - Exact solution.txt +1 -0
  394. package/config/hard/ClosestNumber/input/04 - Solution with leading zeros.txt +1 -0
  395. package/config/hard/ClosestNumber/input/05 - Same number of digits, solution LT N.txt +1 -0
  396. package/config/hard/ClosestNumber/input/06 - Same number of digits, solution GT N.txt +1 -0
  397. package/config/hard/ClosestNumber/input/07 - No permutation lower than N.txt +1 -0
  398. package/config/hard/ClosestNumber/input/08 - No permutation greater than N.txt +1 -0
  399. package/config/hard/ClosestNumber/input/09 - Longest common prefix is not always right.txt +1 -0
  400. package/config/hard/ClosestNumber/input/10 - Two optimal permutations.txt +1 -0
  401. package/config/hard/ClosestNumber/input/11 - M has more digits, with zeros.txt +1 -0
  402. package/config/hard/ClosestNumber/input/12 - Large numbers 1.txt +1 -0
  403. package/config/hard/ClosestNumber/input/13 - Large numbers 2.txt +1 -0
  404. package/config/hard/ClosestNumber/input/14 - Large numbers 3.txt +1 -0
  405. package/config/hard/ClosestNumber/input/15 - Very large numbers 1.txt +1 -0
  406. package/config/hard/ClosestNumber/input/16 - Very large numbers 2.txt +1 -0
  407. package/config/hard/ClosestNumber/input/17 - Very large numbers 3.txt +1 -0
  408. package/config/hard/ClosestNumber/output/01 - M has fewer digits.txt +1 -0
  409. package/config/hard/ClosestNumber/output/02 - M has more digits.txt +1 -0
  410. package/config/hard/ClosestNumber/output/03 - Exact solution.txt +1 -0
  411. package/config/hard/ClosestNumber/output/04 - Solution with leading zeros.txt +1 -0
  412. package/config/hard/ClosestNumber/output/05 - Same number of digits, solution LT N.txt +1 -0
  413. package/config/hard/ClosestNumber/output/06 - Same number of digits, solution GT N.txt +1 -0
  414. package/config/hard/ClosestNumber/output/07 - No permutation lower than N.txt +1 -0
  415. package/config/hard/ClosestNumber/output/08 - No permutation greater than N.txt +1 -0
  416. package/config/hard/ClosestNumber/output/09 - Longest common prefix is not always right.txt +1 -0
  417. package/config/hard/ClosestNumber/output/10 - Two optimal permutations.txt +1 -0
  418. package/config/hard/ClosestNumber/output/11 - M has more digits, with zeros.txt +1 -0
  419. package/config/hard/ClosestNumber/output/12 - Large numbers 1.txt +1 -0
  420. package/config/hard/ClosestNumber/output/13 - Large numbers 2.txt +1 -0
  421. package/config/hard/ClosestNumber/output/14 - Large numbers 3.txt +1 -0
  422. package/config/hard/ClosestNumber/output/15 - Very large numbers 1.txt +1 -0
  423. package/config/hard/ClosestNumber/output/16 - Very large numbers 2.txt +1 -0
  424. package/config/hard/ClosestNumber/output/17 - Very large numbers 3.txt +1 -0
  425. package/config/hard/ConnectFour/code/CGCode.cpp +19 -0
  426. package/config/hard/ConnectFour/code/CGCode.java +18 -0
  427. package/config/hard/ConnectFour/code/CGCode.js +8 -0
  428. package/config/hard/ConnectFour/code/CGCode.php +10 -0
  429. package/config/hard/ConnectFour/code/CGCode.ts +8 -0
  430. package/config/hard/ConnectFour/config.json +28 -0
  431. package/config/hard/ConnectFour/input/01 - Horizontal.txt +6 -0
  432. package/config/hard/ConnectFour/input/02 - Vertical.txt +6 -0
  433. package/config/hard/ConnectFour/input/03 - Diagonal.txt +6 -0
  434. package/config/hard/ConnectFour/input/04 - Whose turn is it.txt +6 -0
  435. package/config/hard/ConnectFour/output/01 - Horizontal.txt +2 -0
  436. package/config/hard/ConnectFour/output/02 - Vertical.txt +2 -0
  437. package/config/hard/ConnectFour/output/03 - Diagonal.txt +2 -0
  438. package/config/hard/ConnectFour/output/04 - Whose turn is it.txt +2 -0
  439. package/config/hard/ExecutionCircle/code/CGCode.cpp +20 -0
  440. package/config/hard/ExecutionCircle/code/CGCode.java +21 -0
  441. package/config/hard/ExecutionCircle/code/CGCode.js +9 -0
  442. package/config/hard/ExecutionCircle/code/CGCode.php +8 -0
  443. package/config/hard/ExecutionCircle/code/CGCode.ts +9 -0
  444. package/config/hard/ExecutionCircle/config.json +38 -0
  445. package/config/hard/ExecutionCircle/input/01 - test 1.txt +2 -0
  446. package/config/hard/ExecutionCircle/input/02 - test 2.txt +2 -0
  447. package/config/hard/ExecutionCircle/input/03 - test 3.txt +2 -0
  448. package/config/hard/ExecutionCircle/input/04 - test 4.txt +2 -0
  449. package/config/hard/ExecutionCircle/input/05 - test 5.txt +2 -0
  450. package/config/hard/ExecutionCircle/input/06 - test 6.txt +2 -0
  451. package/config/hard/ExecutionCircle/output/01 - test 1.txt +1 -0
  452. package/config/hard/ExecutionCircle/output/02 - test 2.txt +1 -0
  453. package/config/hard/ExecutionCircle/output/03 - test 3.txt +1 -0
  454. package/config/hard/ExecutionCircle/output/04 - test 4.txt +1 -0
  455. package/config/hard/ExecutionCircle/output/05 - test 5.txt +1 -0
  456. package/config/hard/ExecutionCircle/output/06 - test 6.txt +1 -0
  457. package/config/hard/GoogleInterviewTheTwoEggProblem/code/CGCode.cpp +17 -0
  458. package/config/hard/GoogleInterviewTheTwoEggProblem/code/CGCode.java +16 -0
  459. package/config/hard/GoogleInterviewTheTwoEggProblem/code/CGCode.js +6 -0
  460. package/config/hard/GoogleInterviewTheTwoEggProblem/code/CGCode.php +7 -0
  461. package/config/hard/GoogleInterviewTheTwoEggProblem/code/CGCode.ts +6 -0
  462. package/config/hard/GoogleInterviewTheTwoEggProblem/config.json +38 -0
  463. package/config/hard/GoogleInterviewTheTwoEggProblem/input/01 - test 1.txt +1 -0
  464. package/config/hard/GoogleInterviewTheTwoEggProblem/input/02 - test 2.txt +1 -0
  465. package/config/hard/GoogleInterviewTheTwoEggProblem/input/03 - test 3.txt +1 -0
  466. package/config/hard/GoogleInterviewTheTwoEggProblem/input/04 - test 4.txt +1 -0
  467. package/config/hard/GoogleInterviewTheTwoEggProblem/input/05 - test 5.txt +1 -0
  468. package/config/hard/GoogleInterviewTheTwoEggProblem/input/06 - test 6.txt +1 -0
  469. package/config/hard/GoogleInterviewTheTwoEggProblem/output/01 - test 1.txt +1 -0
  470. package/config/hard/GoogleInterviewTheTwoEggProblem/output/02 - test 2.txt +1 -0
  471. package/config/hard/GoogleInterviewTheTwoEggProblem/output/03 - test 3.txt +1 -0
  472. package/config/hard/GoogleInterviewTheTwoEggProblem/output/04 - test 4.txt +1 -0
  473. package/config/hard/GoogleInterviewTheTwoEggProblem/output/05 - test 5.txt +1 -0
  474. package/config/hard/GoogleInterviewTheTwoEggProblem/output/06 - test 6.txt +1 -0
  475. package/config/hard/HitoriSolver/code/CGCode.cpp +23 -0
  476. package/config/hard/HitoriSolver/code/CGCode.java +24 -0
  477. package/config/hard/HitoriSolver/code/CGCode.js +11 -0
  478. package/config/hard/HitoriSolver/code/CGCode.php +14 -0
  479. package/config/hard/HitoriSolver/code/CGCode.ts +11 -0
  480. package/config/hard/HitoriSolver/config.json +33 -0
  481. package/config/hard/HitoriSolver/input/01 - Simple 3x3.txt +4 -0
  482. package/config/hard/HitoriSolver/input/02 - Connected 2x2.txt +3 -0
  483. package/config/hard/HitoriSolver/input/03 - Bigger.txt +5 -0
  484. package/config/hard/HitoriSolver/input/04 - Even bigger.txt +6 -0
  485. package/config/hard/HitoriSolver/input/05 - 8x8.txt +9 -0
  486. package/config/hard/HitoriSolver/output/01 - Simple 3x3.txt +3 -0
  487. package/config/hard/HitoriSolver/output/02 - Connected 2x2.txt +2 -0
  488. package/config/hard/HitoriSolver/output/03 - Bigger.txt +4 -0
  489. package/config/hard/HitoriSolver/output/04 - Even bigger.txt +5 -0
  490. package/config/hard/HitoriSolver/output/05 - 8x8.txt +8 -0
  491. package/config/hard/MysterySums/code/CGCode.cpp +17 -0
  492. package/config/hard/MysterySums/code/CGCode.java +20 -0
  493. package/config/hard/MysterySums/code/CGCode.js +6 -0
  494. package/config/hard/MysterySums/code/CGCode.php +7 -0
  495. package/config/hard/MysterySums/code/CGCode.ts +6 -0
  496. package/config/hard/MysterySums/config.json +43 -0
  497. package/config/hard/MysterySums/input/01 - Example.txt +1 -0
  498. package/config/hard/MysterySums/input/02 - 528530.txt +1 -0
  499. package/config/hard/MysterySums/input/03 - 1127.txt +1 -0
  500. package/config/hard/MysterySums/input/04 - 1070.txt +1 -0
  501. package/config/hard/MysterySums/input/05 - 35.txt +1 -0
  502. package/config/hard/MysterySums/input/06 - 87112.txt +1 -0
  503. package/config/hard/MysterySums/input/07 - 91899.txt +1 -0
  504. package/config/hard/MysterySums/output/01 - Example.txt +1 -0
  505. package/config/hard/MysterySums/output/02 - 528530.txt +1 -0
  506. package/config/hard/MysterySums/output/03 - 1127.txt +1 -0
  507. package/config/hard/MysterySums/output/04 - 1070.txt +1 -0
  508. package/config/hard/MysterySums/output/05 - 35.txt +1 -0
  509. package/config/hard/MysterySums/output/06 - 87112.txt +1 -0
  510. package/config/hard/MysterySums/output/07 - 91899.txt +1 -0
  511. package/config/hard/NuggetsNumbers/code/CGCode.cpp +21 -0
  512. package/config/hard/NuggetsNumbers/code/CGCode.java +19 -0
  513. package/config/hard/NuggetsNumbers/code/CGCode.js +9 -0
  514. package/config/hard/NuggetsNumbers/code/CGCode.php +11 -0
  515. package/config/hard/NuggetsNumbers/code/CGCode.ts +9 -0
  516. package/config/hard/NuggetsNumbers/config.json +48 -0
  517. package/config/hard/NuggetsNumbers/input/01 - 2 boxes.txt +3 -0
  518. package/config/hard/NuggetsNumbers/input/02 - 2 boxes again.txt +3 -0
  519. package/config/hard/NuggetsNumbers/input/03 - No limit!.txt +3 -0
  520. package/config/hard/NuggetsNumbers/input/04 - Standard Fast Food.txt +4 -0
  521. package/config/hard/NuggetsNumbers/input/05 - Standard Fast Food 2.txt +4 -0
  522. package/config/hard/NuggetsNumbers/input/06 - Regular fast food.txt +6 -0
  523. package/config/hard/NuggetsNumbers/input/07 - Endless fast food.txt +21 -0
  524. package/config/hard/NuggetsNumbers/input/08 - Industrial restaurant.txt +11 -0
  525. package/config/hard/NuggetsNumbers/output/01 - 2 boxes.txt +1 -0
  526. package/config/hard/NuggetsNumbers/output/02 - 2 boxes again.txt +1 -0
  527. package/config/hard/NuggetsNumbers/output/03 - No limit!.txt +1 -0
  528. package/config/hard/NuggetsNumbers/output/04 - Standard Fast Food.txt +1 -0
  529. package/config/hard/NuggetsNumbers/output/05 - Standard Fast Food 2.txt +1 -0
  530. package/config/hard/NuggetsNumbers/output/06 - Regular fast food.txt +1 -0
  531. package/config/hard/NuggetsNumbers/output/07 - Endless fast food.txt +1 -0
  532. package/config/hard/NuggetsNumbers/output/08 - Industrial restaurant.txt +1 -0
  533. package/config/hard/RocketMice/code/CGCode.cpp +42 -0
  534. package/config/hard/RocketMice/code/CGCode.java +35 -0
  535. package/config/hard/RocketMice/code/CGCode.js +29 -0
  536. package/config/hard/RocketMice/code/CGCode.php +25 -0
  537. package/config/hard/RocketMice/code/CGCode.ts +29 -0
  538. package/config/hard/RocketMice/config.json +73 -0
  539. package/config/hard/RocketMice/input/01 - Worthless arrows and no cats.txt +16 -0
  540. package/config/hard/RocketMice/input/02 - Scoring cats.txt +20 -0
  541. package/config/hard/RocketMice/input/03 - No score.txt +12 -0
  542. package/config/hard/RocketMice/input/04 - Redirecting arrows.txt +16 -0
  543. package/config/hard/RocketMice/input/05 - One for each.txt +9 -0
  544. package/config/hard/RocketMice/input/06 - Redirecting walls.txt +20 -0
  545. package/config/hard/RocketMice/input/07 - Treacherous pits.txt +21 -0
  546. package/config/hard/RocketMice/input/08 - Expiring arrows.txt +17 -0
  547. package/config/hard/RocketMice/input/09 - Eating the mice.txt +26 -0
  548. package/config/hard/RocketMice/input/10 - Eating in passing.txt +29 -0
  549. package/config/hard/RocketMice/input/11 - Simple battle.txt +27 -0
  550. package/config/hard/RocketMice/input/12 - Rumble.txt +44 -0
  551. package/config/hard/RocketMice/input/13 - All out war.txt +76 -0
  552. package/config/hard/RocketMice/output/01 - Worthless arrows and no cats.txt +2 -0
  553. package/config/hard/RocketMice/output/02 - Scoring cats.txt +2 -0
  554. package/config/hard/RocketMice/output/03 - No score.txt +2 -0
  555. package/config/hard/RocketMice/output/04 - Redirecting arrows.txt +2 -0
  556. package/config/hard/RocketMice/output/05 - One for each.txt +2 -0
  557. package/config/hard/RocketMice/output/06 - Redirecting walls.txt +4 -0
  558. package/config/hard/RocketMice/output/07 - Treacherous pits.txt +4 -0
  559. package/config/hard/RocketMice/output/08 - Expiring arrows.txt +2 -0
  560. package/config/hard/RocketMice/output/09 - Eating the mice.txt +2 -0
  561. package/config/hard/RocketMice/output/10 - Eating in passing.txt +2 -0
  562. package/config/hard/RocketMice/output/11 - Simple battle.txt +2 -0
  563. package/config/hard/RocketMice/output/12 - Rumble.txt +4 -0
  564. package/config/hard/RocketMice/output/13 - All out war.txt +4 -0
  565. package/config/hard/TestBeforeValidate/code/CGCode.cpp +27 -0
  566. package/config/hard/TestBeforeValidate/code/CGCode.java +29 -0
  567. package/config/hard/TestBeforeValidate/code/CGCode.js +13 -0
  568. package/config/hard/TestBeforeValidate/code/CGCode.php +16 -0
  569. package/config/hard/TestBeforeValidate/code/CGCode.ts +13 -0
  570. package/config/hard/TestBeforeValidate/config.json +28 -0
  571. package/config/hard/TestBeforeValidate/input/01 - Example.txt +7 -0
  572. package/config/hard/TestBeforeValidate/input/02 - One precedence.txt +5 -0
  573. package/config/hard/TestBeforeValidate/input/03 - One after another.txt +11 -0
  574. package/config/hard/TestBeforeValidate/input/04 - One action without precedence.txt +12 -0
  575. package/config/hard/TestBeforeValidate/output/01 - Example.txt +3 -0
  576. package/config/hard/TestBeforeValidate/output/02 - One precedence.txt +2 -0
  577. package/config/hard/TestBeforeValidate/output/03 - One after another.txt +5 -0
  578. package/config/hard/TestBeforeValidate/output/04 - One action without precedence.txt +6 -0
  579. package/config/hard/TheBalancedCentrifugeProblem/code/CGCode.cpp +17 -0
  580. package/config/hard/TheBalancedCentrifugeProblem/code/CGCode.java +16 -0
  581. package/config/hard/TheBalancedCentrifugeProblem/code/CGCode.js +6 -0
  582. package/config/hard/TheBalancedCentrifugeProblem/code/CGCode.php +7 -0
  583. package/config/hard/TheBalancedCentrifugeProblem/code/CGCode.ts +6 -0
  584. package/config/hard/TheBalancedCentrifugeProblem/config.json +48 -0
  585. package/config/hard/TheBalancedCentrifugeProblem/input/01 - Prime.txt +1 -0
  586. package/config/hard/TheBalancedCentrifugeProblem/input/02 - Small Composite.txt +1 -0
  587. package/config/hard/TheBalancedCentrifugeProblem/input/03 - Medium Composite.txt +1 -0
  588. package/config/hard/TheBalancedCentrifugeProblem/input/04 - Two Primes.txt +1 -0
  589. package/config/hard/TheBalancedCentrifugeProblem/input/05 - Hard 1.txt +1 -0
  590. package/config/hard/TheBalancedCentrifugeProblem/input/06 - Hard 2.txt +1 -0
  591. package/config/hard/TheBalancedCentrifugeProblem/input/07 - Tricky.txt +1 -0
  592. package/config/hard/TheBalancedCentrifugeProblem/input/08 - Power of a Prime.txt +1 -0
  593. package/config/hard/TheBalancedCentrifugeProblem/output/01 - Prime.txt +1 -0
  594. package/config/hard/TheBalancedCentrifugeProblem/output/02 - Small Composite.txt +1 -0
  595. package/config/hard/TheBalancedCentrifugeProblem/output/03 - Medium Composite.txt +1 -0
  596. package/config/hard/TheBalancedCentrifugeProblem/output/04 - Two Primes.txt +1 -0
  597. package/config/hard/TheBalancedCentrifugeProblem/output/05 - Hard 1.txt +1 -0
  598. package/config/hard/TheBalancedCentrifugeProblem/output/06 - Hard 2.txt +1 -0
  599. package/config/hard/TheBalancedCentrifugeProblem/output/07 - Tricky.txt +1 -0
  600. package/config/hard/TheBalancedCentrifugeProblem/output/08 - Power of a Prime.txt +1 -0
  601. package/config/hard/ThreeDDuckHunt/code/CGCode.cpp +19 -0
  602. package/config/hard/ThreeDDuckHunt/code/CGCode.java +18 -0
  603. package/config/hard/ThreeDDuckHunt/code/CGCode.js +8 -0
  604. package/config/hard/ThreeDDuckHunt/code/CGCode.php +10 -0
  605. package/config/hard/ThreeDDuckHunt/code/CGCode.ts +8 -0
  606. package/config/hard/ThreeDDuckHunt/config.json +38 -0
  607. package/config/hard/ThreeDDuckHunt/input/01 - Example.txt +3 -0
  608. package/config/hard/ThreeDDuckHunt/input/02 - careful about zeros.txt +3 -0
  609. package/config/hard/ThreeDDuckHunt/input/03 - more zeros.txt +3 -0
  610. package/config/hard/ThreeDDuckHunt/input/04 - a little faster.txt +3 -0
  611. package/config/hard/ThreeDDuckHunt/input/05 - a bit large.txt +3 -0
  612. package/config/hard/ThreeDDuckHunt/input/06 - super large.txt +3 -0
  613. package/config/hard/ThreeDDuckHunt/output/01 - Example.txt +1 -0
  614. package/config/hard/ThreeDDuckHunt/output/02 - careful about zeros.txt +1 -0
  615. package/config/hard/ThreeDDuckHunt/output/03 - more zeros.txt +1 -0
  616. package/config/hard/ThreeDDuckHunt/output/04 - a little faster.txt +1 -0
  617. package/config/hard/ThreeDDuckHunt/output/05 - a bit large.txt +1 -0
  618. package/config/hard/ThreeDDuckHunt/output/06 - super large.txt +1 -0
  619. package/config/medium/BeautifulBaseTheMostBeautiful/code/CGCode.cpp +17 -0
  620. package/config/medium/BeautifulBaseTheMostBeautiful/code/CGCode.java +16 -0
  621. package/config/medium/BeautifulBaseTheMostBeautiful/code/CGCode.js +6 -0
  622. package/config/medium/BeautifulBaseTheMostBeautiful/code/CGCode.php +7 -0
  623. package/config/medium/BeautifulBaseTheMostBeautiful/code/CGCode.ts +6 -0
  624. package/config/medium/BeautifulBaseTheMostBeautiful/config.json +43 -0
  625. package/config/medium/BeautifulBaseTheMostBeautiful/input/01 - test 1.txt +1 -0
  626. package/config/medium/BeautifulBaseTheMostBeautiful/input/02 - test 2.txt +1 -0
  627. package/config/medium/BeautifulBaseTheMostBeautiful/input/03 - test 3.txt +1 -0
  628. package/config/medium/BeautifulBaseTheMostBeautiful/input/04 - test 4.txt +1 -0
  629. package/config/medium/BeautifulBaseTheMostBeautiful/input/05 - test 5.txt +1 -0
  630. package/config/medium/BeautifulBaseTheMostBeautiful/input/06 - test 6.txt +1 -0
  631. package/config/medium/BeautifulBaseTheMostBeautiful/input/07 - test 7.txt +1 -0
  632. package/config/medium/BeautifulBaseTheMostBeautiful/output/01 - test 1.txt +1 -0
  633. package/config/medium/BeautifulBaseTheMostBeautiful/output/02 - test 2.txt +1 -0
  634. package/config/medium/BeautifulBaseTheMostBeautiful/output/03 - test 3.txt +1 -0
  635. package/config/medium/BeautifulBaseTheMostBeautiful/output/04 - test 4.txt +1 -0
  636. package/config/medium/BeautifulBaseTheMostBeautiful/output/05 - test 5.txt +1 -0
  637. package/config/medium/BeautifulBaseTheMostBeautiful/output/06 - test 6.txt +1 -0
  638. package/config/medium/BeautifulBaseTheMostBeautiful/output/07 - test 7.txt +1 -0
  639. package/config/medium/FindTheShortestPathHome/code/CGCode.cpp +17 -0
  640. package/config/medium/FindTheShortestPathHome/code/CGCode.java +16 -0
  641. package/config/medium/FindTheShortestPathHome/code/CGCode.js +6 -0
  642. package/config/medium/FindTheShortestPathHome/code/CGCode.php +7 -0
  643. package/config/medium/FindTheShortestPathHome/code/CGCode.ts +6 -0
  644. package/config/medium/FindTheShortestPathHome/config.json +73 -0
  645. package/config/medium/FindTheShortestPathHome/input/01 - test 1.txt +1 -0
  646. package/config/medium/FindTheShortestPathHome/input/02 - test 2.txt +1 -0
  647. package/config/medium/FindTheShortestPathHome/input/03 - test 3.txt +1 -0
  648. package/config/medium/FindTheShortestPathHome/input/04 - test 4.txt +1 -0
  649. package/config/medium/FindTheShortestPathHome/input/05 - test 5.txt +1 -0
  650. package/config/medium/FindTheShortestPathHome/input/06 - test 6.txt +1 -0
  651. package/config/medium/FindTheShortestPathHome/input/07 - test 7.txt +1 -0
  652. package/config/medium/FindTheShortestPathHome/input/08 - test 8.txt +1 -0
  653. package/config/medium/FindTheShortestPathHome/input/09 - test 9.txt +1 -0
  654. package/config/medium/FindTheShortestPathHome/input/10 - test 10.txt +1 -0
  655. package/config/medium/FindTheShortestPathHome/input/11 - test 11.txt +1 -0
  656. package/config/medium/FindTheShortestPathHome/input/12 - test 12.txt +1 -0
  657. package/config/medium/FindTheShortestPathHome/input/13 - test 13.txt +1 -0
  658. package/config/medium/FindTheShortestPathHome/output/01 - test 1.txt +2 -0
  659. package/config/medium/FindTheShortestPathHome/output/02 - test 2.txt +4 -0
  660. package/config/medium/FindTheShortestPathHome/output/03 - test 3.txt +4 -0
  661. package/config/medium/FindTheShortestPathHome/output/04 - test 4.txt +1 -0
  662. package/config/medium/FindTheShortestPathHome/output/05 - test 5.txt +1 -0
  663. package/config/medium/FindTheShortestPathHome/output/06 - test 6.txt +1 -0
  664. package/config/medium/FindTheShortestPathHome/output/07 - test 7.txt +2 -0
  665. package/config/medium/FindTheShortestPathHome/output/08 - test 8.txt +11 -0
  666. package/config/medium/FindTheShortestPathHome/output/09 - test 9.txt +7 -0
  667. package/config/medium/FindTheShortestPathHome/output/10 - test 10.txt +14 -0
  668. package/config/medium/FindTheShortestPathHome/output/11 - test 11.txt +4 -0
  669. package/config/medium/FindTheShortestPathHome/output/12 - test 12.txt +6 -0
  670. package/config/medium/FindTheShortestPathHome/output/13 - test 13.txt +64 -0
  671. package/config/medium/MondrianPaintingStrokes/code/CGCode.cpp +22 -0
  672. package/config/medium/MondrianPaintingStrokes/code/CGCode.java +23 -0
  673. package/config/medium/MondrianPaintingStrokes/code/CGCode.js +11 -0
  674. package/config/medium/MondrianPaintingStrokes/code/CGCode.php +11 -0
  675. package/config/medium/MondrianPaintingStrokes/code/CGCode.ts +11 -0
  676. package/config/medium/MondrianPaintingStrokes/config.json +48 -0
  677. package/config/medium/MondrianPaintingStrokes/input/01 - Two rectangles.txt +3 -0
  678. package/config/medium/MondrianPaintingStrokes/input/02 - Three rectangles.txt +4 -0
  679. package/config/medium/MondrianPaintingStrokes/input/03 - Four rectangles aligned.txt +5 -0
  680. package/config/medium/MondrianPaintingStrokes/input/04 - Four rectangles not aligned.txt +5 -0
  681. package/config/medium/MondrianPaintingStrokes/input/05 - More complex shapes.txt +5 -0
  682. package/config/medium/MondrianPaintingStrokes/input/06 - Tableau I by Piet Mondrian.txt +11 -0
  683. package/config/medium/MondrianPaintingStrokes/input/07 - Untitled composition by Piet Mondrian.txt +11 -0
  684. package/config/medium/MondrianPaintingStrokes/input/08 - Big canvas with random rectangles.txt +31 -0
  685. package/config/medium/MondrianPaintingStrokes/output/01 - Two rectangles.txt +1 -0
  686. package/config/medium/MondrianPaintingStrokes/output/02 - Three rectangles.txt +1 -0
  687. package/config/medium/MondrianPaintingStrokes/output/03 - Four rectangles aligned.txt +1 -0
  688. package/config/medium/MondrianPaintingStrokes/output/04 - Four rectangles not aligned.txt +1 -0
  689. package/config/medium/MondrianPaintingStrokes/output/05 - More complex shapes.txt +1 -0
  690. package/config/medium/MondrianPaintingStrokes/output/06 - Tableau I by Piet Mondrian.txt +1 -0
  691. package/config/medium/MondrianPaintingStrokes/output/07 - Untitled composition by Piet Mondrian.txt +1 -0
  692. package/config/medium/MondrianPaintingStrokes/output/08 - Big canvas with random rectangles.txt +1 -0
  693. package/config/medium/RoadToMountBoom/code/CGCode.cpp +22 -0
  694. package/config/medium/RoadToMountBoom/code/CGCode.java +23 -0
  695. package/config/medium/RoadToMountBoom/code/CGCode.js +11 -0
  696. package/config/medium/RoadToMountBoom/code/CGCode.php +11 -0
  697. package/config/medium/RoadToMountBoom/code/CGCode.ts +11 -0
  698. package/config/medium/RoadToMountBoom/config.json +133 -0
  699. package/config/medium/RoadToMountBoom/input/01 - Basic North.txt +7 -0
  700. package/config/medium/RoadToMountBoom/input/02 - Basic East.txt +5 -0
  701. package/config/medium/RoadToMountBoom/input/03 - Basic South.txt +6 -0
  702. package/config/medium/RoadToMountBoom/input/04 - Basic West.txt +5 -0
  703. package/config/medium/RoadToMountBoom/input/05 - Basic North-East.txt +9 -0
  704. package/config/medium/RoadToMountBoom/input/06 - Basic South-East.txt +6 -0
  705. package/config/medium/RoadToMountBoom/input/07 - Basic South-West.txt +7 -0
  706. package/config/medium/RoadToMountBoom/input/08 - Basic North-West.txt +10 -0
  707. package/config/medium/RoadToMountBoom/input/09 - North and NE (Open).txt +7 -0
  708. package/config/medium/RoadToMountBoom/input/10 - East and SE (Open).txt +6 -0
  709. package/config/medium/RoadToMountBoom/input/11 - South and SW (Open).txt +11 -0
  710. package/config/medium/RoadToMountBoom/input/12 - West and NW (Open).txt +7 -0
  711. package/config/medium/RoadToMountBoom/input/13 - Simple Horizontal Journey.txt +4 -0
  712. package/config/medium/RoadToMountBoom/input/14 - Simple Vertical Journey.txt +7 -0
  713. package/config/medium/RoadToMountBoom/input/15 - Simple Diagonal Journey.txt +3 -0
  714. package/config/medium/RoadToMountBoom/input/16 - Simple Diagonal Journey 2.txt +5 -0
  715. package/config/medium/RoadToMountBoom/input/17 - Around the World 1.txt +18 -0
  716. package/config/medium/RoadToMountBoom/input/18 - Around the World 2.txt +11 -0
  717. package/config/medium/RoadToMountBoom/input/19 - Maze 1.txt +7 -0
  718. package/config/medium/RoadToMountBoom/input/20 - Maze 2.txt +12 -0
  719. package/config/medium/RoadToMountBoom/input/21 - Large Maze.txt +42 -0
  720. package/config/medium/RoadToMountBoom/input/22 - Simple Outside Traversal.txt +11 -0
  721. package/config/medium/RoadToMountBoom/input/23 - Horizontal Outside Traversal.txt +20 -0
  722. package/config/medium/RoadToMountBoom/input/24 - Vertical Outside Traversal.txt +18 -0
  723. package/config/medium/RoadToMountBoom/input/25 - Complete Traversal.txt +12 -0
  724. package/config/medium/RoadToMountBoom/output/01 - Basic North.txt +1 -0
  725. package/config/medium/RoadToMountBoom/output/02 - Basic East.txt +1 -0
  726. package/config/medium/RoadToMountBoom/output/03 - Basic South.txt +1 -0
  727. package/config/medium/RoadToMountBoom/output/04 - Basic West.txt +1 -0
  728. package/config/medium/RoadToMountBoom/output/05 - Basic North-East.txt +1 -0
  729. package/config/medium/RoadToMountBoom/output/06 - Basic South-East.txt +1 -0
  730. package/config/medium/RoadToMountBoom/output/07 - Basic South-West.txt +1 -0
  731. package/config/medium/RoadToMountBoom/output/08 - Basic North-West.txt +1 -0
  732. package/config/medium/RoadToMountBoom/output/09 - North and NE (Open).txt +1 -0
  733. package/config/medium/RoadToMountBoom/output/10 - East and SE (Open).txt +1 -0
  734. package/config/medium/RoadToMountBoom/output/11 - South and SW (Open).txt +1 -0
  735. package/config/medium/RoadToMountBoom/output/12 - West and NW (Open).txt +1 -0
  736. package/config/medium/RoadToMountBoom/output/13 - Simple Horizontal Journey.txt +1 -0
  737. package/config/medium/RoadToMountBoom/output/14 - Simple Vertical Journey.txt +1 -0
  738. package/config/medium/RoadToMountBoom/output/15 - Simple Diagonal Journey.txt +1 -0
  739. package/config/medium/RoadToMountBoom/output/16 - Simple Diagonal Journey 2.txt +1 -0
  740. package/config/medium/RoadToMountBoom/output/17 - Around the World 1.txt +1 -0
  741. package/config/medium/RoadToMountBoom/output/18 - Around the World 2.txt +1 -0
  742. package/config/medium/RoadToMountBoom/output/19 - Maze 1.txt +1 -0
  743. package/config/medium/RoadToMountBoom/output/20 - Maze 2.txt +1 -0
  744. package/config/medium/RoadToMountBoom/output/21 - Large Maze.txt +1 -0
  745. package/config/medium/RoadToMountBoom/output/22 - Simple Outside Traversal.txt +1 -0
  746. package/config/medium/RoadToMountBoom/output/23 - Horizontal Outside Traversal.txt +1 -0
  747. package/config/medium/RoadToMountBoom/output/24 - Vertical Outside Traversal.txt +1 -0
  748. package/config/medium/RoadToMountBoom/output/25 - Complete Traversal.txt +1 -0
  749. package/config/medium/TheLordofTheAnnuli/code/CGCode.cpp +23 -0
  750. package/config/medium/TheLordofTheAnnuli/code/CGCode.java +22 -0
  751. package/config/medium/TheLordofTheAnnuli/code/CGCode.js +13 -0
  752. package/config/medium/TheLordofTheAnnuli/code/CGCode.php +7 -0
  753. package/config/medium/TheLordofTheAnnuli/code/CGCode.ts +13 -0
  754. package/config/medium/TheLordofTheAnnuli/config.json +73 -0
  755. package/config/medium/TheLordofTheAnnuli/input/01 - Plain centered disc, no supersampling.txt +1 -0
  756. package/config/medium/TheLordofTheAnnuli/input/02 - Plain centered disc with a little supersampling.txt +1 -0
  757. package/config/medium/TheLordofTheAnnuli/input/03 - Our first ring.txt +1 -0
  758. package/config/medium/TheLordofTheAnnuli/input/04 - A slighty larger slightly shifted ring.txt +1 -0
  759. package/config/medium/TheLordofTheAnnuli/input/05 - A nice rainbow.txt +1 -0
  760. package/config/medium/TheLordofTheAnnuli/input/06 - A thin ring.txt +1 -0
  761. package/config/medium/TheLordofTheAnnuli/input/07 - A quarter of a ring.txt +1 -0
  762. package/config/medium/TheLordofTheAnnuli/input/08 - The edge of a big disc.txt +1 -0
  763. package/config/medium/TheLordofTheAnnuli/input/09 - An even thinner ring segment.txt +1 -0
  764. package/config/medium/TheLordofTheAnnuli/input/10 - A tiny asymmetric hole.txt +1 -0
  765. package/config/medium/TheLordofTheAnnuli/input/11 - A thick ring section.txt +1 -0
  766. package/config/medium/TheLordofTheAnnuli/input/12 - Almost a straight line.txt +1 -0
  767. package/config/medium/TheLordofTheAnnuli/input/13 - Into the void.txt +1 -0
  768. package/config/medium/TheLordofTheAnnuli/output/01 - Plain centered disc, no supersampling.txt +12 -0
  769. package/config/medium/TheLordofTheAnnuli/output/02 - Plain centered disc with a little supersampling.txt +12 -0
  770. package/config/medium/TheLordofTheAnnuli/output/03 - Our first ring.txt +22 -0
  771. package/config/medium/TheLordofTheAnnuli/output/04 - A slighty larger slightly shifted ring.txt +22 -0
  772. package/config/medium/TheLordofTheAnnuli/output/05 - A nice rainbow.txt +22 -0
  773. package/config/medium/TheLordofTheAnnuli/output/06 - A thin ring.txt +22 -0
  774. package/config/medium/TheLordofTheAnnuli/output/07 - A quarter of a ring.txt +22 -0
  775. package/config/medium/TheLordofTheAnnuli/output/08 - The edge of a big disc.txt +22 -0
  776. package/config/medium/TheLordofTheAnnuli/output/09 - An even thinner ring segment.txt +17 -0
  777. package/config/medium/TheLordofTheAnnuli/output/10 - A tiny asymmetric hole.txt +22 -0
  778. package/config/medium/TheLordofTheAnnuli/output/11 - A thick ring section.txt +22 -0
  779. package/config/medium/TheLordofTheAnnuli/output/12 - Almost a straight line.txt +22 -0
  780. package/config/medium/TheLordofTheAnnuli/output/13 - Into the void.txt +22 -0
  781. package/package.json +1 -1
@@ -0,0 +1,39 @@
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 trainCars = in.nextInt();
10
+ int numTickets = in.nextInt();
11
+ int numRoutes = in.nextInt();
12
+ int red = in.nextInt();
13
+ int yellow = in.nextInt();
14
+ int green = in.nextInt();
15
+ int blue = in.nextInt();
16
+ int white = in.nextInt();
17
+ int black = in.nextInt();
18
+ int orange = in.nextInt();
19
+ int pink = in.nextInt();
20
+ int engine = in.nextInt();
21
+ for (int i = 0; i < numTickets; i++) {
22
+ int points = in.nextInt();
23
+ String cityA = in.next();
24
+ String cityB = in.next();
25
+ }
26
+ for (int i = 0; i < numRoutes; i++) {
27
+ int length = in.nextInt();
28
+ int requiredEngines = in.nextInt();
29
+ String color = in.next();
30
+ String cityA = in.next();
31
+ String cityB = in.next();
32
+ }
33
+
34
+ // Write an answer using System.out.println()
35
+ // To debug: System.err.println("Debug messages...");
36
+
37
+ System.out.println("points");
38
+ }
39
+ }
@@ -0,0 +1,33 @@
1
+ var inputs = readline().split(' ');
2
+ const trainCars = parseInt(inputs[0]);
3
+ const numTickets = parseInt(inputs[1]);
4
+ const numRoutes = parseInt(inputs[2]);
5
+ var inputs = readline().split(' ');
6
+ const red = parseInt(inputs[0]);
7
+ const yellow = parseInt(inputs[1]);
8
+ const green = parseInt(inputs[2]);
9
+ const blue = parseInt(inputs[3]);
10
+ const white = parseInt(inputs[4]);
11
+ const black = parseInt(inputs[5]);
12
+ const orange = parseInt(inputs[6]);
13
+ const pink = parseInt(inputs[7]);
14
+ const engine = parseInt(inputs[8]);
15
+ for (let i = 0; i < numTickets; i++) {
16
+ var inputs = readline().split(' ');
17
+ const points = parseInt(inputs[0]);
18
+ const cityA = inputs[1];
19
+ const cityB = inputs[2];
20
+ }
21
+ for (let i = 0; i < numRoutes; i++) {
22
+ var inputs = readline().split(' ');
23
+ const length = parseInt(inputs[0]);
24
+ const requiredEngines = parseInt(inputs[1]);
25
+ const color = inputs[2];
26
+ const cityA = inputs[3];
27
+ const cityB = inputs[4];
28
+ }
29
+
30
+ // Write an answer using console.log()
31
+ // To debug: console.error('Debug messages...');
32
+
33
+ console.log('points');
@@ -0,0 +1,16 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d %d", $trainCars, $numTickets, $numRoutes);
3
+ fscanf(STDIN, "%d %d %d %d %d %d %d %d %d", $red, $yellow, $green, $blue, $white, $black, $orange, $pink, $engine);
4
+ for ($i = 0; $i < $numTickets; $i++)
5
+ {
6
+ fscanf(STDIN, "%d %s %s", $points, $cityA, $cityB);
7
+ }
8
+ for ($i = 0; $i < $numRoutes; $i++)
9
+ {
10
+ fscanf(STDIN, "%d %d %s %s %s", $length, $requiredEngines, $color, $cityA, $cityB);
11
+ }
12
+
13
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
14
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
15
+
16
+ echo("points\n");
@@ -0,0 +1,33 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const trainCars: number = parseInt(inputs[0]);
3
+ const numTickets: number = parseInt(inputs[1]);
4
+ const numRoutes: number = parseInt(inputs[2]);
5
+ var inputs: string[] = readline().split(' ');
6
+ const red: number = parseInt(inputs[0]);
7
+ const yellow: number = parseInt(inputs[1]);
8
+ const green: number = parseInt(inputs[2]);
9
+ const blue: number = parseInt(inputs[3]);
10
+ const white: number = parseInt(inputs[4]);
11
+ const black: number = parseInt(inputs[5]);
12
+ const orange: number = parseInt(inputs[6]);
13
+ const pink: number = parseInt(inputs[7]);
14
+ const engine: number = parseInt(inputs[8]);
15
+ for (let i = 0; i < numTickets; i++) {
16
+ var inputs: string[] = readline().split(' ');
17
+ const points: number = parseInt(inputs[0]);
18
+ const cityA: string = inputs[1];
19
+ const cityB: string = inputs[2];
20
+ }
21
+ for (let i = 0; i < numRoutes; i++) {
22
+ var inputs: string[] = readline().split(' ');
23
+ const length: number = parseInt(inputs[0]);
24
+ const requiredEngines: number = parseInt(inputs[1]);
25
+ const color: string = inputs[2];
26
+ const cityA: string = inputs[3];
27
+ const cityB: string = inputs[4];
28
+ }
29
+
30
+ // Write an answer using console.log()
31
+ // To debug: console.error('Debug messages...');
32
+
33
+ console.log('points');
@@ -0,0 +1,128 @@
1
+ {
2
+ "path": "expert/TicketToRideEurope",
3
+ "name": "Ticket to Ride: Europe",
4
+ "alphanumName": "TicketToRideEurope",
5
+ "link": "https://www.codingame.com/ide/puzzle/ticket-to-ride-europe",
6
+ "tests": [
7
+ {
8
+ "name": "One ticket, three routes",
9
+ "alphanumName": "OneTicketThreeRoutes",
10
+ "file": "01 - One ticket, three routes.txt"
11
+ },
12
+ {
13
+ "name": "Rules: Colored route 1",
14
+ "alphanumName": "RulesColoredRoute1",
15
+ "file": "02 - Rules Colored route 1.txt"
16
+ },
17
+ {
18
+ "name": "Rules: Colored route 2",
19
+ "alphanumName": "RulesColoredRoute2",
20
+ "file": "03 - Rules Colored route 2.txt"
21
+ },
22
+ {
23
+ "name": "Rules: Car shortage",
24
+ "alphanumName": "RulesCarShortage",
25
+ "file": "04 - Rules Car shortage.txt"
26
+ },
27
+ {
28
+ "name": "Rules: Card shortage",
29
+ "alphanumName": "RulesCardShortage",
30
+ "file": "05 - Rules Card shortage.txt"
31
+ },
32
+ {
33
+ "name": "Rules: Use an engine",
34
+ "alphanumName": "RulesUseAnengine",
35
+ "file": "06 - Rules Use an engine.txt"
36
+ },
37
+ {
38
+ "name": "Rules: Gray route",
39
+ "alphanumName": "RulesGrayRoute",
40
+ "file": "07 - Rules Gray route.txt"
41
+ },
42
+ {
43
+ "name": "Rules: Gray mixed colors",
44
+ "alphanumName": "RulesGrayMixedColors",
45
+ "file": "08 - Rules Gray mixed colors.txt"
46
+ },
47
+ {
48
+ "name": "Rules: Ferry",
49
+ "alphanumName": "RulesFerry",
50
+ "file": "09 - Rules Ferry.txt"
51
+ },
52
+ {
53
+ "name": "Rules: Engine shortage",
54
+ "alphanumName": "RulesEngineShortage",
55
+ "file": "10 - Rules Engine shortage.txt"
56
+ },
57
+ {
58
+ "name": "Rules: Two routes",
59
+ "alphanumName": "RulesTwoRoutes",
60
+ "file": "11 - Rules Two routes.txt"
61
+ },
62
+ {
63
+ "name": "Rules: Expend cars",
64
+ "alphanumName": "RulesExpendCars",
65
+ "file": "12 - Rules Expend cars.txt"
66
+ },
67
+ {
68
+ "name": "Rules: Expend cards",
69
+ "alphanumName": "RulesExpendCards",
70
+ "file": "13 - Rules Expend cards.txt"
71
+ },
72
+ {
73
+ "name": "Rules: Simple ticket",
74
+ "alphanumName": "RulesSimpleTicket",
75
+ "file": "14 - Rules Simple ticket.txt"
76
+ },
77
+ {
78
+ "name": "Rules: Incomplete ticket",
79
+ "alphanumName": "RulesIncompleteTicket",
80
+ "file": "15 - Rules Incomplete ticket.txt"
81
+ },
82
+ {
83
+ "name": "Multiple tickets",
84
+ "alphanumName": "MultipleTickets",
85
+ "file": "16 - Multiple tickets.txt"
86
+ },
87
+ {
88
+ "name": "Engines and gray routes",
89
+ "alphanumName": "EnginesAndGrayRoutes",
90
+ "file": "17 - Engines and gray routes.txt"
91
+ },
92
+ {
93
+ "name": "Shades of gray",
94
+ "alphanumName": "ShadesOfGray",
95
+ "file": "18 - Shades of gray.txt"
96
+ },
97
+ {
98
+ "name": "Shades of gray 2",
99
+ "alphanumName": "ShadesOfGray2",
100
+ "file": "19 - Shades of gray 2.txt"
101
+ },
102
+ {
103
+ "name": "The long trap",
104
+ "alphanumName": "TheLongTrap",
105
+ "file": "20 - The long trap.txt"
106
+ },
107
+ {
108
+ "name": "Another long trap",
109
+ "alphanumName": "AnotherLongTrap",
110
+ "file": "21 - Another long trap.txt"
111
+ },
112
+ {
113
+ "name": "The middle trap",
114
+ "alphanumName": "TheMiddleTrap",
115
+ "file": "22 - The middle trap.txt"
116
+ },
117
+ {
118
+ "name": "Multi-purpose routes",
119
+ "alphanumName": "MultiPurposeRoutes",
120
+ "file": "23 - Multi-purpose routes.txt"
121
+ },
122
+ {
123
+ "name": "Oh, the possibilities!",
124
+ "alphanumName": "OhThePossibilities",
125
+ "file": "24 - Oh, the possibilities!.txt"
126
+ }
127
+ ]
128
+ }
@@ -0,0 +1,6 @@
1
+ 6 1 3
2
+ 1 2 0 0 0 0 3 0 0
3
+ 6 Zurich Budapest
4
+ 1 0 Red Wien Budapest
5
+ 2 0 Yellow Zurich Munchen
6
+ 3 0 Orange Munchen Wien
@@ -0,0 +1,3 @@
1
+ 4 0 1
2
+ 4 0 0 0 0 0 0 0 0
3
+ 4 0 Red Pamplona Marseille
@@ -0,0 +1,3 @@
1
+ 2 0 1
2
+ 0 0 2 0 0 0 0 0 0
3
+ 2 0 Green Kharkov Rostov
@@ -0,0 +1,3 @@
1
+ 1 0 1
2
+ 2 2 2 2 2 2 2 2 2
3
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,3 @@
1
+ 2 0 1
2
+ 2 2 2 2 2 2 1 2 0
3
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,3 @@
1
+ 2 0 1
2
+ 2 2 2 2 2 2 1 2 1
3
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,3 @@
1
+ 4 0 1
2
+ 4 0 0 0 0 0 0 0 0
3
+ 4 0 Gray Berlin Danzig
@@ -0,0 +1,3 @@
1
+ 4 0 1
2
+ 1 0 1 0 1 0 1 0 1
3
+ 4 0 Gray Berlin Danzig
@@ -0,0 +1,3 @@
1
+ 6 0 1
2
+ 0 0 4 0 0 0 0 0 2
3
+ 6 2 Gray Palermo Smyrna
@@ -0,0 +1,3 @@
1
+ 6 0 1
2
+ 0 0 6 0 0 0 0 0 1
3
+ 6 2 Gray Palermo Smyrna
@@ -0,0 +1,4 @@
1
+ 6 0 2
2
+ 4 0 0 0 0 0 2 0 0
3
+ 4 0 Gray Berlin Danzig
4
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,4 @@
1
+ 4 0 2
2
+ 4 0 0 0 0 0 2 0 0
3
+ 4 0 Gray Berlin Danzig
4
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,4 @@
1
+ 6 0 2
2
+ 0 0 0 0 0 0 5 0 0
3
+ 4 0 Gray Berlin Danzig
4
+ 2 0 Orange Smolensk Moskva
@@ -0,0 +1,6 @@
1
+ 6 1 3
2
+ 0 0 2 0 2 2 0 0 0
3
+ 6 Zurich Brindisi
4
+ 2 0 Green Zurich Venezia
5
+ 2 0 White Brindisi Roma
6
+ 2 0 Black Venezia Roma
@@ -0,0 +1,6 @@
1
+ 4 1 3
2
+ 1 0 0 2 1 5 3 2 1
3
+ 5 Athena Angora
4
+ 3 0 Red Frankfurt Berlin
5
+ 6 2 Gray Palermo Smyrna
6
+ 6 0 Gray Budapest Kyiv
@@ -0,0 +1,13 @@
1
+ 15 3 8
2
+ 4 3 4 1 0 0 2 1 4
3
+ 2 Lisboa Cadiz
4
+ 5 Rostov Erzurum
5
+ 8 Barcelona Munchen
6
+ 2 0 Gray Sochi Rostov
7
+ 3 0 Red Sochi Erzurum
8
+ 2 0 Blue Cadiz Lisboa
9
+ 4 0 Gray Barcelona Marseille
10
+ 2 0 Pink Marseille Zurich
11
+ 2 0 Yellow Zurich Munchen
12
+ 6 0 Gray Budapest Kyiv
13
+ 1 0 White Wien Budapest
@@ -0,0 +1,7 @@
1
+ 12 0 5
2
+ 0 0 3 2 0 4 0 0 3
3
+ 6 2 Gray Smyrna Palermo
4
+ 4 0 Gray Bucuresti Kyiv
5
+ 2 1 Gray Sevastopol Sochi
6
+ 4 0 Green Wilno Riga
7
+ 4 0 Blue Wilno Petrograd
@@ -0,0 +1,5 @@
1
+ 6 1 2
2
+ 4 2 0 0 0 0 0 0 0
3
+ 3 Dieppe Brighton
4
+ 2 0 Gray Dieppe London
5
+ 4 0 Gray London Brighton
@@ -0,0 +1,7 @@
1
+ 4 2 3
2
+ 2 1 0 0 0 0 0 0 1
3
+ 15 Dieppe London
4
+ 5 London Brighton
5
+ 2 0 Gray Dieppe London
6
+ 2 0 Red London Brighton
7
+ 1 0 Yellow Orleans Rouen
@@ -0,0 +1,9 @@
1
+ 4 4 3
2
+ 3 0 0 0 0 0 0 0 0
3
+ 3 Manchester London
4
+ 2 Dieppe Paris
5
+ 2 Lille Paris
6
+ 1 Dieppe Lille
7
+ 3 0 Red Manchester London
8
+ 2 0 Red Dieppe Paris
9
+ 1 0 Red Paris Lille
@@ -0,0 +1,5 @@
1
+ 6 0 3
2
+ 6 0 0 0 0 0 0 0 0
3
+ 4 0 Red Manchester London
4
+ 3 0 Red Dieppe Paris
5
+ 3 0 Red Paris Luton
@@ -0,0 +1,6 @@
1
+ 12 0 4
2
+ 6 6 0 0 0 0 0 0 0
3
+ 6 0 Yellow Bodmin Wenford
4
+ 4 0 Red Manchester London
5
+ 3 0 Red Dieppe Paris
6
+ 3 0 Red Paris Luton
@@ -0,0 +1,22 @@
1
+ 16 5 15
2
+ 3 2 0 2 4 3 3 2 5
3
+ 3 Berlin Wien
4
+ 9 Berlin Roma
5
+ 3 London Paris
6
+ 5 Dieppe Marseille
7
+ 7 Brest Marseille
8
+ 2 1 Gray Dieppe London
9
+ 1 0 Pink Dieppe Paris
10
+ 4 0 Gray Paris Marseille
11
+ 3 0 Black Brest Paris
12
+ 4 0 Red Marseille Pamplona
13
+ 3 0 Gray Paris Zurich
14
+ 2 0 Pink Zurich Marseille
15
+ 3 0 Green Berlin Wien
16
+ 2 0 Gray Zagrab Wien
17
+ 2 0 Gray Zagrab Venezia
18
+ 2 0 Black Roma Venezia
19
+ 4 0 Orange London Edinburgh
20
+ 2 0 Orange Dieppe Brest
21
+ 1 0 Black Amsterdam Bruxelles
22
+ 2 2 Gray London Amsterdam
@@ -0,0 +1,27 @@
1
+ 24 5 20
2
+ 4 3 5 3 3 3 6 6 4
3
+ 21 Cadiz Stockholm
4
+ 8 Marseille Essen
5
+ 8 Madrid Zurich
6
+ 8 Madrid Dieppe
7
+ 7 Amsterdam Pamplona
8
+ 3 0 Orange Cadiz Madrid
9
+ 3 0 White Madrid Pamplona
10
+ 2 0 Yellow Madrid Barcelona
11
+ 2 0 Gray Barcelona Pamplona
12
+ 4 0 Green Pamplona Paris
13
+ 2 0 Pink Marseille Zurich
14
+ 3 0 Gray Zurich Paris
15
+ 1 0 Pink Paris Dieppe
16
+ 2 0 Red Paris Bruxelles
17
+ 2 0 Green Dieppe Bruxelles
18
+ 2 0 Blue Bruxelles Frankfurt
19
+ 2 0 Yellow Zurich Munchen
20
+ 2 0 Pink Munchen Frankfurt
21
+ 2 0 Green Essen Frankfurt
22
+ 3 0 Orange Paris Frankfurt
23
+ 3 0 Yellow Amsterdam Essen
24
+ 2 0 White Frankfurt Amsterdam
25
+ 1 0 Black Bruxelles Amsterdam
26
+ 3 1 Gray Essen Kobenhavn
27
+ 3 0 White Kobenhavn Stockholm
@@ -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
+ for (int i = 0; i < h; i++) {
14
+ for (int j = 0; j < w; j++) {
15
+ int square_h;
16
+ cin >> square_h; cin.ignore();
17
+ }
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "0" << endl;
24
+ }
@@ -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 W = in.nextInt();
10
+ int H = in.nextInt();
11
+ for (int i = 0; i < H; i++) {
12
+ for (int j = 0; j < W; j++) {
13
+ int squareH = in.nextInt();
14
+ }
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("0");
21
+ }
22
+ }
@@ -0,0 +1,14 @@
1
+ var inputs = readline().split(' ');
2
+ const W = parseInt(inputs[0]);
3
+ const H = parseInt(inputs[1]);
4
+ for (let i = 0; i < H; i++) {
5
+ var inputs = readline().split(' ');
6
+ for (let j = 0; j < W; j++) {
7
+ const squareH = parseInt(inputs[j]);
8
+ }
9
+ }
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('0');
@@ -0,0 +1,15 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $W, $H);
3
+ for ($i = 0; $i < $H; $i++)
4
+ {
5
+ $inputs = explode(" ", fgets(STDIN));
6
+ for ($j = 0; $j < $W; $j++)
7
+ {
8
+ $squareH = intval($inputs[$j]);
9
+ }
10
+ }
11
+
12
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
13
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
14
+
15
+ echo("0\n");
@@ -0,0 +1,14 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const W: number = parseInt(inputs[0]);
3
+ const H: number = parseInt(inputs[1]);
4
+ for (let i = 0; i < H; i++) {
5
+ var inputs: string[] = readline().split(' ');
6
+ for (let j = 0; j < W; j++) {
7
+ const squareH: number = parseInt(inputs[j]);
8
+ }
9
+ }
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('0');