@cyrilverloop/codingame-configuration 1.23.0 → 1.25.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 (306) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/config/easy/LaughterIsContagious/code/CGCode.cpp +17 -0
  3. package/config/easy/LaughterIsContagious/code/CGCode.java +16 -0
  4. package/config/easy/LaughterIsContagious/code/CGCode.js +6 -0
  5. package/config/easy/LaughterIsContagious/code/CGCode.php +7 -0
  6. package/config/easy/LaughterIsContagious/code/CGCode.ts +6 -0
  7. package/config/easy/LaughterIsContagious/config.json +68 -0
  8. package/config/easy/LaughterIsContagious/input/01 - Everybody laughing.txt +1 -0
  9. package/config/easy/LaughterIsContagious/input/02 - Too far.txt +1 -0
  10. package/config/easy/LaughterIsContagious/input/03 - Example.txt +1 -0
  11. package/config/easy/LaughterIsContagious/input/04 - Very funny.txt +1 -0
  12. package/config/easy/LaughterIsContagious/input/05 - Not funny.txt +1 -0
  13. package/config/easy/LaughterIsContagious/input/06 - Lonely.txt +1 -0
  14. package/config/easy/LaughterIsContagious/input/07 - Solidarity.txt +1 -0
  15. package/config/easy/LaughterIsContagious/input/08 - Big show.txt +1 -0
  16. package/config/easy/LaughterIsContagious/input/09 - Very big show.txt +1 -0
  17. package/config/easy/LaughterIsContagious/input/10 - One Man Show.txt +1 -0
  18. package/config/easy/LaughterIsContagious/input/11 - Duo.txt +1 -0
  19. package/config/easy/LaughterIsContagious/input/12 - Trio.txt +1 -0
  20. package/config/easy/LaughterIsContagious/output/01 - Everybody laughing.txt +1 -0
  21. package/config/easy/LaughterIsContagious/output/02 - Too far.txt +1 -0
  22. package/config/easy/LaughterIsContagious/output/03 - Example.txt +1 -0
  23. package/config/easy/LaughterIsContagious/output/04 - Very funny.txt +1 -0
  24. package/config/easy/LaughterIsContagious/output/05 - Not funny.txt +1 -0
  25. package/config/easy/LaughterIsContagious/output/06 - Lonely.txt +1 -0
  26. package/config/easy/LaughterIsContagious/output/07 - Solidarity.txt +1 -0
  27. package/config/easy/LaughterIsContagious/output/08 - Big show.txt +1 -0
  28. package/config/easy/LaughterIsContagious/output/09 - Very big show.txt +1 -0
  29. package/config/easy/LaughterIsContagious/output/10 - One Man Show.txt +1 -0
  30. package/config/easy/LaughterIsContagious/output/11 - Duo.txt +1 -0
  31. package/config/easy/LaughterIsContagious/output/12 - Trio.txt +1 -0
  32. package/config/easy/MiniCPUInstructionDecoder/code/CGCode.cpp +19 -0
  33. package/config/easy/MiniCPUInstructionDecoder/code/CGCode.java +18 -0
  34. package/config/easy/MiniCPUInstructionDecoder/code/CGCode.js +8 -0
  35. package/config/easy/MiniCPUInstructionDecoder/code/CGCode.php +9 -0
  36. package/config/easy/MiniCPUInstructionDecoder/code/CGCode.ts +8 -0
  37. package/config/easy/MiniCPUInstructionDecoder/config.json +63 -0
  38. package/config/easy/MiniCPUInstructionDecoder/input/01 - Boot Sequence.txt +1 -0
  39. package/config/easy/MiniCPUInstructionDecoder/input/02 - Multiply Core.txt +1 -0
  40. package/config/easy/MiniCPUInstructionDecoder/input/03 - INC and DEC.txt +1 -0
  41. package/config/easy/MiniCPUInstructionDecoder/input/04 - INC Overflow.txt +1 -0
  42. package/config/easy/MiniCPUInstructionDecoder/input/05 - DEC Underflow.txt +1 -0
  43. package/config/easy/MiniCPUInstructionDecoder/input/06 - ADD Overflow.txt +1 -0
  44. package/config/easy/MiniCPUInstructionDecoder/input/07 - SUB Underflow.txt +1 -0
  45. package/config/easy/MiniCPUInstructionDecoder/input/08 - MUL Overflow.txt +1 -0
  46. package/config/easy/MiniCPUInstructionDecoder/input/09 - Mixed Operations.txt +1 -0
  47. package/config/easy/MiniCPUInstructionDecoder/input/10 - Immediate Halt.txt +1 -0
  48. package/config/easy/MiniCPUInstructionDecoder/input/11 - MOV Overwrite.txt +1 -0
  49. package/config/easy/MiniCPUInstructionDecoder/output/01 - Boot Sequence.txt +4 -0
  50. package/config/easy/MiniCPUInstructionDecoder/output/02 - Multiply Core.txt +4 -0
  51. package/config/easy/MiniCPUInstructionDecoder/output/03 - INC and DEC.txt +4 -0
  52. package/config/easy/MiniCPUInstructionDecoder/output/04 - INC Overflow.txt +4 -0
  53. package/config/easy/MiniCPUInstructionDecoder/output/05 - DEC Underflow.txt +4 -0
  54. package/config/easy/MiniCPUInstructionDecoder/output/06 - ADD Overflow.txt +4 -0
  55. package/config/easy/MiniCPUInstructionDecoder/output/07 - SUB Underflow.txt +4 -0
  56. package/config/easy/MiniCPUInstructionDecoder/output/08 - MUL Overflow.txt +4 -0
  57. package/config/easy/MiniCPUInstructionDecoder/output/09 - Mixed Operations.txt +4 -0
  58. package/config/easy/MiniCPUInstructionDecoder/output/10 - Immediate Halt.txt +4 -0
  59. package/config/easy/MiniCPUInstructionDecoder/output/11 - MOV Overwrite.txt +4 -0
  60. package/config/easy/RequestValidator/code/CGCode.cpp +19 -0
  61. package/config/easy/RequestValidator/code/CGCode.java +17 -0
  62. package/config/easy/RequestValidator/code/CGCode.js +7 -0
  63. package/config/easy/RequestValidator/code/CGCode.php +8 -0
  64. package/config/easy/RequestValidator/code/CGCode.ts +7 -0
  65. package/config/easy/RequestValidator/config.json +83 -0
  66. package/config/easy/RequestValidator/input/01 - Order Up!.txt +2 -0
  67. package/config/easy/RequestValidator/input/02 - Corrupted.txt +2 -0
  68. package/config/easy/RequestValidator/input/03 - One Cup.txt +2 -0
  69. package/config/easy/RequestValidator/input/04 - Checksum Error.txt +2 -0
  70. package/config/easy/RequestValidator/input/05 - Department Fix.txt +2 -0
  71. package/config/easy/RequestValidator/input/06 - Mismatched Order.txt +2 -0
  72. package/config/easy/RequestValidator/input/07 - Misplaced Order.txt +2 -0
  73. package/config/easy/RequestValidator/input/08 - Order Zero.txt +2 -0
  74. package/config/easy/RequestValidator/input/09 - Standardised Order.txt +2 -0
  75. package/config/easy/RequestValidator/input/10 - Decaffeinated Coffee.txt +2 -0
  76. package/config/easy/RequestValidator/input/11 - Invalid Header.txt +2 -0
  77. package/config/easy/RequestValidator/input/12 - Infinite Stock.txt +2 -0
  78. package/config/easy/RequestValidator/input/13 - Padded Frame.txt +2 -0
  79. package/config/easy/RequestValidator/input/14 - 0xC0FFEE.txt +2 -0
  80. package/config/easy/RequestValidator/input/15 - Missing Checksum.txt +2 -0
  81. package/config/easy/RequestValidator/output/01 - Order Up!.txt +6 -0
  82. package/config/easy/RequestValidator/output/02 - Corrupted.txt +1 -0
  83. package/config/easy/RequestValidator/output/03 - One Cup.txt +1 -0
  84. package/config/easy/RequestValidator/output/04 - Checksum Error.txt +1 -0
  85. package/config/easy/RequestValidator/output/05 - Department Fix.txt +16 -0
  86. package/config/easy/RequestValidator/output/06 - Mismatched Order.txt +1 -0
  87. package/config/easy/RequestValidator/output/07 - Misplaced Order.txt +1 -0
  88. package/config/easy/RequestValidator/output/08 - Order Zero.txt +7 -0
  89. package/config/easy/RequestValidator/output/09 - Standardised Order.txt +1 -0
  90. package/config/easy/RequestValidator/output/10 - Decaffeinated Coffee.txt +1 -0
  91. package/config/easy/RequestValidator/output/11 - Invalid Header.txt +1 -0
  92. package/config/easy/RequestValidator/output/12 - Infinite Stock.txt +16 -0
  93. package/config/easy/RequestValidator/output/13 - Padded Frame.txt +1 -0
  94. package/config/easy/RequestValidator/output/14 - 0xC0FFEE.txt +4 -0
  95. package/config/easy/RequestValidator/output/15 - Missing Checksum.txt +1 -0
  96. package/config/easy/Snap/code/CGCode.cpp +28 -0
  97. package/config/easy/Snap/code/CGCode.java +24 -0
  98. package/config/easy/Snap/code/CGCode.js +14 -0
  99. package/config/easy/Snap/code/CGCode.php +17 -0
  100. package/config/easy/Snap/code/CGCode.ts +14 -0
  101. package/config/easy/Snap/config.json +93 -0
  102. package/config/easy/Snap/input/01 - Player 1 Win.txt +10 -0
  103. package/config/easy/Snap/input/02 - Player 2 Win.txt +12 -0
  104. package/config/easy/Snap/input/03 - Snapless.txt +22 -0
  105. package/config/easy/Snap/input/04 - Clutch Save.txt +30 -0
  106. package/config/easy/Snap/input/05 - Almost Clutch Save.txt +54 -0
  107. package/config/easy/Snap/input/06 - Quick Game.txt +4 -0
  108. package/config/easy/Snap/input/07 - Very Quick Game.txt +3 -0
  109. package/config/easy/Snap/input/08 - Lucky Shuffle.txt +22 -0
  110. package/config/easy/Snap/input/09 - Unfair Shuffle 1.txt +24 -0
  111. package/config/easy/Snap/input/10 - Unfair Shuffle 2.txt +25 -0
  112. package/config/easy/Snap/input/11 - Unfair Shuffle 3.txt +54 -0
  113. package/config/easy/Snap/input/12 - Standard Deck 1.txt +54 -0
  114. package/config/easy/Snap/input/13 - Standard Deck 2.txt +54 -0
  115. package/config/easy/Snap/input/14 - Standard Deck 3.txt +54 -0
  116. package/config/easy/Snap/input/15 - Standard Deck 4.txt +54 -0
  117. package/config/easy/Snap/input/16 - Standard Deck 5.txt +54 -0
  118. package/config/easy/Snap/input/17 - Standard Deck 6.txt +54 -0
  119. package/config/easy/Snap/output/01 - Player 1 Win.txt +2 -0
  120. package/config/easy/Snap/output/02 - Player 2 Win.txt +2 -0
  121. package/config/easy/Snap/output/03 - Snapless.txt +2 -0
  122. package/config/easy/Snap/output/04 - Clutch Save.txt +2 -0
  123. package/config/easy/Snap/output/05 - Almost Clutch Save.txt +2 -0
  124. package/config/easy/Snap/output/06 - Quick Game.txt +2 -0
  125. package/config/easy/Snap/output/07 - Very Quick Game.txt +2 -0
  126. package/config/easy/Snap/output/08 - Lucky Shuffle.txt +2 -0
  127. package/config/easy/Snap/output/09 - Unfair Shuffle 1.txt +2 -0
  128. package/config/easy/Snap/output/10 - Unfair Shuffle 2.txt +2 -0
  129. package/config/easy/Snap/output/11 - Unfair Shuffle 3.txt +2 -0
  130. package/config/easy/Snap/output/12 - Standard Deck 1.txt +2 -0
  131. package/config/easy/Snap/output/13 - Standard Deck 2.txt +2 -0
  132. package/config/easy/Snap/output/14 - Standard Deck 3.txt +2 -0
  133. package/config/easy/Snap/output/15 - Standard Deck 4.txt +2 -0
  134. package/config/easy/Snap/output/16 - Standard Deck 5.txt +2 -0
  135. package/config/easy/Snap/output/17 - Standard Deck 6.txt +2 -0
  136. package/config/easy/SolarShadowHunter/code/CGCode.cpp +24 -0
  137. package/config/easy/SolarShadowHunter/code/CGCode.java +24 -0
  138. package/config/easy/SolarShadowHunter/code/CGCode.js +12 -0
  139. package/config/easy/SolarShadowHunter/code/CGCode.php +12 -0
  140. package/config/easy/SolarShadowHunter/code/CGCode.ts +12 -0
  141. package/config/easy/SolarShadowHunter/config.json +43 -0
  142. package/config/easy/SolarShadowHunter/input/01 - test 1.txt +7 -0
  143. package/config/easy/SolarShadowHunter/input/02 - test 2.txt +6 -0
  144. package/config/easy/SolarShadowHunter/input/03 - test 3.txt +8 -0
  145. package/config/easy/SolarShadowHunter/input/04 - test 4.txt +6 -0
  146. package/config/easy/SolarShadowHunter/input/05 - test 5.txt +7 -0
  147. package/config/easy/SolarShadowHunter/input/06 - test 6.txt +22 -0
  148. package/config/easy/SolarShadowHunter/input/07 - test 7.txt +32 -0
  149. package/config/easy/SolarShadowHunter/output/01 - test 1.txt +1 -0
  150. package/config/easy/SolarShadowHunter/output/02 - test 2.txt +1 -0
  151. package/config/easy/SolarShadowHunter/output/03 - test 3.txt +1 -0
  152. package/config/easy/SolarShadowHunter/output/04 - test 4.txt +1 -0
  153. package/config/easy/SolarShadowHunter/output/05 - test 5.txt +1 -0
  154. package/config/easy/SolarShadowHunter/output/06 - test 6.txt +1 -0
  155. package/config/easy/SolarShadowHunter/output/07 - test 7.txt +1 -0
  156. package/config/easy/TheDescentPart2/code/CGCode.cpp +29 -0
  157. package/config/easy/TheDescentPart2/code/CGCode.java +25 -0
  158. package/config/easy/TheDescentPart2/code/CGCode.js +18 -0
  159. package/config/easy/TheDescentPart2/code/CGCode.php +17 -0
  160. package/config/easy/TheDescentPart2/code/CGCode.ts +18 -0
  161. package/config/easy/TheDescentPart2/config.json +58 -0
  162. package/config/easy/TheDescentPart2/input/01 - test 1.txt +7 -0
  163. package/config/easy/TheDescentPart2/input/02 - test 2.txt +10 -0
  164. package/config/easy/TheDescentPart2/input/03 - test 3.txt +14 -0
  165. package/config/easy/TheDescentPart2/input/04 - test 4.txt +9 -0
  166. package/config/easy/TheDescentPart2/input/05 - test 5.txt +15 -0
  167. package/config/easy/TheDescentPart2/input/06 - test 6.txt +10 -0
  168. package/config/easy/TheDescentPart2/input/07 - test 7.txt +13 -0
  169. package/config/easy/TheDescentPart2/input/08 - test 8.txt +10 -0
  170. package/config/easy/TheDescentPart2/input/09 - test 9.txt +18 -0
  171. package/config/easy/TheDescentPart2/input/10 - test 10.txt +18 -0
  172. package/config/easy/TheDescentPart2/output/01 - test 1.txt +1 -0
  173. package/config/easy/TheDescentPart2/output/02 - test 2.txt +1 -0
  174. package/config/easy/TheDescentPart2/output/03 - test 3.txt +1 -0
  175. package/config/easy/TheDescentPart2/output/04 - test 4.txt +1 -0
  176. package/config/easy/TheDescentPart2/output/05 - test 5.txt +1 -0
  177. package/config/easy/TheDescentPart2/output/06 - test 6.txt +1 -0
  178. package/config/easy/TheDescentPart2/output/07 - test 7.txt +1 -0
  179. package/config/easy/TheDescentPart2/output/08 - test 8.txt +1 -0
  180. package/config/easy/TheDescentPart2/output/09 - test 9.txt +1 -0
  181. package/config/easy/TheDescentPart2/output/10 - test 10.txt +1 -0
  182. package/config/easy/WhatADessert/code/CGCode.cpp +20 -0
  183. package/config/easy/WhatADessert/code/CGCode.java +19 -0
  184. package/config/easy/WhatADessert/code/CGCode.js +10 -0
  185. package/config/easy/WhatADessert/code/CGCode.php +7 -0
  186. package/config/easy/WhatADessert/code/CGCode.ts +10 -0
  187. package/config/easy/WhatADessert/config.json +33 -0
  188. package/config/easy/WhatADessert/input/01 - test 1.txt +1 -0
  189. package/config/easy/WhatADessert/input/02 - test 2.txt +1 -0
  190. package/config/easy/WhatADessert/input/03 - test 3.txt +1 -0
  191. package/config/easy/WhatADessert/input/04 - test 4.txt +1 -0
  192. package/config/easy/WhatADessert/input/05 - test 5.txt +1 -0
  193. package/config/easy/WhatADessert/output/01 - test 1.txt +1 -0
  194. package/config/easy/WhatADessert/output/02 - test 2.txt +1 -0
  195. package/config/easy/WhatADessert/output/03 - test 3.txt +1 -0
  196. package/config/easy/WhatADessert/output/04 - test 4.txt +1 -0
  197. package/config/easy/WhatADessert/output/05 - test 5.txt +1 -0
  198. package/config/easy/WhereWasThisKnightBefore/code/CGCode.cpp +25 -0
  199. package/config/easy/WhereWasThisKnightBefore/code/CGCode.java +22 -0
  200. package/config/easy/WhereWasThisKnightBefore/code/CGCode.js +12 -0
  201. package/config/easy/WhereWasThisKnightBefore/code/CGCode.php +15 -0
  202. package/config/easy/WhereWasThisKnightBefore/code/CGCode.ts +12 -0
  203. package/config/easy/WhereWasThisKnightBefore/config.json +38 -0
  204. package/config/easy/WhereWasThisKnightBefore/input/01 - Easy start.txt +17 -0
  205. package/config/easy/WhereWasThisKnightBefore/input/02 - Some action.txt +17 -0
  206. package/config/easy/WhereWasThisKnightBefore/input/03 - Some noise on the board.txt +17 -0
  207. package/config/easy/WhereWasThisKnightBefore/input/04 - Check mate.txt +17 -0
  208. package/config/easy/WhereWasThisKnightBefore/input/05 - Crazy case.txt +17 -0
  209. package/config/easy/WhereWasThisKnightBefore/input/06 - Lots of noise.txt +17 -0
  210. package/config/easy/WhereWasThisKnightBefore/output/01 - Easy start.txt +2 -0
  211. package/config/easy/WhereWasThisKnightBefore/output/02 - Some action.txt +2 -0
  212. package/config/easy/WhereWasThisKnightBefore/output/03 - Some noise on the board.txt +2 -0
  213. package/config/easy/WhereWasThisKnightBefore/output/04 - Check mate.txt +2 -0
  214. package/config/easy/WhereWasThisKnightBefore/output/05 - Crazy case.txt +2 -0
  215. package/config/easy/WhereWasThisKnightBefore/output/06 - Lots of noise.txt +2 -0
  216. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.cpp +28 -0
  217. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.java +24 -0
  218. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.js +15 -0
  219. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.php +16 -0
  220. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.ts +15 -0
  221. package/config/medium/ManaQuestHuntForThePerfectSeven/config.json +68 -0
  222. package/config/medium/ManaQuestHuntForThePerfectSeven/input/01 - Do I have a land.txt +5 -0
  223. package/config/medium/ManaQuestHuntForThePerfectSeven/input/02 - Any card will do.txt +6 -0
  224. package/config/medium/ManaQuestHuntForThePerfectSeven/input/03 - 100%.txt +4 -0
  225. package/config/medium/ManaQuestHuntForThePerfectSeven/input/04 - 0%.txt +4 -0
  226. package/config/medium/ManaQuestHuntForThePerfectSeven/input/05 - 1 Pattern.txt +6 -0
  227. package/config/medium/ManaQuestHuntForThePerfectSeven/input/06 - Overlap.txt +7 -0
  228. package/config/medium/ManaQuestHuntForThePerfectSeven/input/07 - 3 Patterns.txt +13 -0
  229. package/config/medium/ManaQuestHuntForThePerfectSeven/input/08 - 5 Patterns.txt +13 -0
  230. package/config/medium/ManaQuestHuntForThePerfectSeven/input/09 - 6 Patterns.txt +14 -0
  231. package/config/medium/ManaQuestHuntForThePerfectSeven/input/10 - 7 Patterns.txt +16 -0
  232. package/config/medium/ManaQuestHuntForThePerfectSeven/input/11 - 8 Patterns.txt +18 -0
  233. package/config/medium/ManaQuestHuntForThePerfectSeven/input/12 - 8 Patterns Impossible.txt +18 -0
  234. package/config/medium/ManaQuestHuntForThePerfectSeven/output/01 - Do I have a land.txt +1 -0
  235. package/config/medium/ManaQuestHuntForThePerfectSeven/output/02 - Any card will do.txt +1 -0
  236. package/config/medium/ManaQuestHuntForThePerfectSeven/output/03 - 100%.txt +1 -0
  237. package/config/medium/ManaQuestHuntForThePerfectSeven/output/04 - 0%.txt +1 -0
  238. package/config/medium/ManaQuestHuntForThePerfectSeven/output/05 - 1 Pattern.txt +1 -0
  239. package/config/medium/ManaQuestHuntForThePerfectSeven/output/06 - Overlap.txt +1 -0
  240. package/config/medium/ManaQuestHuntForThePerfectSeven/output/07 - 3 Patterns.txt +1 -0
  241. package/config/medium/ManaQuestHuntForThePerfectSeven/output/08 - 5 Patterns.txt +1 -0
  242. package/config/medium/ManaQuestHuntForThePerfectSeven/output/09 - 6 Patterns.txt +1 -0
  243. package/config/medium/ManaQuestHuntForThePerfectSeven/output/10 - 7 Patterns.txt +1 -0
  244. package/config/medium/ManaQuestHuntForThePerfectSeven/output/11 - 8 Patterns.txt +1 -0
  245. package/config/medium/ManaQuestHuntForThePerfectSeven/output/12 - 8 Patterns Impossible.txt +1 -0
  246. package/config/medium/PolygonEquilibrium/code/CGCode.cpp +23 -0
  247. package/config/medium/PolygonEquilibrium/code/CGCode.java +21 -0
  248. package/config/medium/PolygonEquilibrium/code/CGCode.js +12 -0
  249. package/config/medium/PolygonEquilibrium/code/CGCode.php +12 -0
  250. package/config/medium/PolygonEquilibrium/code/CGCode.ts +12 -0
  251. package/config/medium/PolygonEquilibrium/config.json +73 -0
  252. package/config/medium/PolygonEquilibrium/input/01 - Simple triangle.txt +4 -0
  253. package/config/medium/PolygonEquilibrium/input/02 - Tipping triangle.txt +4 -0
  254. package/config/medium/PolygonEquilibrium/input/03 - Trapezoid.txt +5 -0
  255. package/config/medium/PolygonEquilibrium/input/04 - Regular Octogon.txt +9 -0
  256. package/config/medium/PolygonEquilibrium/input/05 - An L-shape.txt +7 -0
  257. package/config/medium/PolygonEquilibrium/input/06 - A T-shape.txt +9 -0
  258. package/config/medium/PolygonEquilibrium/input/07 - test 7.txt +12 -0
  259. package/config/medium/PolygonEquilibrium/input/08 - test 8.txt +18 -0
  260. package/config/medium/PolygonEquilibrium/input/09 - Centroid outside of polygon.txt +19 -0
  261. package/config/medium/PolygonEquilibrium/input/10 - Multiple vertices supporting segment.txt +7 -0
  262. package/config/medium/PolygonEquilibrium/input/11 - Weird shape.txt +12 -0
  263. package/config/medium/PolygonEquilibrium/input/12 - Barely balanced.txt +5 -0
  264. package/config/medium/PolygonEquilibrium/input/13 - CG.txt +43 -0
  265. package/config/medium/PolygonEquilibrium/output/01 - Simple triangle.txt +2 -0
  266. package/config/medium/PolygonEquilibrium/output/02 - Tipping triangle.txt +2 -0
  267. package/config/medium/PolygonEquilibrium/output/03 - Trapezoid.txt +2 -0
  268. package/config/medium/PolygonEquilibrium/output/04 - Regular Octogon.txt +2 -0
  269. package/config/medium/PolygonEquilibrium/output/05 - An L-shape.txt +2 -0
  270. package/config/medium/PolygonEquilibrium/output/06 - A T-shape.txt +2 -0
  271. package/config/medium/PolygonEquilibrium/output/07 - test 7.txt +2 -0
  272. package/config/medium/PolygonEquilibrium/output/08 - test 8.txt +2 -0
  273. package/config/medium/PolygonEquilibrium/output/09 - Centroid outside of polygon.txt +2 -0
  274. package/config/medium/PolygonEquilibrium/output/10 - Multiple vertices supporting segment.txt +2 -0
  275. package/config/medium/PolygonEquilibrium/output/11 - Weird shape.txt +2 -0
  276. package/config/medium/PolygonEquilibrium/output/12 - Barely balanced.txt +2 -0
  277. package/config/medium/PolygonEquilibrium/output/13 - CG.txt +2 -0
  278. package/config/medium/TrigonometrySimplification/code/CGCode.cpp +19 -0
  279. package/config/medium/TrigonometrySimplification/code/CGCode.java +18 -0
  280. package/config/medium/TrigonometrySimplification/code/CGCode.js +9 -0
  281. package/config/medium/TrigonometrySimplification/code/CGCode.php +7 -0
  282. package/config/medium/TrigonometrySimplification/code/CGCode.ts +9 -0
  283. package/config/medium/TrigonometrySimplification/config.json +63 -0
  284. package/config/medium/TrigonometrySimplification/input/01 - test 1.txt +1 -0
  285. package/config/medium/TrigonometrySimplification/input/02 - test 2.txt +1 -0
  286. package/config/medium/TrigonometrySimplification/input/03 - test 3.txt +1 -0
  287. package/config/medium/TrigonometrySimplification/input/04 - test 4.txt +1 -0
  288. package/config/medium/TrigonometrySimplification/input/05 - test 5.txt +1 -0
  289. package/config/medium/TrigonometrySimplification/input/06 - test 6.txt +1 -0
  290. package/config/medium/TrigonometrySimplification/input/07 - test 7.txt +1 -0
  291. package/config/medium/TrigonometrySimplification/input/08 - test 8.txt +1 -0
  292. package/config/medium/TrigonometrySimplification/input/09 - test 9.txt +1 -0
  293. package/config/medium/TrigonometrySimplification/input/10 - test 10.txt +1 -0
  294. package/config/medium/TrigonometrySimplification/input/11 - test 11.txt +1 -0
  295. package/config/medium/TrigonometrySimplification/output/01 - test 1.txt +1 -0
  296. package/config/medium/TrigonometrySimplification/output/02 - test 2.txt +1 -0
  297. package/config/medium/TrigonometrySimplification/output/03 - test 3.txt +1 -0
  298. package/config/medium/TrigonometrySimplification/output/04 - test 4.txt +1 -0
  299. package/config/medium/TrigonometrySimplification/output/05 - test 5.txt +1 -0
  300. package/config/medium/TrigonometrySimplification/output/06 - test 6.txt +1 -0
  301. package/config/medium/TrigonometrySimplification/output/07 - test 7.txt +1 -0
  302. package/config/medium/TrigonometrySimplification/output/08 - test 8.txt +1 -0
  303. package/config/medium/TrigonometrySimplification/output/09 - test 9.txt +1 -0
  304. package/config/medium/TrigonometrySimplification/output/10 - test 10.txt +1 -0
  305. package/config/medium/TrigonometrySimplification/output/11 - test 11.txt +1 -0
  306. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ 26
2
+ 10D
3
+ QH
4
+ JD
5
+ 6C
6
+ QD
7
+ 4S
8
+ KC
9
+ 10S
10
+ JC
11
+ QC
12
+ 8C
13
+ 5H
14
+ 4H
15
+ 4D
16
+ 6H
17
+ 10H
18
+ 9H
19
+ AD
20
+ 5D
21
+ 10C
22
+ 9S
23
+ AH
24
+ 2H
25
+ KH
26
+ 9D
27
+ 5S
28
+ 26
29
+ 7S
30
+ 5C
31
+ 2C
32
+ KD
33
+ 2S
34
+ 6D
35
+ 6S
36
+ 3S
37
+ AS
38
+ 3C
39
+ 8D
40
+ 3H
41
+ 7D
42
+ 2D
43
+ JH
44
+ 4C
45
+ JS
46
+ 7C
47
+ AC
48
+ 7H
49
+ 3D
50
+ QS
51
+ 8H
52
+ 9C
53
+ KS
54
+ 8S
@@ -0,0 +1,54 @@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 Winner: Player 2
2
+ 23
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 50
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 24
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 38
@@ -0,0 +1,2 @@
1
+ Winner: Player 2
2
+ 32
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 2
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 15
@@ -0,0 +1,2 @@
1
+ Winner: Player 1
2
+ 24
@@ -0,0 +1,24 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int w;
11
+ int h;
12
+ cin >> w >> h; cin.ignore();
13
+ int k;
14
+ cin >> k; cin.ignore();
15
+ for (int i = 0; i < h; i++) {
16
+ string row;
17
+ getline(cin, row);
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "result" << endl;
24
+ }
@@ -0,0 +1,24 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int W = in.nextInt();
10
+ int H = in.nextInt();
11
+ int K = in.nextInt();
12
+ if (in.hasNextLine()) {
13
+ in.nextLine();
14
+ }
15
+ for (int i = 0; i < H; i++) {
16
+ String row = in.nextLine();
17
+ }
18
+
19
+ // Write an answer using System.out.println()
20
+ // To debug: System.err.println("Debug messages...");
21
+
22
+ System.out.println("result");
23
+ }
24
+ }
@@ -0,0 +1,12 @@
1
+ var inputs = readline().split(' ');
2
+ const W = parseInt(inputs[0]);
3
+ const H = parseInt(inputs[1]);
4
+ const K = parseInt(readline());
5
+ for (let i = 0; i < H; i++) {
6
+ const row = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('result');
@@ -0,0 +1,12 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $W, $H);
3
+ fscanf(STDIN, "%d", $K);
4
+ for ($i = 0; $i < $H; $i++)
5
+ {
6
+ $row = stream_get_line(STDIN, $W + 1, "\n");
7
+ }
8
+
9
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
10
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
11
+
12
+ echo("result\n");
@@ -0,0 +1,12 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const W: number = parseInt(inputs[0]);
3
+ const H: number = parseInt(inputs[1]);
4
+ const K: number = parseInt(readline());
5
+ for (let i = 0; i < H; i++) {
6
+ const row: string = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('result');
@@ -0,0 +1,43 @@
1
+ {
2
+ "path": "easy/SolarShadowHunter",
3
+ "name": "Solar Shadow Hunter",
4
+ "alphanumName": "SolarShadowHunter",
5
+ "link": "https://www.codingame.com/ide/puzzle/solar-shadow-hunter",
6
+ "tests": [
7
+ {
8
+ "name": "Test 1",
9
+ "alphanumName": "test1",
10
+ "file": "01 - test 1.txt"
11
+ },
12
+ {
13
+ "name": "Test 2",
14
+ "alphanumName": "test2",
15
+ "file": "02 - test 2.txt"
16
+ },
17
+ {
18
+ "name": "Test 3",
19
+ "alphanumName": "test3",
20
+ "file": "03 - test 3.txt"
21
+ },
22
+ {
23
+ "name": "Test 4",
24
+ "alphanumName": "test4",
25
+ "file": "04 - test 4.txt"
26
+ },
27
+ {
28
+ "name": "Test 5",
29
+ "alphanumName": "test5",
30
+ "file": "05 - test 5.txt"
31
+ },
32
+ {
33
+ "name": "Test 6",
34
+ "alphanumName": "test6",
35
+ "file": "06 - test 6.txt"
36
+ },
37
+ {
38
+ "name": "Test 7",
39
+ "alphanumName": "test7",
40
+ "file": "07 - test 7.txt"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,7 @@
1
+ 3 5
2
+ 2
3
+ .P.
4
+ .P.
5
+ .P.
6
+ .1.
7
+ ...
@@ -0,0 +1,6 @@
1
+ 4 4
2
+ 1
3
+ .PPP
4
+ ....
5
+ ....
6
+ 1.11
@@ -0,0 +1,8 @@
1
+ 1 6
2
+ 3
3
+ P
4
+ P
5
+ P
6
+ .
7
+ .
8
+ 2
@@ -0,0 +1,6 @@
1
+ 10 4
2
+ 2
3
+ PPPPPPPPPP
4
+ ..........
5
+ ..........
6
+ 123456789.
@@ -0,0 +1,7 @@
1
+ 5 5
2
+ 2
3
+ PPPPP
4
+ .....
5
+ .....
6
+ .1.2.
7
+ .....
@@ -0,0 +1,22 @@
1
+ 20 20
2
+ 1
3
+ PPPPPPPPPPPPPPPPPPPP
4
+ ....................
5
+ ....................
6
+ ....................
7
+ ....................
8
+ ....................
9
+ ....................
10
+ ....................
11
+ ....................
12
+ ....................
13
+ ....................
14
+ ....................
15
+ ....................
16
+ ....................
17
+ ....................
18
+ ....................
19
+ ....................
20
+ ....................
21
+ ....................
22
+ PPP99999999999999999
@@ -0,0 +1,32 @@
1
+ 49 30
2
+ 5
3
+ 1111111111111111111111111111111111111111111111111
4
+ .................................................
5
+ .....6..............3............................
6
+ ......................................9..........
7
+ ..................2..............................
8
+ P.......P.......P.5.....P...4...P.......P.......P
9
+ .P.....P.P1....P.P.....P.P..6..P.P.....P.P.....P.
10
+ ..P...P...P...P...P...P...P...P...P...P...P...P..
11
+ ...P.P.....P.P.....P.P.....P.P.....P.P.....P.P...
12
+ ....P.......P.......P....5..P...956.P.......P....
13
+ .................................................
14
+ ..............7..................................
15
+ ......5.................4..............8.........
16
+ 5................................................
17
+ ...........7.....3...............9...............
18
+ 7....................8..........................2
19
+ 9................................................
20
+ .........................4.....................2.
21
+ ........................5...4....................
22
+ 6...........2....................................
23
+ P.......P9......P.......P.......P.......P.......P
24
+ .P1....P.P5.2..P.P.....P.P.....P1P.....P.P..1..P.
25
+ ..P...P...P...P...P...P...P...P...P...P...P...P..
26
+ ...P.P....6P.P....8P.P.....P.P.....P.P.....P.P...
27
+ ....P.......P.......P.......P.......P.......P....
28
+ .....................8............9..............
29
+ .................................................
30
+ .................................................
31
+ .....1.......7...........5..............1........
32
+ 1111111111111111111111111111111111111111111111111
@@ -0,0 +1,29 @@
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 mountain_height;
16
+ cin >> mountain_height; cin.ignore();
17
+ }
18
+ }
19
+ int a;
20
+ int b;
21
+ cin >> a >> b; cin.ignore();
22
+ int t;
23
+ cin >> t; cin.ignore();
24
+
25
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
26
+ // To debug: cerr << "Debug messages..." << endl;
27
+
28
+ cout << "Save the starship" << endl;
29
+ }
@@ -0,0 +1,25 @@
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 mountainHeight = in.nextInt();
14
+ }
15
+ }
16
+ int a = in.nextInt();
17
+ int b = in.nextInt();
18
+ int t = in.nextInt();
19
+
20
+ // Write an answer using System.out.println()
21
+ // To debug: System.err.println("Debug messages...");
22
+
23
+ System.out.println("Save the starship");
24
+ }
25
+ }
@@ -0,0 +1,18 @@
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 mountainHeight = parseInt(inputs[j]);
8
+ }
9
+ }
10
+ var inputs = readline().split(' ');
11
+ const a = parseInt(inputs[0]);
12
+ const b = parseInt(inputs[1]);
13
+ const t = parseInt(readline());
14
+
15
+ // Write an answer using console.log()
16
+ // To debug: console.error('Debug messages...');
17
+
18
+ console.log('Save the starship');