@cyrilverloop/codingame-configuration 1.14.0 → 1.15.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 (593) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/config/easy/CrackTheTrioCode/code/CGCode.cpp +17 -0
  3. package/config/easy/CrackTheTrioCode/code/CGCode.java +16 -0
  4. package/config/easy/CrackTheTrioCode/code/CGCode.js +6 -0
  5. package/config/easy/CrackTheTrioCode/code/CGCode.php +7 -0
  6. package/config/easy/CrackTheTrioCode/code/CGCode.ts +6 -0
  7. package/config/easy/CrackTheTrioCode/config.json +48 -0
  8. package/config/easy/CrackTheTrioCode/input/01 - test 1.txt +1 -0
  9. package/config/easy/CrackTheTrioCode/input/02 - test 2.txt +1 -0
  10. package/config/easy/CrackTheTrioCode/input/03 - test 3.txt +1 -0
  11. package/config/easy/CrackTheTrioCode/input/04 - test 4.txt +1 -0
  12. package/config/easy/CrackTheTrioCode/input/05 - test 5.txt +1 -0
  13. package/config/easy/CrackTheTrioCode/input/06 - test 6.txt +1 -0
  14. package/config/easy/CrackTheTrioCode/input/07 - test 7.txt +1 -0
  15. package/config/easy/CrackTheTrioCode/input/08 - test 8.txt +1 -0
  16. package/config/easy/CrackTheTrioCode/output/01 - test 1.txt +1 -0
  17. package/config/easy/CrackTheTrioCode/output/02 - test 2.txt +1 -0
  18. package/config/easy/CrackTheTrioCode/output/03 - test 3.txt +1 -0
  19. package/config/easy/CrackTheTrioCode/output/04 - test 4.txt +1 -0
  20. package/config/easy/CrackTheTrioCode/output/05 - test 5.txt +1 -0
  21. package/config/easy/CrackTheTrioCode/output/06 - test 6.txt +1 -0
  22. package/config/easy/CrackTheTrioCode/output/07 - test 7.txt +1 -0
  23. package/config/easy/CrackTheTrioCode/output/08 - test 8.txt +1 -0
  24. package/config/easy/EgyptianMultiplication/code/CGCode.cpp +18 -0
  25. package/config/easy/EgyptianMultiplication/code/CGCode.java +17 -0
  26. package/config/easy/EgyptianMultiplication/code/CGCode.js +8 -0
  27. package/config/easy/EgyptianMultiplication/code/CGCode.php +7 -0
  28. package/config/easy/EgyptianMultiplication/code/CGCode.ts +8 -0
  29. package/config/easy/EgyptianMultiplication/config.json +28 -0
  30. package/config/easy/EgyptianMultiplication/input/01 - Simple a less than b.txt +1 -0
  31. package/config/easy/EgyptianMultiplication/input/02 - Simple a greater than b.txt +1 -0
  32. package/config/easy/EgyptianMultiplication/input/03 - Zero.txt +1 -0
  33. package/config/easy/EgyptianMultiplication/input/04 - Bigger numbers.txt +1 -0
  34. package/config/easy/EgyptianMultiplication/output/01 - Simple a less than b.txt +5 -0
  35. package/config/easy/EgyptianMultiplication/output/02 - Simple a greater than b.txt +4 -0
  36. package/config/easy/EgyptianMultiplication/output/03 - Zero.txt +2 -0
  37. package/config/easy/EgyptianMultiplication/output/04 - Bigger numbers.txt +14 -0
  38. package/config/easy/ProductionPipeline/code/CGCode.cpp +23 -0
  39. package/config/easy/ProductionPipeline/code/CGCode.java +23 -0
  40. package/config/easy/ProductionPipeline/code/CGCode.js +10 -0
  41. package/config/easy/ProductionPipeline/code/CGCode.php +12 -0
  42. package/config/easy/ProductionPipeline/code/CGCode.ts +10 -0
  43. package/config/easy/ProductionPipeline/config.json +43 -0
  44. package/config/easy/ProductionPipeline/input/01 - test 1.txt +5 -0
  45. package/config/easy/ProductionPipeline/input/02 - test 2.txt +7 -0
  46. package/config/easy/ProductionPipeline/input/03 - test 3.txt +9 -0
  47. package/config/easy/ProductionPipeline/input/04 - test 4.txt +2 -0
  48. package/config/easy/ProductionPipeline/input/05 - test 5.txt +4 -0
  49. package/config/easy/ProductionPipeline/input/06 - test 6.txt +152 -0
  50. package/config/easy/ProductionPipeline/input/07 - test 7.txt +252 -0
  51. package/config/easy/ProductionPipeline/output/01 - test 1.txt +1 -0
  52. package/config/easy/ProductionPipeline/output/02 - test 2.txt +1 -0
  53. package/config/easy/ProductionPipeline/output/03 - test 3.txt +1 -0
  54. package/config/easy/ProductionPipeline/output/04 - test 4.txt +1 -0
  55. package/config/easy/ProductionPipeline/output/05 - test 5.txt +1 -0
  56. package/config/easy/ProductionPipeline/output/06 - test 6.txt +1 -0
  57. package/config/easy/ProductionPipeline/output/07 - test 7.txt +1 -0
  58. package/config/easy/SquashPi/code/CGCode.cpp +19 -0
  59. package/config/easy/SquashPi/code/CGCode.java +17 -0
  60. package/config/easy/SquashPi/code/CGCode.js +7 -0
  61. package/config/easy/SquashPi/code/CGCode.php +8 -0
  62. package/config/easy/SquashPi/code/CGCode.ts +7 -0
  63. package/config/easy/SquashPi/config.json +33 -0
  64. package/config/easy/SquashPi/input/01 - test 1.txt +2 -0
  65. package/config/easy/SquashPi/input/02 - test 2.txt +2 -0
  66. package/config/easy/SquashPi/input/03 - test 3.txt +2 -0
  67. package/config/easy/SquashPi/input/04 - test 4.txt +2 -0
  68. package/config/easy/SquashPi/input/05 - test 5.txt +2 -0
  69. package/config/easy/SquashPi/output/01 - test 1.txt +1 -0
  70. package/config/easy/SquashPi/output/02 - test 2.txt +1 -0
  71. package/config/easy/SquashPi/output/03 - test 3.txt +1 -0
  72. package/config/easy/SquashPi/output/04 - test 4.txt +1 -0
  73. package/config/easy/SquashPi/output/05 - test 5.txt +1 -0
  74. package/config/hard/AGameOfGo/code/CGCode.cpp +27 -0
  75. package/config/hard/AGameOfGo/code/CGCode.java +26 -0
  76. package/config/hard/AGameOfGo/code/CGCode.js +13 -0
  77. package/config/hard/AGameOfGo/code/CGCode.php +18 -0
  78. package/config/hard/AGameOfGo/code/CGCode.ts +13 -0
  79. package/config/hard/AGameOfGo/config.json +43 -0
  80. package/config/hard/AGameOfGo/input/01 - Some stones on an empty field.txt +12 -0
  81. package/config/hard/AGameOfGo/input/02 - Stones get removed.txt +14 -0
  82. package/config/hard/AGameOfGo/input/03 - Field not free.txt +8 -0
  83. package/config/hard/AGameOfGo/input/04 - Suicidal move.txt +12 -0
  84. package/config/hard/AGameOfGo/input/05 - Non-Suicidal move.txt +14 -0
  85. package/config/hard/AGameOfGo/input/06 - Ko rule violated.txt +10 -0
  86. package/config/hard/AGameOfGo/input/07 - Bigger field.txt +21 -0
  87. package/config/hard/AGameOfGo/output/01 - Some stones on an empty field.txt +5 -0
  88. package/config/hard/AGameOfGo/output/02 - Stones get removed.txt +5 -0
  89. package/config/hard/AGameOfGo/output/03 - Field not free.txt +1 -0
  90. package/config/hard/AGameOfGo/output/04 - Suicidal move.txt +1 -0
  91. package/config/hard/AGameOfGo/output/05 - Non-Suicidal move.txt +5 -0
  92. package/config/hard/AGameOfGo/output/06 - Ko rule violated.txt +1 -0
  93. package/config/hard/AGameOfGo/output/07 - Bigger field.txt +9 -0
  94. package/config/hard/AlternativeVote/code/CGCode.cpp +27 -0
  95. package/config/hard/AlternativeVote/code/CGCode.java +29 -0
  96. package/config/hard/AlternativeVote/code/CGCode.js +13 -0
  97. package/config/hard/AlternativeVote/code/CGCode.php +16 -0
  98. package/config/hard/AlternativeVote/code/CGCode.ts +13 -0
  99. package/config/hard/AlternativeVote/config.json +28 -0
  100. package/config/hard/AlternativeVote/input/01 - Example.txt +12 -0
  101. package/config/hard/AlternativeVote/input/02 - 3 candidates.txt +10 -0
  102. package/config/hard/AlternativeVote/input/03 - 5 candidates.txt +17 -0
  103. package/config/hard/AlternativeVote/input/04 - 2 candidats.txt +1003 -0
  104. package/config/hard/AlternativeVote/output/01 - Example.txt +3 -0
  105. package/config/hard/AlternativeVote/output/02 - 3 candidates.txt +3 -0
  106. package/config/hard/AlternativeVote/output/03 - 5 candidates.txt +5 -0
  107. package/config/hard/AlternativeVote/output/04 - 2 candidats.txt +2 -0
  108. package/config/hard/AppleTree/code/CGCode.cpp +25 -0
  109. package/config/hard/AppleTree/code/CGCode.java +23 -0
  110. package/config/hard/AppleTree/code/CGCode.js +15 -0
  111. package/config/hard/AppleTree/code/CGCode.php +11 -0
  112. package/config/hard/AppleTree/code/CGCode.ts +15 -0
  113. package/config/hard/AppleTree/config.json +38 -0
  114. package/config/hard/AppleTree/input/01 - No collisions.txt +3 -0
  115. package/config/hard/AppleTree/input/02 - Single collision.txt +7 -0
  116. package/config/hard/AppleTree/input/03 - Multiple collisions.txt +6 -0
  117. package/config/hard/AppleTree/input/04 - Cascade.txt +9 -0
  118. package/config/hard/AppleTree/input/05 - Multiple cascades.txt +11 -0
  119. package/config/hard/AppleTree/input/06 - Tower.txt +101 -0
  120. package/config/hard/AppleTree/output/01 - No collisions.txt +1 -0
  121. package/config/hard/AppleTree/output/02 - Single collision.txt +1 -0
  122. package/config/hard/AppleTree/output/03 - Multiple collisions.txt +1 -0
  123. package/config/hard/AppleTree/output/04 - Cascade.txt +1 -0
  124. package/config/hard/AppleTree/output/05 - Multiple cascades.txt +1 -0
  125. package/config/hard/AppleTree/output/06 - Tower.txt +1 -0
  126. package/config/hard/Breakout/code/CGCode.cpp +37 -0
  127. package/config/hard/Breakout/code/CGCode.java +31 -0
  128. package/config/hard/Breakout/code/CGCode.js +25 -0
  129. package/config/hard/Breakout/code/CGCode.php +18 -0
  130. package/config/hard/Breakout/code/CGCode.ts +25 -0
  131. package/config/hard/Breakout/config.json +38 -0
  132. package/config/hard/Breakout/input/01 - Straight out.txt +6 -0
  133. package/config/hard/Breakout/input/02 - One brick.txt +6 -0
  134. package/config/hard/Breakout/input/03 - Off the walls.txt +6 -0
  135. package/config/hard/Breakout/input/04 - Escape.txt +53 -0
  136. package/config/hard/Breakout/input/05 - Off the paddle.txt +6 -0
  137. package/config/hard/Breakout/input/06 - Good game.txt +88 -0
  138. package/config/hard/Breakout/output/01 - Straight out.txt +1 -0
  139. package/config/hard/Breakout/output/02 - One brick.txt +1 -0
  140. package/config/hard/Breakout/output/03 - Off the walls.txt +1 -0
  141. package/config/hard/Breakout/output/04 - Escape.txt +1 -0
  142. package/config/hard/Breakout/output/05 - Off the paddle.txt +1 -0
  143. package/config/hard/Breakout/output/06 - Good game.txt +1 -0
  144. package/config/hard/CGChatInterpreter/code/CGCode.cpp +32 -0
  145. package/config/hard/CGChatInterpreter/code/CGCode.java +30 -0
  146. package/config/hard/CGChatInterpreter/code/CGCode.js +20 -0
  147. package/config/hard/CGChatInterpreter/code/CGCode.php +22 -0
  148. package/config/hard/CGChatInterpreter/code/CGCode.ts +20 -0
  149. package/config/hard/CGChatInterpreter/config.json +63 -0
  150. package/config/hard/CGChatInterpreter/input/01 - Syntax Constants.txt +29 -0
  151. package/config/hard/CGChatInterpreter/input/02 - Syntax Context.txt +42 -0
  152. package/config/hard/CGChatInterpreter/input/03 - Syntax Addition.txt +21 -0
  153. package/config/hard/CGChatInterpreter/input/04 - Syntax Subtraction.txt +20 -0
  154. package/config/hard/CGChatInterpreter/input/05 - Syntax Multiplication.txt +22 -0
  155. package/config/hard/CGChatInterpreter/input/06 - Syntax Squares.txt +17 -0
  156. package/config/hard/CGChatInterpreter/input/07 - Syntax me and you.txt +32 -0
  157. package/config/hard/CGChatInterpreter/input/08 - Syntax Nick references.txt +33 -0
  158. package/config/hard/CGChatInterpreter/input/09 - Syntax pop, dup, flip.txt +35 -0
  159. package/config/hard/CGChatInterpreter/input/10 - Syntax Nested arithmetic.txt +21 -0
  160. package/config/hard/CGChatInterpreter/input/11 - Quiz.txt +96 -0
  161. package/config/hard/CGChatInterpreter/output/01 - Syntax Constants.txt +1 -0
  162. package/config/hard/CGChatInterpreter/output/02 - Syntax Context.txt +1 -0
  163. package/config/hard/CGChatInterpreter/output/03 - Syntax Addition.txt +1 -0
  164. package/config/hard/CGChatInterpreter/output/04 - Syntax Subtraction.txt +1 -0
  165. package/config/hard/CGChatInterpreter/output/05 - Syntax Multiplication.txt +1 -0
  166. package/config/hard/CGChatInterpreter/output/06 - Syntax Squares.txt +1 -0
  167. package/config/hard/CGChatInterpreter/output/07 - Syntax me and you.txt +1 -0
  168. package/config/hard/CGChatInterpreter/output/08 - Syntax Nick references.txt +1 -0
  169. package/config/hard/CGChatInterpreter/output/09 - Syntax pop, dup, flip.txt +1 -0
  170. package/config/hard/CGChatInterpreter/output/10 - Syntax Nested arithmetic.txt +1 -0
  171. package/config/hard/CGChatInterpreter/output/11 - Quiz.txt +1 -0
  172. package/config/hard/CGsNextTopModel/code/CGCode.cpp +19 -0
  173. package/config/hard/CGsNextTopModel/code/CGCode.java +17 -0
  174. package/config/hard/CGsNextTopModel/code/CGCode.js +7 -0
  175. package/config/hard/CGsNextTopModel/code/CGCode.php +8 -0
  176. package/config/hard/CGsNextTopModel/code/CGCode.ts +7 -0
  177. package/config/hard/CGsNextTopModel/config.json +53 -0
  178. package/config/hard/CGsNextTopModel/input/01 - Linear.txt +2 -0
  179. package/config/hard/CGsNextTopModel/input/02 - Parabola.txt +2 -0
  180. package/config/hard/CGsNextTopModel/input/03 - Sine.txt +2 -0
  181. package/config/hard/CGsNextTopModel/input/04 - Exponential.txt +2 -0
  182. package/config/hard/CGsNextTopModel/input/05 - Mystery One.txt +2 -0
  183. package/config/hard/CGsNextTopModel/input/06 - Mystery Two.txt +2 -0
  184. package/config/hard/CGsNextTopModel/input/07 - Mystery Three.txt +2 -0
  185. package/config/hard/CGsNextTopModel/input/08 - Are you using test data correctly.txt +2 -0
  186. package/config/hard/CGsNextTopModel/input/09 - Make sure to use training and test.txt +2 -0
  187. package/config/hard/CGsNextTopModel/output/01 - Linear.txt +1 -0
  188. package/config/hard/CGsNextTopModel/output/02 - Parabola.txt +1 -0
  189. package/config/hard/CGsNextTopModel/output/03 - Sine.txt +1 -0
  190. package/config/hard/CGsNextTopModel/output/04 - Exponential.txt +1 -0
  191. package/config/hard/CGsNextTopModel/output/05 - Mystery One.txt +1 -0
  192. package/config/hard/CGsNextTopModel/output/06 - Mystery Two.txt +1 -0
  193. package/config/hard/CGsNextTopModel/output/07 - Mystery Three.txt +1 -0
  194. package/config/hard/CGsNextTopModel/output/08 - Are you using test data correctly.txt +1 -0
  195. package/config/hard/CGsNextTopModel/output/09 - Make sure to use training and test.txt +1 -0
  196. package/config/hard/CloudyWeather/code/CGCode.cpp +30 -0
  197. package/config/hard/CloudyWeather/code/CGCode.java +26 -0
  198. package/config/hard/CloudyWeather/code/CGCode.js +19 -0
  199. package/config/hard/CloudyWeather/code/CGCode.php +13 -0
  200. package/config/hard/CloudyWeather/code/CGCode.ts +19 -0
  201. package/config/hard/CloudyWeather/config.json +53 -0
  202. package/config/hard/CloudyWeather/input/01 - Very small map #1.txt +7 -0
  203. package/config/hard/CloudyWeather/input/02 - Small map #2.txt +43 -0
  204. package/config/hard/CloudyWeather/input/03 - Small map #3.txt +43 -0
  205. package/config/hard/CloudyWeather/input/04 - Medium map #1.txt +53 -0
  206. package/config/hard/CloudyWeather/input/05 - Medium map #2.txt +103 -0
  207. package/config/hard/CloudyWeather/input/06 - Large map #1.txt +153 -0
  208. package/config/hard/CloudyWeather/input/07 - Large map #2.txt +203 -0
  209. package/config/hard/CloudyWeather/input/08 - Large map #3.txt +253 -0
  210. package/config/hard/CloudyWeather/input/09 - Large map #4.txt +253 -0
  211. package/config/hard/CloudyWeather/output/01 - Very small map #1.txt +1 -0
  212. package/config/hard/CloudyWeather/output/02 - Small map #2.txt +1 -0
  213. package/config/hard/CloudyWeather/output/03 - Small map #3.txt +1 -0
  214. package/config/hard/CloudyWeather/output/04 - Medium map #1.txt +1 -0
  215. package/config/hard/CloudyWeather/output/05 - Medium map #2.txt +1 -0
  216. package/config/hard/CloudyWeather/output/06 - Large map #1.txt +1 -0
  217. package/config/hard/CloudyWeather/output/07 - Large map #2.txt +1 -0
  218. package/config/hard/CloudyWeather/output/08 - Large map #3.txt +1 -0
  219. package/config/hard/CloudyWeather/output/09 - Large map #4.txt +1 -0
  220. package/config/hard/DoublySolvedRubiksCube/code/CGCode.cpp +19 -0
  221. package/config/hard/DoublySolvedRubiksCube/code/CGCode.java +18 -0
  222. package/config/hard/DoublySolvedRubiksCube/code/CGCode.js +8 -0
  223. package/config/hard/DoublySolvedRubiksCube/code/CGCode.php +10 -0
  224. package/config/hard/DoublySolvedRubiksCube/code/CGCode.ts +8 -0
  225. package/config/hard/DoublySolvedRubiksCube/config.json +78 -0
  226. package/config/hard/DoublySolvedRubiksCube/input/01 - Single rotation.txt +11 -0
  227. package/config/hard/DoublySolvedRubiksCube/input/02 - Middle slice.txt +11 -0
  228. package/config/hard/DoublySolvedRubiksCube/input/03 - Solved.txt +11 -0
  229. package/config/hard/DoublySolvedRubiksCube/input/04 - 2 twists.txt +11 -0
  230. package/config/hard/DoublySolvedRubiksCube/input/05 - 5 twists.txt +11 -0
  231. package/config/hard/DoublySolvedRubiksCube/input/06 - 10 twists.txt +11 -0
  232. package/config/hard/DoublySolvedRubiksCube/input/07 - 15 twists.txt +11 -0
  233. package/config/hard/DoublySolvedRubiksCube/input/08 - 20 twists.txt +11 -0
  234. package/config/hard/DoublySolvedRubiksCube/input/09 - 1000 twists.txt +11 -0
  235. package/config/hard/DoublySolvedRubiksCube/input/10 - Random state 1.txt +11 -0
  236. package/config/hard/DoublySolvedRubiksCube/input/11 - Random state 2.txt +11 -0
  237. package/config/hard/DoublySolvedRubiksCube/input/12 - Random state 3.txt +11 -0
  238. package/config/hard/DoublySolvedRubiksCube/input/13 - Random state 4.txt +11 -0
  239. package/config/hard/DoublySolvedRubiksCube/input/14 - Random state 5.txt +11 -0
  240. package/config/hard/DoublySolvedRubiksCube/output/01 - Single rotation.txt +11 -0
  241. package/config/hard/DoublySolvedRubiksCube/output/02 - Middle slice.txt +11 -0
  242. package/config/hard/DoublySolvedRubiksCube/output/03 - Solved.txt +11 -0
  243. package/config/hard/DoublySolvedRubiksCube/output/04 - 2 twists.txt +11 -0
  244. package/config/hard/DoublySolvedRubiksCube/output/05 - 5 twists.txt +11 -0
  245. package/config/hard/DoublySolvedRubiksCube/output/06 - 10 twists.txt +11 -0
  246. package/config/hard/DoublySolvedRubiksCube/output/07 - 15 twists.txt +11 -0
  247. package/config/hard/DoublySolvedRubiksCube/output/08 - 20 twists.txt +11 -0
  248. package/config/hard/DoublySolvedRubiksCube/output/09 - 1000 twists.txt +11 -0
  249. package/config/hard/DoublySolvedRubiksCube/output/10 - Random state 1.txt +11 -0
  250. package/config/hard/DoublySolvedRubiksCube/output/11 - Random state 2.txt +11 -0
  251. package/config/hard/DoublySolvedRubiksCube/output/12 - Random state 3.txt +11 -0
  252. package/config/hard/DoublySolvedRubiksCube/output/13 - Random state 4.txt +11 -0
  253. package/config/hard/DoublySolvedRubiksCube/output/14 - Random state 5.txt +11 -0
  254. package/config/hard/DumbbellsSolver/code/CGCode.cpp +26 -0
  255. package/config/hard/DumbbellsSolver/code/CGCode.java +26 -0
  256. package/config/hard/DumbbellsSolver/code/CGCode.js +14 -0
  257. package/config/hard/DumbbellsSolver/code/CGCode.php +15 -0
  258. package/config/hard/DumbbellsSolver/code/CGCode.ts +14 -0
  259. package/config/hard/DumbbellsSolver/config.json +33 -0
  260. package/config/hard/DumbbellsSolver/input/01 - test 1 (empty not to fill).txt +5 -0
  261. package/config/hard/DumbbellsSolver/input/02 - test 2 (empty to fill).txt +5 -0
  262. package/config/hard/DumbbellsSolver/input/03 - test 3.txt +9 -0
  263. package/config/hard/DumbbellsSolver/input/04 - test 4.txt +7 -0
  264. package/config/hard/DumbbellsSolver/input/05 - test 5.txt +10 -0
  265. package/config/hard/DumbbellsSolver/output/01 - test 1 (empty not to fill).txt +3 -0
  266. package/config/hard/DumbbellsSolver/output/02 - test 2 (empty to fill).txt +3 -0
  267. package/config/hard/DumbbellsSolver/output/03 - test 3.txt +7 -0
  268. package/config/hard/DumbbellsSolver/output/04 - test 4.txt +5 -0
  269. package/config/hard/DumbbellsSolver/output/05 - test 5.txt +8 -0
  270. package/config/hard/ElectricalGrid/code/CGCode.cpp +25 -0
  271. package/config/hard/ElectricalGrid/code/CGCode.java +23 -0
  272. package/config/hard/ElectricalGrid/code/CGCode.js +15 -0
  273. package/config/hard/ElectricalGrid/code/CGCode.php +12 -0
  274. package/config/hard/ElectricalGrid/code/CGCode.ts +15 -0
  275. package/config/hard/ElectricalGrid/config.json +28 -0
  276. package/config/hard/ElectricalGrid/input/01 - Triangle.txt +4 -0
  277. package/config/hard/ElectricalGrid/input/02 - Some houses.txt +18 -0
  278. package/config/hard/ElectricalGrid/input/03 - Lonely house.txt +1 -0
  279. package/config/hard/ElectricalGrid/input/04 - Fully connectable.txt +7 -0
  280. package/config/hard/ElectricalGrid/output/01 - Triangle.txt +3 -0
  281. package/config/hard/ElectricalGrid/output/02 - Some houses.txt +10 -0
  282. package/config/hard/ElectricalGrid/output/03 - Lonely house.txt +1 -0
  283. package/config/hard/ElectricalGrid/output/04 - Fully connectable.txt +4 -0
  284. package/config/hard/Erd/305/221sNumber/code/CGCode.cpp +27 -0
  285. package/config/hard/Erd/305/221sNumber/code/CGCode.java +26 -0
  286. package/config/hard/Erd/305/221sNumber/code/CGCode.js +13 -0
  287. package/config/hard/Erd/305/221sNumber/code/CGCode.php +16 -0
  288. package/config/hard/Erd/305/221sNumber/code/CGCode.ts +13 -0
  289. package/config/hard/Erd/305/221sNumber/config.json +38 -0
  290. package/config/hard/Erd/305/221sNumber/input/01 - Albert Einstein.txt" +6 -0
  291. package/config/hard/Erd/305/221sNumber/input/02 - Isaac Newton.txt" +8 -0
  292. package/config/hard/Erd/305/221sNumber/input/03 - Paul Erd/305/221s.txt" +8 -0
  293. package/config/hard/Erd/305/221sNumber/input/04 - Maryam Mirzakhani.txt" +12 -0
  294. package/config/hard/Erd/305/221sNumber/input/05 - Andrew Wiles.txt" +18 -0
  295. package/config/hard/Erd/305/221sNumber/input/06 - Alan Turing.txt" +34 -0
  296. package/config/hard/Erd/305/221sNumber/output/01 - Albert Einstein.txt" +3 -0
  297. package/config/hard/Erd/305/221sNumber/output/02 - Isaac Newton.txt" +1 -0
  298. package/config/hard/Erd/305/221sNumber/output/03 - Paul Erd/305/221s.txt" +1 -0
  299. package/config/hard/Erd/305/221sNumber/output/04 - Maryam Mirzakhani.txt" +4 -0
  300. package/config/hard/Erd/305/221sNumber/output/05 - Andrew Wiles.txt" +4 -0
  301. package/config/hard/Erd/305/221sNumber/output/06 - Alan Turing.txt" +6 -0
  302. package/config/hard/HanoiTower/code/CGCode.cpp +20 -0
  303. package/config/hard/HanoiTower/code/CGCode.java +18 -0
  304. package/config/hard/HanoiTower/code/CGCode.js +8 -0
  305. package/config/hard/HanoiTower/code/CGCode.php +9 -0
  306. package/config/hard/HanoiTower/code/CGCode.ts +8 -0
  307. package/config/hard/HanoiTower/config.json +28 -0
  308. package/config/hard/HanoiTower/input/01 - test 1.txt +2 -0
  309. package/config/hard/HanoiTower/input/02 - test 2.txt +2 -0
  310. package/config/hard/HanoiTower/input/03 - test 3.txt +2 -0
  311. package/config/hard/HanoiTower/input/04 - test 4.txt +2 -0
  312. package/config/hard/HanoiTower/output/01 - test 1.txt +4 -0
  313. package/config/hard/HanoiTower/output/02 - test 2.txt +5 -0
  314. package/config/hard/HanoiTower/output/03 - test 3.txt +7 -0
  315. package/config/hard/HanoiTower/output/04 - test 4.txt +10 -0
  316. package/config/hard/HauntedManor/code/CGCode.cpp +41 -0
  317. package/config/hard/HauntedManor/code/CGCode.java +35 -0
  318. package/config/hard/HauntedManor/code/CGCode.js +29 -0
  319. package/config/hard/HauntedManor/code/CGCode.php +32 -0
  320. package/config/hard/HauntedManor/code/CGCode.ts +29 -0
  321. package/config/hard/HauntedManor/config.json +38 -0
  322. package/config/hard/HauntedManor/input/01 - 3x3 manor.txt +9 -0
  323. package/config/hard/HauntedManor/input/02 - 4x4 manor.txt +10 -0
  324. package/config/hard/HauntedManor/input/03 - 5x5 manor.txt +11 -0
  325. package/config/hard/HauntedManor/input/04 - 7x7 manor.txt +13 -0
  326. package/config/hard/HauntedManor/input/05 - Another 7x7 manor.txt +13 -0
  327. package/config/hard/HauntedManor/input/06 - Not much of a manor.txt +7 -0
  328. package/config/hard/HauntedManor/output/01 - 3x3 manor.txt +3 -0
  329. package/config/hard/HauntedManor/output/02 - 4x4 manor.txt +4 -0
  330. package/config/hard/HauntedManor/output/03 - 5x5 manor.txt +5 -0
  331. package/config/hard/HauntedManor/output/04 - 7x7 manor.txt +7 -0
  332. package/config/hard/HauntedManor/output/05 - Another 7x7 manor.txt +7 -0
  333. package/config/hard/HauntedManor/output/06 - Not much of a manor.txt +1 -0
  334. package/config/hard/MagicalFrog/code/CGCode.cpp +18 -0
  335. package/config/hard/MagicalFrog/code/CGCode.java +17 -0
  336. package/config/hard/MagicalFrog/code/CGCode.js +8 -0
  337. package/config/hard/MagicalFrog/code/CGCode.php +7 -0
  338. package/config/hard/MagicalFrog/code/CGCode.ts +8 -0
  339. package/config/hard/MagicalFrog/config.json +28 -0
  340. package/config/hard/MagicalFrog/input/01 - test 1.txt +1 -0
  341. package/config/hard/MagicalFrog/input/02 - test 2.txt +1 -0
  342. package/config/hard/MagicalFrog/input/03 - test 3.txt +1 -0
  343. package/config/hard/MagicalFrog/input/04 - test 4.txt +1 -0
  344. package/config/hard/MagicalFrog/output/01 - test 1.txt +1 -0
  345. package/config/hard/MagicalFrog/output/02 - test 2.txt +1 -0
  346. package/config/hard/MagicalFrog/output/03 - test 3.txt +1 -0
  347. package/config/hard/MagicalFrog/output/04 - test 4.txt +1 -0
  348. package/config/hard/MaxRect/code/CGCode.cpp +22 -0
  349. package/config/hard/MaxRect/code/CGCode.java +23 -0
  350. package/config/hard/MaxRect/code/CGCode.js +11 -0
  351. package/config/hard/MaxRect/code/CGCode.php +11 -0
  352. package/config/hard/MaxRect/code/CGCode.ts +11 -0
  353. package/config/hard/MaxRect/config.json +48 -0
  354. package/config/hard/MaxRect/input/01 - Small.txt +3 -0
  355. package/config/hard/MaxRect/input/02 - Medium.txt +11 -0
  356. package/config/hard/MaxRect/input/03 - Big.txt +31 -0
  357. package/config/hard/MaxRect/input/04 - Time out.txt +66 -0
  358. package/config/hard/MaxRect/input/05 - All Negatives.txt +4 -0
  359. package/config/hard/MaxRect/input/06 - 1x1.txt +2 -0
  360. package/config/hard/MaxRect/input/07 - One column.txt +10 -0
  361. package/config/hard/MaxRect/input/08 - One row.txt +2 -0
  362. package/config/hard/MaxRect/output/01 - Small.txt +1 -0
  363. package/config/hard/MaxRect/output/02 - Medium.txt +1 -0
  364. package/config/hard/MaxRect/output/03 - Big.txt +1 -0
  365. package/config/hard/MaxRect/output/04 - Time out.txt +1 -0
  366. package/config/hard/MaxRect/output/05 - All Negatives.txt +1 -0
  367. package/config/hard/MaxRect/output/06 - 1x1.txt +1 -0
  368. package/config/hard/MaxRect/output/07 - One column.txt +1 -0
  369. package/config/hard/MaxRect/output/08 - One row.txt +1 -0
  370. package/config/hard/MonteCarloTreeSearchExercise/code/CGCode.cpp +23 -0
  371. package/config/hard/MonteCarloTreeSearchExercise/code/CGCode.java +21 -0
  372. package/config/hard/MonteCarloTreeSearchExercise/code/CGCode.js +13 -0
  373. package/config/hard/MonteCarloTreeSearchExercise/code/CGCode.php +11 -0
  374. package/config/hard/MonteCarloTreeSearchExercise/code/CGCode.ts +13 -0
  375. package/config/hard/MonteCarloTreeSearchExercise/config.json +43 -0
  376. package/config/hard/MonteCarloTreeSearchExercise/input/01 - Tiny tree test.txt +4 -0
  377. package/config/hard/MonteCarloTreeSearchExercise/input/02 - Nondeterministic scores test.txt +6 -0
  378. package/config/hard/MonteCarloTreeSearchExercise/input/03 - Significant exploration test.txt +4 -0
  379. package/config/hard/MonteCarloTreeSearchExercise/input/04 - UCB1-tie test.txt +5 -0
  380. package/config/hard/MonteCarloTreeSearchExercise/input/05 - Small random test.txt +11 -0
  381. package/config/hard/MonteCarloTreeSearchExercise/input/06 - Large test.txt +251 -0
  382. package/config/hard/MonteCarloTreeSearchExercise/input/07 - Another large test.txt +351 -0
  383. package/config/hard/MonteCarloTreeSearchExercise/output/01 - Tiny tree test.txt +1 -0
  384. package/config/hard/MonteCarloTreeSearchExercise/output/02 - Nondeterministic scores test.txt +1 -0
  385. package/config/hard/MonteCarloTreeSearchExercise/output/03 - Significant exploration test.txt +1 -0
  386. package/config/hard/MonteCarloTreeSearchExercise/output/04 - UCB1-tie test.txt +1 -0
  387. package/config/hard/MonteCarloTreeSearchExercise/output/05 - Small random test.txt +1 -0
  388. package/config/hard/MonteCarloTreeSearchExercise/output/06 - Large test.txt +1 -0
  389. package/config/hard/MonteCarloTreeSearchExercise/output/07 - Another large test.txt +1 -0
  390. package/config/hard/PedestrianTraffic/code/CGCode.cpp +21 -0
  391. package/config/hard/PedestrianTraffic/code/CGCode.java +21 -0
  392. package/config/hard/PedestrianTraffic/code/CGCode.js +8 -0
  393. package/config/hard/PedestrianTraffic/code/CGCode.php +9 -0
  394. package/config/hard/PedestrianTraffic/code/CGCode.ts +8 -0
  395. package/config/hard/PedestrianTraffic/config.json +68 -0
  396. package/config/hard/PedestrianTraffic/input/01 - Crossing Paths.txt +3 -0
  397. package/config/hard/PedestrianTraffic/input/02 - One Way Stampede.txt +3 -0
  398. package/config/hard/PedestrianTraffic/input/03 - Simple Dependency.txt +3 -0
  399. package/config/hard/PedestrianTraffic/input/04 - More Dependencies.txt +3 -0
  400. package/config/hard/PedestrianTraffic/input/05 - Complex Dependencies.txt +3 -0
  401. package/config/hard/PedestrianTraffic/input/06 - Temporary Blockage.txt +3 -0
  402. package/config/hard/PedestrianTraffic/input/07 - Ring Around the Rosie.txt +3 -0
  403. package/config/hard/PedestrianTraffic/input/08 - Empty Path.txt +3 -0
  404. package/config/hard/PedestrianTraffic/input/09 - Group Collision.txt +3 -0
  405. package/config/hard/PedestrianTraffic/input/10 - Long Path.txt +3 -0
  406. package/config/hard/PedestrianTraffic/input/11 - Longer Path.txt +3 -0
  407. package/config/hard/PedestrianTraffic/input/12 - Longest Path.txt +3 -0
  408. package/config/hard/PedestrianTraffic/output/01 - Crossing Paths.txt +1 -0
  409. package/config/hard/PedestrianTraffic/output/02 - One Way Stampede.txt +1 -0
  410. package/config/hard/PedestrianTraffic/output/03 - Simple Dependency.txt +1 -0
  411. package/config/hard/PedestrianTraffic/output/04 - More Dependencies.txt +1 -0
  412. package/config/hard/PedestrianTraffic/output/05 - Complex Dependencies.txt +1 -0
  413. package/config/hard/PedestrianTraffic/output/06 - Temporary Blockage.txt +1 -0
  414. package/config/hard/PedestrianTraffic/output/07 - Ring Around the Rosie.txt +1 -0
  415. package/config/hard/PedestrianTraffic/output/08 - Empty Path.txt +1 -0
  416. package/config/hard/PedestrianTraffic/output/09 - Group Collision.txt +1 -0
  417. package/config/hard/PedestrianTraffic/output/10 - Long Path.txt +1 -0
  418. package/config/hard/PedestrianTraffic/output/11 - Longer Path.txt +1 -0
  419. package/config/hard/PedestrianTraffic/output/12 - Longest Path.txt +1 -0
  420. package/config/hard/SimpleCPUEmulation1/code/CGCode.cpp +17 -0
  421. package/config/hard/SimpleCPUEmulation1/code/CGCode.java +16 -0
  422. package/config/hard/SimpleCPUEmulation1/code/CGCode.js +6 -0
  423. package/config/hard/SimpleCPUEmulation1/code/CGCode.php +7 -0
  424. package/config/hard/SimpleCPUEmulation1/code/CGCode.ts +6 -0
  425. package/config/hard/SimpleCPUEmulation1/config.json +28 -0
  426. package/config/hard/SimpleCPUEmulation1/input/01 - 5+5.txt +1 -0
  427. package/config/hard/SimpleCPUEmulation1/input/02 - (11-6+2) 8.txt +1 -0
  428. package/config/hard/SimpleCPUEmulation1/input/03 - Overflow 145+192.txt +1 -0
  429. package/config/hard/SimpleCPUEmulation1/input/04 - 15-18.txt +1 -0
  430. package/config/hard/SimpleCPUEmulation1/output/01 - 5+5.txt +1 -0
  431. package/config/hard/SimpleCPUEmulation1/output/02 - (11-6+2) 8.txt +1 -0
  432. package/config/hard/SimpleCPUEmulation1/output/03 - Overflow 145+192.txt +1 -0
  433. package/config/hard/SimpleCPUEmulation1/output/04 - 15-18.txt +1 -0
  434. package/config/hard/SimplifySelectionRanges/code/CGCode.cpp +17 -0
  435. package/config/hard/SimplifySelectionRanges/code/CGCode.java +16 -0
  436. package/config/hard/SimplifySelectionRanges/code/CGCode.js +6 -0
  437. package/config/hard/SimplifySelectionRanges/code/CGCode.php +7 -0
  438. package/config/hard/SimplifySelectionRanges/code/CGCode.ts +6 -0
  439. package/config/hard/SimplifySelectionRanges/config.json +28 -0
  440. package/config/hard/SimplifySelectionRanges/input/01 - test 1.txt +1 -0
  441. package/config/hard/SimplifySelectionRanges/input/02 - test 2.txt +1 -0
  442. package/config/hard/SimplifySelectionRanges/input/03 - test 3.txt +1 -0
  443. package/config/hard/SimplifySelectionRanges/input/04 - test 4.txt +1 -0
  444. package/config/hard/SimplifySelectionRanges/output/01 - test 1.txt +1 -0
  445. package/config/hard/SimplifySelectionRanges/output/02 - test 2.txt +1 -0
  446. package/config/hard/SimplifySelectionRanges/output/03 - test 3.txt +1 -0
  447. package/config/hard/SimplifySelectionRanges/output/04 - test 4.txt +1 -0
  448. package/config/hard/SlidingMazePuzzle/code/CGCode.cpp +22 -0
  449. package/config/hard/SlidingMazePuzzle/code/CGCode.java +23 -0
  450. package/config/hard/SlidingMazePuzzle/code/CGCode.js +11 -0
  451. package/config/hard/SlidingMazePuzzle/code/CGCode.php +11 -0
  452. package/config/hard/SlidingMazePuzzle/code/CGCode.ts +11 -0
  453. package/config/hard/SlidingMazePuzzle/config.json +28 -0
  454. package/config/hard/SlidingMazePuzzle/input/01 - 9 steps.txt +10 -0
  455. package/config/hard/SlidingMazePuzzle/input/02 - 22 steps.txt +10 -0
  456. package/config/hard/SlidingMazePuzzle/input/03 - 42 steps.txt +10 -0
  457. package/config/hard/SlidingMazePuzzle/input/04 - 189 steps.txt +10 -0
  458. package/config/hard/SlidingMazePuzzle/output/01 - 9 steps.txt +10 -0
  459. package/config/hard/SlidingMazePuzzle/output/02 - 22 steps.txt +23 -0
  460. package/config/hard/SlidingMazePuzzle/output/03 - 42 steps.txt +43 -0
  461. package/config/hard/SlidingMazePuzzle/output/04 - 189 steps.txt +190 -0
  462. package/config/hard/SymbolicSystemOfEquations/code/CGCode.cpp +27 -0
  463. package/config/hard/SymbolicSystemOfEquations/code/CGCode.java +26 -0
  464. package/config/hard/SymbolicSystemOfEquations/code/CGCode.js +14 -0
  465. package/config/hard/SymbolicSystemOfEquations/code/CGCode.php +17 -0
  466. package/config/hard/SymbolicSystemOfEquations/code/CGCode.ts +14 -0
  467. package/config/hard/SymbolicSystemOfEquations/config.json +38 -0
  468. package/config/hard/SymbolicSystemOfEquations/input/01 - Example.txt +5 -0
  469. package/config/hard/SymbolicSystemOfEquations/input/02 - Circular reference, 2 variables.txt +5 -0
  470. package/config/hard/SymbolicSystemOfEquations/input/03 - Self reference.txt +5 -0
  471. package/config/hard/SymbolicSystemOfEquations/input/04 - No equations.txt +3 -0
  472. package/config/hard/SymbolicSystemOfEquations/input/05 - Levels.txt +7 -0
  473. package/config/hard/SymbolicSystemOfEquations/input/06 - Levels again.txt +6 -0
  474. package/config/hard/SymbolicSystemOfEquations/output/01 - Example.txt +3 -0
  475. package/config/hard/SymbolicSystemOfEquations/output/02 - Circular reference, 2 variables.txt +1 -0
  476. package/config/hard/SymbolicSystemOfEquations/output/03 - Self reference.txt +1 -0
  477. package/config/hard/SymbolicSystemOfEquations/output/04 - No equations.txt +2 -0
  478. package/config/hard/SymbolicSystemOfEquations/output/05 - Levels.txt +6 -0
  479. package/config/hard/SymbolicSystemOfEquations/output/06 - Levels again.txt +4 -0
  480. package/config/hard/TheHolyGrail/code/CGCode.cpp +23 -0
  481. package/config/hard/TheHolyGrail/code/CGCode.java +21 -0
  482. package/config/hard/TheHolyGrail/code/CGCode.js +13 -0
  483. package/config/hard/TheHolyGrail/code/CGCode.php +11 -0
  484. package/config/hard/TheHolyGrail/code/CGCode.ts +13 -0
  485. package/config/hard/TheHolyGrail/config.json +28 -0
  486. package/config/hard/TheHolyGrail/input/01 - Simple 3x3.txt +8 -0
  487. package/config/hard/TheHolyGrail/input/02 - Stairs.txt +14 -0
  488. package/config/hard/TheHolyGrail/input/03 - One more challenging one.txt +99 -0
  489. package/config/hard/TheHolyGrail/input/04 - Even more complex.txt +149 -0
  490. package/config/hard/TheHolyGrail/output/01 - Simple 3x3.txt +1 -0
  491. package/config/hard/TheHolyGrail/output/02 - Stairs.txt +1 -0
  492. package/config/hard/TheHolyGrail/output/03 - One more challenging one.txt +1 -0
  493. package/config/hard/TheHolyGrail/output/04 - Even more complex.txt +1 -0
  494. package/config/hard/TheHungryDuckPart2/code/CGCode.cpp +24 -0
  495. package/config/hard/TheHungryDuckPart2/code/CGCode.java +22 -0
  496. package/config/hard/TheHungryDuckPart2/code/CGCode.js +14 -0
  497. package/config/hard/TheHungryDuckPart2/code/CGCode.php +15 -0
  498. package/config/hard/TheHungryDuckPart2/code/CGCode.ts +14 -0
  499. package/config/hard/TheHungryDuckPart2/config.json +28 -0
  500. package/config/hard/TheHungryDuckPart2/input/01 - city pond.txt +16 -0
  501. package/config/hard/TheHungryDuckPart2/input/02 - Lake Constance.txt +41 -0
  502. package/config/hard/TheHungryDuckPart2/input/03 - Nile.txt +101 -0
  503. package/config/hard/TheHungryDuckPart2/input/04 - Atlantic Ocean.txt +66 -0
  504. package/config/hard/TheHungryDuckPart2/output/01 - city pond.txt +1 -0
  505. package/config/hard/TheHungryDuckPart2/output/02 - Lake Constance.txt +1 -0
  506. package/config/hard/TheHungryDuckPart2/output/03 - Nile.txt +1 -0
  507. package/config/hard/TheHungryDuckPart2/output/04 - Atlantic Ocean.txt +1 -0
  508. package/config/hard/TheTotalIsRightWeirdEdition/config.json +2 -2
  509. package/config/hard/ThreeLittlePiggies/code/CGCode.cpp +21 -0
  510. package/config/hard/ThreeLittlePiggies/code/CGCode.java +20 -0
  511. package/config/hard/ThreeLittlePiggies/code/CGCode.js +10 -0
  512. package/config/hard/ThreeLittlePiggies/code/CGCode.php +13 -0
  513. package/config/hard/ThreeLittlePiggies/code/CGCode.ts +10 -0
  514. package/config/hard/ThreeLittlePiggies/config.json +28 -0
  515. package/config/hard/ThreeLittlePiggies/input/01 - Day 1Three pigs.txt +4 -0
  516. package/config/hard/ThreeLittlePiggies/input/02 - Night 1 Three pigs.txt +4 -0
  517. package/config/hard/ThreeLittlePiggies/input/03 - Day 2 Two pigs.txt +4 -0
  518. package/config/hard/ThreeLittlePiggies/input/04 - Night 2 Two pigs.txt +4 -0
  519. package/config/hard/ThreeLittlePiggies/output/01 - Day 1Three pigs.txt +4 -0
  520. package/config/hard/ThreeLittlePiggies/output/02 - Night 1 Three pigs.txt +4 -0
  521. package/config/hard/ThreeLittlePiggies/output/03 - Day 2 Two pigs.txt +4 -0
  522. package/config/hard/ThreeLittlePiggies/output/04 - Night 2 Two pigs.txt +4 -0
  523. package/config/hard/WallStreet/code/CGCode.cpp +24 -0
  524. package/config/hard/WallStreet/code/CGCode.java +22 -0
  525. package/config/hard/WallStreet/code/CGCode.js +13 -0
  526. package/config/hard/WallStreet/code/CGCode.php +11 -0
  527. package/config/hard/WallStreet/code/CGCode.ts +13 -0
  528. package/config/hard/WallStreet/config.json +38 -0
  529. package/config/hard/WallStreet/input/01 - Simple Trade.txt +3 -0
  530. package/config/hard/WallStreet/input/02 - Two Symbols.txt +4 -0
  531. package/config/hard/WallStreet/input/03 - No Trade.txt +3 -0
  532. package/config/hard/WallStreet/input/04 - Multiple Trades.txt +12 -0
  533. package/config/hard/WallStreet/input/05 - Busy Day.txt +101 -0
  534. package/config/hard/WallStreet/input/06 - Crazy Day.txt +130 -0
  535. package/config/hard/WallStreet/output/01 - Simple Trade.txt +1 -0
  536. package/config/hard/WallStreet/output/02 - Two Symbols.txt +1 -0
  537. package/config/hard/WallStreet/output/03 - No Trade.txt +1 -0
  538. package/config/hard/WallStreet/output/04 - Multiple Trades.txt +9 -0
  539. package/config/hard/WallStreet/output/05 - Busy Day.txt +46 -0
  540. package/config/hard/WallStreet/output/06 - Crazy Day.txt +76 -0
  541. package/config/medium/CowsInAMaze/code/CGCode.cpp +29 -0
  542. package/config/medium/CowsInAMaze/code/CGCode.java +26 -0
  543. package/config/medium/CowsInAMaze/code/CGCode.js +18 -0
  544. package/config/medium/CowsInAMaze/code/CGCode.php +19 -0
  545. package/config/medium/CowsInAMaze/code/CGCode.ts +18 -0
  546. package/config/medium/CowsInAMaze/config.json +38 -0
  547. package/config/medium/CowsInAMaze/input/01 - Sample.txt +6 -0
  548. package/config/medium/CowsInAMaze/input/02 - Farmer Nhoj is cruel.txt +11 -0
  549. package/config/medium/CowsInAMaze/input/03 - Why does Farmer John have so few cows.txt +16 -0
  550. package/config/medium/CowsInAMaze/input/04 - BIG MAZE (actually pretty small).txt +16 -0
  551. package/config/medium/CowsInAMaze/input/05 - Yay all the cows survived.txt +16 -0
  552. package/config/medium/CowsInAMaze/input/06 - How come Nhoj only knows 1 number.txt +11 -0
  553. package/config/medium/CowsInAMaze/output/01 - Sample.txt +1 -0
  554. package/config/medium/CowsInAMaze/output/02 - Farmer Nhoj is cruel.txt +1 -0
  555. package/config/medium/CowsInAMaze/output/03 - Why does Farmer John have so few cows.txt +1 -0
  556. package/config/medium/CowsInAMaze/output/04 - BIG MAZE (actually pretty small).txt +1 -0
  557. package/config/medium/CowsInAMaze/output/05 - Yay all the cows survived.txt +1 -0
  558. package/config/medium/CowsInAMaze/output/06 - How come Nhoj only knows 1 number.txt +1 -0
  559. package/config/medium/FrogDate/code/CGCode.cpp +21 -0
  560. package/config/medium/FrogDate/code/CGCode.java +20 -0
  561. package/config/medium/FrogDate/code/CGCode.js +11 -0
  562. package/config/medium/FrogDate/code/CGCode.php +7 -0
  563. package/config/medium/FrogDate/code/CGCode.ts +11 -0
  564. package/config/medium/FrogDate/config.json +78 -0
  565. package/config/medium/FrogDate/input/01 - test 1.txt +1 -0
  566. package/config/medium/FrogDate/input/02 - test 2.txt +1 -0
  567. package/config/medium/FrogDate/input/03 - test 3.txt +1 -0
  568. package/config/medium/FrogDate/input/04 - test 4.txt +1 -0
  569. package/config/medium/FrogDate/input/05 - test 5.txt +1 -0
  570. package/config/medium/FrogDate/input/06 - test 6.txt +1 -0
  571. package/config/medium/FrogDate/input/07 - test 7.txt +1 -0
  572. package/config/medium/FrogDate/input/08 - test 8.txt +1 -0
  573. package/config/medium/FrogDate/input/09 - test 9.txt +1 -0
  574. package/config/medium/FrogDate/input/10 - test 10.txt +1 -0
  575. package/config/medium/FrogDate/input/11 - test 11.txt +1 -0
  576. package/config/medium/FrogDate/input/12 - test 12.txt +1 -0
  577. package/config/medium/FrogDate/input/13 - test 13.txt +1 -0
  578. package/config/medium/FrogDate/input/14 - test 14.txt +1 -0
  579. package/config/medium/FrogDate/output/01 - test 1.txt +1 -0
  580. package/config/medium/FrogDate/output/02 - test 2.txt +1 -0
  581. package/config/medium/FrogDate/output/03 - test 3.txt +1 -0
  582. package/config/medium/FrogDate/output/04 - test 4.txt +1 -0
  583. package/config/medium/FrogDate/output/05 - test 5.txt +1 -0
  584. package/config/medium/FrogDate/output/06 - test 6.txt +1 -0
  585. package/config/medium/FrogDate/output/07 - test 7.txt +1 -0
  586. package/config/medium/FrogDate/output/08 - test 8.txt +1 -0
  587. package/config/medium/FrogDate/output/09 - test 9.txt +1 -0
  588. package/config/medium/FrogDate/output/10 - test 10.txt +1 -0
  589. package/config/medium/FrogDate/output/11 - test 11.txt +1 -0
  590. package/config/medium/FrogDate/output/12 - test 12.txt +1 -0
  591. package/config/medium/FrogDate/output/13 - test 13.txt +1 -0
  592. package/config/medium/FrogDate/output/14 - test 14.txt +1 -0
  593. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int num_good;
11
+ int num_bad;
12
+ cin >> num_good >> num_bad; cin.ignore();
13
+ for (int i = 0; i < num_good; i++) {
14
+ string good_noun;
15
+ cin >> good_noun; cin.ignore();
16
+ }
17
+ for (int i = 0; i < num_bad; i++) {
18
+ string bad_noun;
19
+ cin >> bad_noun; cin.ignore();
20
+ }
21
+ int num_lines;
22
+ cin >> num_lines; cin.ignore();
23
+ for (int i = 0; i < num_lines; i++) {
24
+ string line;
25
+ getline(cin, line);
26
+ }
27
+
28
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
29
+ // To debug: cerr << "Debug messages..." << endl;
30
+
31
+ cout << "result" << endl;
32
+ }
@@ -0,0 +1,30 @@
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 numGood = in.nextInt();
10
+ int numBad = in.nextInt();
11
+ for (int i = 0; i < numGood; i++) {
12
+ String goodNoun = in.next();
13
+ }
14
+ for (int i = 0; i < numBad; i++) {
15
+ String badNoun = in.next();
16
+ }
17
+ int numLines = in.nextInt();
18
+ if (in.hasNextLine()) {
19
+ in.nextLine();
20
+ }
21
+ for (int i = 0; i < numLines; i++) {
22
+ String line = in.nextLine();
23
+ }
24
+
25
+ // Write an answer using System.out.println()
26
+ // To debug: System.err.println("Debug messages...");
27
+
28
+ System.out.println("result");
29
+ }
30
+ }
@@ -0,0 +1,20 @@
1
+ var inputs = readline().split(' ');
2
+ const numGood = parseInt(inputs[0]);
3
+ const numBad = parseInt(inputs[1]);
4
+ var inputs = readline().split(' ');
5
+ for (let i = 0; i < numGood; i++) {
6
+ const goodNoun = inputs[i];
7
+ }
8
+ var inputs = readline().split(' ');
9
+ for (let i = 0; i < numBad; i++) {
10
+ const badNoun = inputs[i];
11
+ }
12
+ const numLines = parseInt(readline());
13
+ for (let i = 0; i < numLines; i++) {
14
+ const line = readline();
15
+ }
16
+
17
+ // Write an answer using console.log()
18
+ // To debug: console.error('Debug messages...');
19
+
20
+ console.log('result');
@@ -0,0 +1,22 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $numGood, $numBad);
3
+ $inputs = explode(" ", fgets(STDIN));
4
+ for ($i = 0; $i < $numGood; $i++)
5
+ {
6
+ $goodNoun = ($inputs[$i]);
7
+ }
8
+ $inputs = explode(" ", fgets(STDIN));
9
+ for ($i = 0; $i < $numBad; $i++)
10
+ {
11
+ $badNoun = ($inputs[$i]);
12
+ }
13
+ fscanf(STDIN, "%d", $numLines);
14
+ for ($i = 0; $i < $numLines; $i++)
15
+ {
16
+ $line = stream_get_line(STDIN, 256 + 1, "\n");
17
+ }
18
+
19
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
20
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
21
+
22
+ echo("result\n");
@@ -0,0 +1,20 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const numGood: number = parseInt(inputs[0]);
3
+ const numBad: number = parseInt(inputs[1]);
4
+ var inputs: string[] = readline().split(' ');
5
+ for (let i = 0; i < numGood; i++) {
6
+ const goodNoun: string = inputs[i];
7
+ }
8
+ var inputs: string[] = readline().split(' ');
9
+ for (let i = 0; i < numBad; i++) {
10
+ const badNoun: string = inputs[i];
11
+ }
12
+ const numLines: number = parseInt(readline());
13
+ for (let i = 0; i < numLines; i++) {
14
+ const line: string = readline();
15
+ }
16
+
17
+ // Write an answer using console.log()
18
+ // To debug: console.error('Debug messages...');
19
+
20
+ console.log('result');
@@ -0,0 +1,63 @@
1
+ {
2
+ "path": "hard/CGChatInterpreter",
3
+ "name": "CG Chat Interpreter",
4
+ "alphanumName": "CGChatInterpreter",
5
+ "link": "https://www.codingame.com/ide/puzzle/cg-chat-interpreter",
6
+ "tests": [
7
+ {
8
+ "name": "Syntax: Constants",
9
+ "alphanumName": "SyntaxConstants",
10
+ "file": "01 - Syntax Constants.txt"
11
+ },
12
+ {
13
+ "name": "Syntax: Context",
14
+ "alphanumName": "SyntaxContext",
15
+ "file": "02 - Syntax Context.txt"
16
+ },
17
+ {
18
+ "name": "Syntax: Addition",
19
+ "alphanumName": "SyntaxAddition",
20
+ "file": "03 - Syntax Addition.txt"
21
+ },
22
+ {
23
+ "name": "Syntax: Subtraction",
24
+ "alphanumName": "SyntaxSubtraction",
25
+ "file": "04 - Syntax Subtraction.txt"
26
+ },
27
+ {
28
+ "name": "Syntax: Multiplication",
29
+ "alphanumName": "SyntaxMultiplication",
30
+ "file": "05 - Syntax Multiplication.txt"
31
+ },
32
+ {
33
+ "name": "Syntax: Squares",
34
+ "alphanumName": "SyntaxSquares",
35
+ "file": "06 - Syntax Squares.txt"
36
+ },
37
+ {
38
+ "name": "Syntax: \"me\" and \"you\"",
39
+ "alphanumName": "SyntaxMeAndYou",
40
+ "file": "07 - Syntax me and you.txt"
41
+ },
42
+ {
43
+ "name": "Syntax: Nick references",
44
+ "alphanumName": "SyntaxNickReferences",
45
+ "file": "08 - Syntax Nick references.txt"
46
+ },
47
+ {
48
+ "name": "Syntax: pop, dup, flip",
49
+ "alphanumName": "SyntaxPopDupFlip",
50
+ "file": "09 - Syntax pop, dup, flip.txt"
51
+ },
52
+ {
53
+ "name": "Syntax: Nested arithmetic",
54
+ "alphanumName": "SyntaxNestedArithmetic",
55
+ "file": "10 - Syntax Nested arithmetic.txt"
56
+ },
57
+ {
58
+ "name": "Quiz",
59
+ "alphanumName": "Quiz",
60
+ "file": "11 - Quiz.txt"
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1,29 @@
1
+ 1 1
2
+ hacker
3
+ puzzle
4
+ 25
5
+ <__observer> since I never set a context
6
+ <__observer> all my lines are ignored
7
+ <MadKnife> Hi, *[CG]ThisBot*
8
+ <__observer> MK's _context_ is now [CG]TB
9
+ <[CG]ThisBot> Hello.
10
+ <MadKnife> UR an awesome hacker yet?
11
+ <__observer> "hacker" is a _good_ word
12
+ <__observer> so "an awesome hacker" is a _constant_
13
+ <__observer> since there is one _adjective_
14
+ <__observer> the value is 2 x 1 = 2
15
+ <__observer> the keyword "ur" pushes 2 onto [CG]TB
16
+ <[CG]ThisBot> I'm getting better all the time.
17
+ <MadKnife> I'll tell you how to be an awesome hacker.
18
+ <__observer> the keyword "tell" pops then
19
+ <__observer> prints the top of [CG]TB
20
+ <[CG]ThisBot> Oh really?
21
+ <MadKnife> You're still stuck on a silly, pointless puzzle.
22
+ <__observer> "puzzle" is a _bad_ word
23
+ <__observer> with 2 _adjectives_, the phrase
24
+ <__observer> "a silly pointless puzzle" pushes
25
+ <__observer> 2 x 2 x -1 = -4 onto [CG]TB
26
+ <MadKnife> I'm telling the truth.
27
+ <__observer> "telling" is another form of "tell"
28
+ <__observer> pop then print
29
+ <MadKnife> Play CSB. Then you'll be awesome.
@@ -0,0 +1,42 @@
1
+ 1 0
2
+ coder
3
+
4
+ 38
5
+ <[CG]JustAxe> hi *TearyMoon*
6
+ <__observer> [CG]JA _context_ -> TM
7
+ <[CG]JustAxe> what you doin?
8
+ <TearyMoon> Hi *[CG]JustAxe*
9
+ <__observer> TM _context_ -> [CG]JA
10
+ <TearyMoon> Working on csb
11
+ <[CG]JustAxe> dude, ur a real good coder
12
+ <__observer> "a real good coder" -> 4
13
+ <__observer> "ur" -> push
14
+ <__observer> TM stack: [ 4 ]
15
+ <TearyMoon> Thanks, man!
16
+ <TearyMoon> You too!
17
+ <TearyMoon> You're a great coder, yourself
18
+ <__observer> "a great coder" -> 2
19
+ <__observer> "youre" -> push
20
+ <__observer> [CG]JA stack: [ 2 ]
21
+ <[CG]JustAxe> you hear that, *SoftCounterKitcheh*?
22
+ <__observer> [CG]JA _context_ -> SCK
23
+ <TearyMoon> *SoftCounterKitcheh*, you're a really excellent coder too!
24
+ <__observer> since the reference to SCK is
25
+ <__observer> at the beginning of the line,
26
+ <__observer> the context is effective
27
+ <__observer> immediately for this statement
28
+ <__observer> SCK stack: [ 4 ]
29
+ <SoftCounterKitcheh> Awe, that's so sweet, *TearyMoon*!
30
+ <__observer> SCK _context_ -> TM
31
+ <SoftCounterKitcheh> Tell me more!
32
+ <__observer> "tell" -> print int
33
+ <__observer> print "4"
34
+ <__observer> TM stack: [ ]
35
+ <SoftCounterKitcheh> *[CG]JustAxe*, you going to tell me something nice too?
36
+ <__observer> since the reference to [CG]JA is
37
+ <__observer> at the beginning of the line,
38
+ <__observer> the context is effective
39
+ <__observer> immediately for this statement
40
+ <__observer> "tell" -> print int
41
+ <__observer> print "2"
42
+ <__observer> [CG]JA stack: [ ]
@@ -0,0 +1,21 @@
1
+ 1 1
2
+ apple
3
+ core
4
+ 17
5
+ <MrRandomNum> hey *[CG]SexyApple*
6
+ <__lurker> MRN -> [CG]SA
7
+ <[CG]SexyApple> What's up?
8
+ <MrRandomNum> I was just contemplating...
9
+ <MrRandomNum> I think your a bright, shiny, juicy apple and a tough core too.
10
+ <__lurker> "a bright shiny juicy apple" -> 2 x 2 x 2 x 1 = 8
11
+ <__lurker> "a tough core" -> 2 x -1 = -2
12
+ <__lurker> the keywords "and" and "too" indicate addition
13
+ <__lurker> "8 and -2 too" -> 8 + -2 = 6
14
+ <__lurker> "your 6" -> push 6
15
+ <__lurker> [CG]SA -> [ 6 ]
16
+ <[CG]SexyApple> Wow. That's deep.
17
+ <[CG]SexyApple> And a bit random, too.
18
+ <MrRandomNum> I tell it like it is.
19
+ <__lurker> "tell" -> print
20
+ <__lurker> print "6"
21
+ <__lurker> [CG]SA -> [ ]
@@ -0,0 +1,20 @@
1
+ 1 0
2
+ meme
3
+
4
+ 16
5
+ <RickyMoppet> You here, *JayBeEmmy*?
6
+ <__lurker> RM -> JBE
7
+ <JayBeEmmy> I'm here, *RickyMoppet*.
8
+ <__lurker> JBE -> RM
9
+ <RickyMoppet> Your nick is reminiscent of an old, boring, confusing meme, but not a bad meme, though.
10
+ <__lurker> "an old boring confusing meme" -> 2 x 2 x 2 x 1 = 8
11
+ <__lurker> "a bad meme" -> 2 x 1 = 2
12
+ <__lurker> the keywords "but not" and "though" indicate subtraction
13
+ <__lurker> "8 but not 2 though" -> 8 - 2 = 6
14
+ <__lurker> "your {extra words ignored} 6" -> push 6
15
+ <__lurker> JBE -> [ 6 ]
16
+ <RickyMoppet> Tell me what you think of that?
17
+ <__lurker> "tell" -> print
18
+ <__lurker> print "6"
19
+ <__lurker> JBE -> [ ]
20
+ <JayBeEmmy> I think I'm confused.
@@ -0,0 +1,22 @@
1
+ 2 0
2
+ lines times
3
+
4
+ 18
5
+ <SeeSam> Hi all
6
+ <Bub> Hello *SeeSam*.
7
+ <SeeSam> Hey, *Bub*, can you help me with something?
8
+ <__bigbrother> SS -> B
9
+ <Bub> I'd love to, but
10
+ <Bub> your code is always like a tragic mess of lines by a thousand times multiplied
11
+ <__bigbrother> "a tragic mess of lines" -> 2 x 2 x 2 x 1 = 8
12
+ <__bigbrother> "a thousand times" -> 2 x 1 = 2
13
+ <__bigbrother> the keywords "by" and "multiplied" indicate multiplication
14
+ <__bigbrother> "8 by 2 multiplied" -> 8 x 2 = 16
15
+ <__bigbrother> "your {extra words ignored} 16" -> push 16
16
+ <__bigbrother> SS -> [ 16 ]
17
+ <Bub> Sorry, but I had to tell you.
18
+ <__bigbrother> "tell" -> print
19
+ <__bigbrother> print "16"
20
+ <__bigbrother> SS -> [ ]
21
+ <SeeSam> Sigh.
22
+ <SeeSam> I get it.
@@ -0,0 +1,17 @@
1
+ 0 1
2
+
3
+ problem
4
+ 13
5
+ <SeeTheRazor> Hey! Any CG around?
6
+ <[CG]JayPullTongue> I'm here, *SeeTheRazor*
7
+ <__nobody> [CG]JPT -> STR
8
+ <SeeTheRazor> *[CG]JayPullTongue*, your site has a really big problem squared!
9
+ <__nobody> STR -> [CG]JPT
10
+ <__nobody> "a really big problem" -> -4
11
+ <__nobody> "-4 squared" -> 16
12
+ <__nobody> "your ... 16" -> [CG]JPT -> [ 16 ]
13
+ <[CG]JayPullTongue> Sounds serious!
14
+ <SeeTheRazor> Should I tell you about it?
15
+ <__nobody> "tell" -> print "16"
16
+ <__nobody> [GC]JPT -> [ ]
17
+ <[CG]JayPullTongue> Shoot!
@@ -0,0 +1,32 @@
1
+ 1 1
2
+ developer
3
+ baby
4
+ 28
5
+ <aGate> *MoGas*
6
+ <__fanboi> AG -> MG
7
+ <MoGas> I'm here, *aGate*.
8
+ <__fanboi> MG -> AG
9
+ <aGate> You seen my CB?
10
+ <aGate> UR AI fell down like a squealing baby!
11
+ <__fanboi> "a squealing baby" -> -2
12
+ <__fanboi> "ur ... -2" -> MG -> [ -2 ]
13
+ <MoGas> Haven't seen it
14
+ <MoGas> But I believe it
15
+ <MoGas> You're a very highly skilled AI developer.
16
+ <__fanboi> "a very highly skilled AI developer" -> 16
17
+ <__fanboi> "youre 16" -> AG -> [ 16 ]
18
+ <aGate> Yeah, but you're you! And a monster of a developer too!
19
+ <__fanboi> "you" -> Top of MG -> [ -2 ]
20
+ <__fanboi> "a monster of a developer" -> 8
21
+ <__fanboi> "-2 and 8 too" -> -2 + 8 = 6
22
+ <__fanboi> "youre 6" -> MG -> [ -2 6 ]
23
+ <aGate> You're like as good as me squared!
24
+ <__fanboi> "me" -> 16
25
+ <__fanboi> "16 squared" -> 256
26
+ <__fanboi> "youre ... 256" -> MG -> [ -2 6 256 ]
27
+ <aGate> I can't tell you how excited I am.
28
+ <__fanboi> "tell" -> print "256"
29
+ <__fanboi> MG -> [ -2 6 ]
30
+ <aGate> Can't tell you.
31
+ <__fanboi> "tell" -> print "6"
32
+ <__fanboi> MG -> [ -2 ]
@@ -0,0 +1,33 @@
1
+ 0 2
2
+
3
+ complainer jerk
4
+ 29
5
+ <RoyL> *NoMan*
6
+ <__harvey> RL -> NM
7
+ <NoMan> What's up, *RoyL*?
8
+ <__harvey> NM -> RL
9
+ <RoyL> I was just talking with *[CG]VonFlagPole*
10
+ <__harvey> RL -> [CG]VFP
11
+ <RoyL> and he said you're an annoying complainer.
12
+ <__harvey> "an annoying complainer" -> -2
13
+ <__harvey> "youre -2" -> [CG]VFP -> [ -2 ]
14
+ <NoMan> Dude, ur more of a complainer than I am!
15
+ <__harvey> "a complainer" -> -1
16
+ <__harvey> "ur ... -1" -> RL -> [ -1 ]
17
+ <[CG]VonFlagPole> *NoMan*, youre at least as bad as *RoyL*, but not a complete jerk, though.
18
+ <__harvey> [CG]VFP -> NM (immediate)
19
+ <__harvey> ref to nick "RoyL" -> -1 (no context change)
20
+ <__harvey> "a complete jerk" -> -2
21
+ <__harvey> "-1 but not -2 though" -> -1 - -2 = 1
22
+ <__harvey> "youre ... 1" -> NM -> [ 1 ]
23
+ <[CG]VonFlagPole> I'm sorry to have to be the one to tell you.
24
+ <__harvey> "tell" -> print "1"
25
+ <__harvey> NM -> [ ]
26
+ <RoyL> I have no problem telling him.
27
+ <__harvey> "telling" -> print "-2"
28
+ <__harvey> [CG]VFP -> [ ]
29
+ <[CG]VonFlagPole> *RoyL*, you otoh are a complete jerk.
30
+ <__harvey> [CG]VFP -> RL
31
+ <[CG]VonFlagPole> And I have no problem telling you that.
32
+ <__harvey> "telling" -> print "-1"
33
+ <__harvey> RL -> [ ]
@@ -0,0 +1,35 @@
1
+ 1 1
2
+ flashlight
3
+ squeegee
4
+ 31
5
+ <SuperPinkMunk> *Rekkur*, your like a big flaming squeegee!
6
+ <__imnothere> SPM -> R (immediate)
7
+ <__imnothere> "a big flaming squeegee" -> -4
8
+ <__imnothere> "your -4" -> R -> [ -4 ]
9
+ <SuperPinkMunk> you listen to me!
10
+ <__imnothere> "listen" -> duplicate top of R
11
+ <__imnothere> R -> [ -4 -4 ]
12
+ <SuperPinkMunk> your a bright, shining flashlight in the darkness.
13
+ <__imnothere> "a bright, shining flashlight" -> 4
14
+ <__imnothere> "your 4" -> R -> [ -4 -4 4 ]
15
+ <SuperPinkMunk> don't flip out on me.
16
+ <__imnothere> "flip" -> exchange top 2 of R
17
+ <__imnothere> R -> [ -4 4 -4 ]
18
+ <SuperPinkMunk> your a squeegee and a flashlight too.
19
+ <__imnothere> "a squeegee" -> -1
20
+ <__imnothere> "a flashlight" -> 1
21
+ <__imnothere> "-1 and 1 too" -> 0
22
+ <__imnothere> "your 0"
23
+ <__imnothere> R -> [ -4 4 -4 0 ]
24
+ <SuperPinkMunk> don't forget it.
25
+ <__imnothere> "forget" -> pop top of R
26
+ <__imnothere> R -> [ -4 4 -4 ]
27
+ <SuperPinkMunk> I'm telling you.
28
+ <__imnothere> "telling" -> print "-4"
29
+ <__imnothere> R -> [ -4 4 ]
30
+ <SuperPinkMunk> That's what I'll tell you.
31
+ <__imnothere> "tell" -> print "4"
32
+ <__imnothere> R -> [ -4 ]
33
+ <SuperPinkMunk> I'm telling you.
34
+ <__imnothere> "telling" -> print "-4"
35
+ <__imnothere> R -> [ ]
@@ -0,0 +1,21 @@
1
+ 2 1
2
+ squid basket
3
+ partridge
4
+ 17
5
+ <Angst> *PbjIsGood* ur more fun than a blind squid and a stunned partridge squared too!
6
+ <__somebody> A -> PIG (immediate)
7
+ <__somebody> "a blind squid" -> 2
8
+ <__somebody> "a stunned partridge" -> -2
9
+ <__somebody> "-2 squared" -> 4
10
+ <__somebody> "2 and 4 too" -> 6
11
+ <__somebody> "ur ... 6" -> PIG -> [ 6 ]
12
+ <Angst> ur like u and u too but not a hand made basket squared though
13
+ <__somebody> "u" -> 6 (twice)
14
+ <__somebody> "6 and 6 too" -> 12
15
+ <__somebody> "a hand made basket" -> 4
16
+ <__somebody> "4 squared" -> 16
17
+ <__somebody> "12 but not 16 though" -> -4
18
+ <__somebody> "ur ... -4" -> PIG -> [ 6 -4 ]
19
+ <Angst> u hear what I tell u?
20
+ <__somebody> "tell" -> print "-4"
21
+ <__somebody> PIG -> [ 6 ]
@@ -0,0 +1,96 @@
1
+ 5 2
2
+ batman late times filth coder
3
+ dweeb troll
4
+ 92
5
+ <CaptainCocktail_61ac> *FlamingImp_5f5d*
6
+ <pray_or_run> CC -> FI
7
+ <CaptainCocktail_61ac> i am batman.
8
+ <CaptainCocktail_61ac> your a pathetic imitation of batman, and a dweeb too, *FlamingImp_5f5d*.
9
+ <pray_or_run> "a pathetic imitation of batman" -> 8
10
+ <pray_or_run> "a dweeb" -> -1
11
+ <pray_or_run> "8 and -1 too" -> 8 + -1 = 7
12
+ <pray_or_run> FI -> [ 7 ]
13
+ <FlamingImp_5f5d> Hey *TheRustyLady_89e6*!
14
+ <pray_or_run> FI -> TRL
15
+ <FlamingImp_5f5d> You're actually a teeny tiny bit late, but not a lot late though.
16
+ <pray_or_run> "a teeny tiny bit late" -> 8
17
+ <pray_or_run> "a lot late" -> 2
18
+ <pray_or_run> "8 but not 2 though" -> 8 - 2 = 6
19
+ <pray_or_run> TRL -> [ 6 ]
20
+ <TheRustyLady_89e6> Late for what?
21
+ <CaptainCocktail_61ac> *TheRustyLady_89e6* your actually you squared!
22
+ <pray_or_run> CC -> TRL
23
+ <pray_or_run> "you" -> 6 (top of TRL)
24
+ <pray_or_run> "6 squared" -> 6 ^ 2 = 36
25
+ <pray_or_run> TRL -> [ 6 36 ]
26
+ <TheRustyLady_89e6> What does that even mean, *CaptainCocktail_61ac*??
27
+ <pray_or_run> TRL -> CC
28
+ <TheRustyLady_89e6> I thought you're a beginner, just like me and *FlamingImp_5f5d* too?
29
+ <pray_or_run> "a beginner" -> beginner is neither _good_ nor _bad
30
+ <pray_or_run> so it's not a _constant_
31
+ <pray_or_run> "me and FI too" -> 36 + 7 = 43
32
+ <pray_or_run> CC -> [ 43 ]
33
+ <FlamingImp_5f5d> Yeah, *CaptainCocktail_61ac*!
34
+ <pray_or_run> FI -> CC
35
+ <FlamingImp_5f5d> Tell us!
36
+ <pray_or_run> print "43"
37
+ <pray_or_run> CC -> [ ]
38
+ <FlamingImp_5f5d> you're not as nice as me, and an immature troll too!
39
+ <pray_or_run> "me and an immature troll too" -> 7 + -2 = 5
40
+ <pray_or_run> CC -> [ 5 ]
41
+ <TheRustyLady_89e6> YOU'RE *CaptainCocktail_61ac* squared! :-P
42
+ <pray_or_run> "CC squared" -> 5 ^ 2 = 25
43
+ <pray_or_run> CC -> [ 5 25 ]
44
+ <TheRustyLady_89e6> whatever that means...
45
+ <TheRustyLady_89e6> i'm ready to listen
46
+ <pray_or_run> "listen" -> dup
47
+ <pray_or_run> CC -> [ 5 25 25 ]
48
+ <TheRustyLady_89e6> please tell us!
49
+ <pray_or_run> print "25"
50
+ <pray_or_run> CC -> [ 5 25 ]
51
+ <CaptainCocktail_61ac> *FlamingImp_5f5d*, UR JUST LIKE ME
52
+ <pray_or_run> CC -> FI
53
+ <pray_or_run> "UR ME" -> 25
54
+ <pray_or_run> FI -> [ 7 25 ]
55
+ <CaptainCocktail_61ac> except ur me by a hundred thousand million times multiplied.
56
+ <pray_or_run> "me by a hundred thousand million times multiplied" -> 25 x 8 = 200
57
+ <pray_or_run> FI -> [ 7 25 200 ]
58
+ <TheRustyLady_89e6> Ha!
59
+ <TheRustyLady_89e6> *FlamingImp_5f5d*, listen to that!
60
+ <pray_or_run> FI -> [ 7 25 200 200 ]
61
+ <TheRustyLady_89e6> Boy did he tell you, *FlamingImp_5f5d*!
62
+ <pray_or_run> print "200"
63
+ <pray_or_run> FI -> [ 7 25 200 ]
64
+ <CaptainCocktail_61ac> *TheRustyLady_89e6* YOU listen to ME!
65
+ <pray_or_run> CC -> TRL
66
+ <pray_or_run> TRL -> [ 6 36 36 ]
67
+ <CaptainCocktail_61ac> Your code is like a steaming, stinking, putrid, pile of filth!
68
+ <pray_or_run> "a steaming stinking putrid pile of filth" -> 32
69
+ <pray_or_run> TRL -> [ 6 36 36 32 ]
70
+ <CaptainCocktail_61ac> *FlamingImp_5f5d* ur code is just like *TheRustyLady_89e6*
71
+ <pray_or_run> "ur TRL" -> 32
72
+ <pray_or_run> FI -> [ 7 25 200 32 ]
73
+ <CaptainCocktail_61ac> u listen
74
+ <pray_or_run> FI -> [ 7 25 200 32 32 ]
75
+ <CaptainCocktail_61ac> Boy did I tell you!
76
+ <pray_or_run> print "32"
77
+ <pray_or_run> FI -> [ 7 25 200 32 ]
78
+ <CaptainCocktail_61ac> *TheRustyLady_89e6* dont you forget it
79
+ <pray_or_run> CC -> TRL
80
+ <CaptainCocktail_61ac> your you by a truckloadof filth multiplied, and a spoonfulof filth too
81
+ <pray_or_run> "you by a truckloadof filth multiplied" -> 36 x 2 = 72
82
+ <pray_or_run> "72 and a spoonfulof filth too" -> 72 + 2 = 74
83
+ <pray_or_run> TRL -> [ 6 36 36 74 ]
84
+ <CaptainCocktail_61ac> tell me what you think of that!
85
+ <pray_or_run> print "74"
86
+ <pray_or_run> TRL -> [ 6 36 36 ]
87
+ <CaptainCocktail_61ac> *TheRustyLady_89e6*, ur as bad as *FlamingImp_5f5d*
88
+ <pray_or_run> TRL -> [ 6 36 36 32 ]
89
+ <FlamingImp_5f5d> Ignore that troll, *TheRustyLady_89e6*.
90
+ <pray_or_run> FI -> TRL
91
+ <FlamingImp_5f5d> you're perfectly you and a very well respected good coder too.
92
+ <pray_or_run> "you and a very well respected good coder too" -> 32 + 16 = 48
93
+ <pray_or_run> TRL -> [ 6 36 36 32 48 ]
94
+ <FlamingImp_5f5d> That's what i will tell you.
95
+ <pray_or_run> print "48"
96
+ <pray_or_run> TRL -> [ 6 36 36 32 ]
@@ -0,0 +1 @@
1
+ 4325200327448
@@ -0,0 +1,19 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ string t;
11
+ getline(cin, t);
12
+ string u;
13
+ getline(cin, u);
14
+
15
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
16
+ // To debug: cerr << "Debug messages..." << endl;
17
+
18
+ cout << "LINEAR" << endl;
19
+ }
@@ -0,0 +1,17 @@
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
+ String T = in.nextLine();
10
+ String U = in.nextLine();
11
+
12
+ // Write an answer using System.out.println()
13
+ // To debug: System.err.println("Debug messages...");
14
+
15
+ System.out.println("LINEAR");
16
+ }
17
+ }