@cyrilverloop/codingame-configuration 1.24.0 → 1.26.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 (294) 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/PyramidStacker/code/CGCode.cpp +20 -0
  33. package/config/easy/PyramidStacker/code/CGCode.java +18 -0
  34. package/config/easy/PyramidStacker/code/CGCode.js +9 -0
  35. package/config/easy/PyramidStacker/code/CGCode.php +8 -0
  36. package/config/easy/PyramidStacker/code/CGCode.ts +9 -0
  37. package/config/easy/PyramidStacker/config.json +63 -0
  38. package/config/easy/PyramidStacker/input/01 - Full (Example).txt +2 -0
  39. package/config/easy/PyramidStacker/input/02 - Partial (Example).txt +2 -0
  40. package/config/easy/PyramidStacker/input/03 - One Cube.txt +2 -0
  41. package/config/easy/PyramidStacker/input/04 - Patchy.txt +2 -0
  42. package/config/easy/PyramidStacker/input/05 - Repeat.txt +2 -0
  43. package/config/easy/PyramidStacker/input/06 - Cut.txt +2 -0
  44. package/config/easy/PyramidStacker/input/07 - Full.txt +2 -0
  45. package/config/easy/PyramidStacker/input/08 - Sparse.txt +2 -0
  46. package/config/easy/PyramidStacker/input/09 - Tall.txt +2 -0
  47. package/config/easy/PyramidStacker/input/10 - Limit.txt +2 -0
  48. package/config/easy/PyramidStacker/input/11 - Empty.txt +2 -0
  49. package/config/easy/PyramidStacker/output/01 - Full (Example).txt +3 -0
  50. package/config/easy/PyramidStacker/output/02 - Partial (Example).txt +3 -0
  51. package/config/easy/PyramidStacker/output/03 - One Cube.txt +1 -0
  52. package/config/easy/PyramidStacker/output/04 - Patchy.txt +4 -0
  53. package/config/easy/PyramidStacker/output/05 - Repeat.txt +5 -0
  54. package/config/easy/PyramidStacker/output/06 - Cut.txt +5 -0
  55. package/config/easy/PyramidStacker/output/07 - Full.txt +7 -0
  56. package/config/easy/PyramidStacker/output/08 - Sparse.txt +7 -0
  57. package/config/easy/PyramidStacker/output/09 - Tall.txt +9 -0
  58. package/config/easy/PyramidStacker/output/10 - Limit.txt +10 -0
  59. package/config/easy/PyramidStacker/output/11 - Empty.txt +10 -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/SolarShadowHunter/code/CGCode.cpp +24 -0
  97. package/config/easy/SolarShadowHunter/code/CGCode.java +24 -0
  98. package/config/easy/SolarShadowHunter/code/CGCode.js +12 -0
  99. package/config/easy/SolarShadowHunter/code/CGCode.php +12 -0
  100. package/config/easy/SolarShadowHunter/code/CGCode.ts +12 -0
  101. package/config/easy/SolarShadowHunter/config.json +43 -0
  102. package/config/easy/SolarShadowHunter/input/01 - test 1.txt +7 -0
  103. package/config/easy/SolarShadowHunter/input/02 - test 2.txt +6 -0
  104. package/config/easy/SolarShadowHunter/input/03 - test 3.txt +8 -0
  105. package/config/easy/SolarShadowHunter/input/04 - test 4.txt +6 -0
  106. package/config/easy/SolarShadowHunter/input/05 - test 5.txt +7 -0
  107. package/config/easy/SolarShadowHunter/input/06 - test 6.txt +22 -0
  108. package/config/easy/SolarShadowHunter/input/07 - test 7.txt +32 -0
  109. package/config/easy/SolarShadowHunter/output/01 - test 1.txt +1 -0
  110. package/config/easy/SolarShadowHunter/output/02 - test 2.txt +1 -0
  111. package/config/easy/SolarShadowHunter/output/03 - test 3.txt +1 -0
  112. package/config/easy/SolarShadowHunter/output/04 - test 4.txt +1 -0
  113. package/config/easy/SolarShadowHunter/output/05 - test 5.txt +1 -0
  114. package/config/easy/SolarShadowHunter/output/06 - test 6.txt +1 -0
  115. package/config/easy/SolarShadowHunter/output/07 - test 7.txt +1 -0
  116. package/config/easy/TheDescentPart2/code/CGCode.cpp +29 -0
  117. package/config/easy/TheDescentPart2/code/CGCode.java +25 -0
  118. package/config/easy/TheDescentPart2/code/CGCode.js +18 -0
  119. package/config/easy/TheDescentPart2/code/CGCode.php +17 -0
  120. package/config/easy/TheDescentPart2/code/CGCode.ts +18 -0
  121. package/config/easy/TheDescentPart2/config.json +58 -0
  122. package/config/easy/TheDescentPart2/input/01 - test 1.txt +7 -0
  123. package/config/easy/TheDescentPart2/input/02 - test 2.txt +10 -0
  124. package/config/easy/TheDescentPart2/input/03 - test 3.txt +14 -0
  125. package/config/easy/TheDescentPart2/input/04 - test 4.txt +9 -0
  126. package/config/easy/TheDescentPart2/input/05 - test 5.txt +15 -0
  127. package/config/easy/TheDescentPart2/input/06 - test 6.txt +10 -0
  128. package/config/easy/TheDescentPart2/input/07 - test 7.txt +13 -0
  129. package/config/easy/TheDescentPart2/input/08 - test 8.txt +10 -0
  130. package/config/easy/TheDescentPart2/input/09 - test 9.txt +18 -0
  131. package/config/easy/TheDescentPart2/input/10 - test 10.txt +18 -0
  132. package/config/easy/TheDescentPart2/output/01 - test 1.txt +1 -0
  133. package/config/easy/TheDescentPart2/output/02 - test 2.txt +1 -0
  134. package/config/easy/TheDescentPart2/output/03 - test 3.txt +1 -0
  135. package/config/easy/TheDescentPart2/output/04 - test 4.txt +1 -0
  136. package/config/easy/TheDescentPart2/output/05 - test 5.txt +1 -0
  137. package/config/easy/TheDescentPart2/output/06 - test 6.txt +1 -0
  138. package/config/easy/TheDescentPart2/output/07 - test 7.txt +1 -0
  139. package/config/easy/TheDescentPart2/output/08 - test 8.txt +1 -0
  140. package/config/easy/TheDescentPart2/output/09 - test 9.txt +1 -0
  141. package/config/easy/TheDescentPart2/output/10 - test 10.txt +1 -0
  142. package/config/easy/WhereWasThisKnightBefore/code/CGCode.cpp +25 -0
  143. package/config/easy/WhereWasThisKnightBefore/code/CGCode.java +22 -0
  144. package/config/easy/WhereWasThisKnightBefore/code/CGCode.js +12 -0
  145. package/config/easy/WhereWasThisKnightBefore/code/CGCode.php +15 -0
  146. package/config/easy/WhereWasThisKnightBefore/code/CGCode.ts +12 -0
  147. package/config/easy/WhereWasThisKnightBefore/config.json +38 -0
  148. package/config/easy/WhereWasThisKnightBefore/input/01 - Easy start.txt +17 -0
  149. package/config/easy/WhereWasThisKnightBefore/input/02 - Some action.txt +17 -0
  150. package/config/easy/WhereWasThisKnightBefore/input/03 - Some noise on the board.txt +17 -0
  151. package/config/easy/WhereWasThisKnightBefore/input/04 - Check mate.txt +17 -0
  152. package/config/easy/WhereWasThisKnightBefore/input/05 - Crazy case.txt +17 -0
  153. package/config/easy/WhereWasThisKnightBefore/input/06 - Lots of noise.txt +17 -0
  154. package/config/easy/WhereWasThisKnightBefore/output/01 - Easy start.txt +2 -0
  155. package/config/easy/WhereWasThisKnightBefore/output/02 - Some action.txt +2 -0
  156. package/config/easy/WhereWasThisKnightBefore/output/03 - Some noise on the board.txt +2 -0
  157. package/config/easy/WhereWasThisKnightBefore/output/04 - Check mate.txt +2 -0
  158. package/config/easy/WhereWasThisKnightBefore/output/05 - Crazy case.txt +2 -0
  159. package/config/easy/WhereWasThisKnightBefore/output/06 - Lots of noise.txt +2 -0
  160. package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.cpp +20 -0
  161. package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.java +19 -0
  162. package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.js +10 -0
  163. package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.php +7 -0
  164. package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.ts +10 -0
  165. package/config/hard/XthLexicographicallySmallestNumber/config.json +68 -0
  166. package/config/hard/XthLexicographicallySmallestNumber/input/01 - test 1.txt +1 -0
  167. package/config/hard/XthLexicographicallySmallestNumber/input/02 - test 2.txt +1 -0
  168. package/config/hard/XthLexicographicallySmallestNumber/input/03 - test 3.txt +1 -0
  169. package/config/hard/XthLexicographicallySmallestNumber/input/04 - test 4.txt +1 -0
  170. package/config/hard/XthLexicographicallySmallestNumber/input/05 - test 5.txt +1 -0
  171. package/config/hard/XthLexicographicallySmallestNumber/input/06 - test 6.txt +1 -0
  172. package/config/hard/XthLexicographicallySmallestNumber/input/07 - test 7.txt +1 -0
  173. package/config/hard/XthLexicographicallySmallestNumber/input/08 - test 8.txt +1 -0
  174. package/config/hard/XthLexicographicallySmallestNumber/input/09 - test 9.txt +1 -0
  175. package/config/hard/XthLexicographicallySmallestNumber/input/10 - test 10.txt +1 -0
  176. package/config/hard/XthLexicographicallySmallestNumber/input/11 - test 11.txt +1 -0
  177. package/config/hard/XthLexicographicallySmallestNumber/input/12 - test 12.txt +1 -0
  178. package/config/hard/XthLexicographicallySmallestNumber/output/01 - test 1.txt +1 -0
  179. package/config/hard/XthLexicographicallySmallestNumber/output/02 - test 2.txt +1 -0
  180. package/config/hard/XthLexicographicallySmallestNumber/output/03 - test 3.txt +1 -0
  181. package/config/hard/XthLexicographicallySmallestNumber/output/04 - test 4.txt +1 -0
  182. package/config/hard/XthLexicographicallySmallestNumber/output/05 - test 5.txt +1 -0
  183. package/config/hard/XthLexicographicallySmallestNumber/output/06 - test 6.txt +1 -0
  184. package/config/hard/XthLexicographicallySmallestNumber/output/07 - test 7.txt +1 -0
  185. package/config/hard/XthLexicographicallySmallestNumber/output/08 - test 8.txt +1 -0
  186. package/config/hard/XthLexicographicallySmallestNumber/output/09 - test 9.txt +1 -0
  187. package/config/hard/XthLexicographicallySmallestNumber/output/10 - test 10.txt +1 -0
  188. package/config/hard/XthLexicographicallySmallestNumber/output/11 - test 11.txt +1 -0
  189. package/config/hard/XthLexicographicallySmallestNumber/output/12 - test 12.txt +1 -0
  190. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.cpp +28 -0
  191. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.java +24 -0
  192. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.js +15 -0
  193. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.php +16 -0
  194. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.ts +15 -0
  195. package/config/medium/ManaQuestHuntForThePerfectSeven/config.json +68 -0
  196. package/config/medium/ManaQuestHuntForThePerfectSeven/input/01 - Do I have a land.txt +5 -0
  197. package/config/medium/ManaQuestHuntForThePerfectSeven/input/02 - Any card will do.txt +6 -0
  198. package/config/medium/ManaQuestHuntForThePerfectSeven/input/03 - 100%.txt +4 -0
  199. package/config/medium/ManaQuestHuntForThePerfectSeven/input/04 - 0%.txt +4 -0
  200. package/config/medium/ManaQuestHuntForThePerfectSeven/input/05 - 1 Pattern.txt +6 -0
  201. package/config/medium/ManaQuestHuntForThePerfectSeven/input/06 - Overlap.txt +7 -0
  202. package/config/medium/ManaQuestHuntForThePerfectSeven/input/07 - 3 Patterns.txt +13 -0
  203. package/config/medium/ManaQuestHuntForThePerfectSeven/input/08 - 5 Patterns.txt +13 -0
  204. package/config/medium/ManaQuestHuntForThePerfectSeven/input/09 - 6 Patterns.txt +14 -0
  205. package/config/medium/ManaQuestHuntForThePerfectSeven/input/10 - 7 Patterns.txt +16 -0
  206. package/config/medium/ManaQuestHuntForThePerfectSeven/input/11 - 8 Patterns.txt +18 -0
  207. package/config/medium/ManaQuestHuntForThePerfectSeven/input/12 - 8 Patterns Impossible.txt +18 -0
  208. package/config/medium/ManaQuestHuntForThePerfectSeven/output/01 - Do I have a land.txt +1 -0
  209. package/config/medium/ManaQuestHuntForThePerfectSeven/output/02 - Any card will do.txt +1 -0
  210. package/config/medium/ManaQuestHuntForThePerfectSeven/output/03 - 100%.txt +1 -0
  211. package/config/medium/ManaQuestHuntForThePerfectSeven/output/04 - 0%.txt +1 -0
  212. package/config/medium/ManaQuestHuntForThePerfectSeven/output/05 - 1 Pattern.txt +1 -0
  213. package/config/medium/ManaQuestHuntForThePerfectSeven/output/06 - Overlap.txt +1 -0
  214. package/config/medium/ManaQuestHuntForThePerfectSeven/output/07 - 3 Patterns.txt +1 -0
  215. package/config/medium/ManaQuestHuntForThePerfectSeven/output/08 - 5 Patterns.txt +1 -0
  216. package/config/medium/ManaQuestHuntForThePerfectSeven/output/09 - 6 Patterns.txt +1 -0
  217. package/config/medium/ManaQuestHuntForThePerfectSeven/output/10 - 7 Patterns.txt +1 -0
  218. package/config/medium/ManaQuestHuntForThePerfectSeven/output/11 - 8 Patterns.txt +1 -0
  219. package/config/medium/ManaQuestHuntForThePerfectSeven/output/12 - 8 Patterns Impossible.txt +1 -0
  220. package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.cpp +20 -0
  221. package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.java +18 -0
  222. package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.js +9 -0
  223. package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.php +8 -0
  224. package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.ts +9 -0
  225. package/config/medium/NumbersWithOnlyTwoDistinctDigits/config.json +43 -0
  226. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/01 - Base case.txt +2 -0
  227. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/02 - 2 digits long ans.txt +2 -0
  228. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/03 - With 7.txt +2 -0
  229. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/04 - With more digits (21).txt +2 -0
  230. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/05 - Still ok 100 digits!.txt +2 -0
  231. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/06 - 250 NO WAY!.txt +2 -0
  232. package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/07 - 500.txt +2 -0
  233. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/01 - Base case.txt +1 -0
  234. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/02 - 2 digits long ans.txt +1 -0
  235. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/03 - With 7.txt +1 -0
  236. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/04 - With more digits (21).txt +1 -0
  237. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/05 - Still ok 100 digits!.txt +1 -0
  238. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/06 - 250 NO WAY!.txt +1 -0
  239. package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/07 - 500.txt +1 -0
  240. package/config/medium/TheHoleTruth/code/CGCode.cpp +22 -0
  241. package/config/medium/TheHoleTruth/code/CGCode.java +23 -0
  242. package/config/medium/TheHoleTruth/code/CGCode.js +11 -0
  243. package/config/medium/TheHoleTruth/code/CGCode.php +11 -0
  244. package/config/medium/TheHoleTruth/code/CGCode.ts +11 -0
  245. package/config/medium/TheHoleTruth/config.json +58 -0
  246. package/config/medium/TheHoleTruth/input/01 - Simple ring.txt +6 -0
  247. package/config/medium/TheHoleTruth/input/02 - Two holes.txt +6 -0
  248. package/config/medium/TheHoleTruth/input/03 - No holes.txt +6 -0
  249. package/config/medium/TheHoleTruth/input/04 - Nested rings.txt +10 -0
  250. package/config/medium/TheHoleTruth/input/05 - Border-touching shapes.txt +12 -0
  251. package/config/medium/TheHoleTruth/input/06 - Smiley face.txt +13 -0
  252. package/config/medium/TheHoleTruth/input/07 - Tall grid with irregular hole.txt +14 -0
  253. package/config/medium/TheHoleTruth/input/08 - Nested blobs with winding walls.txt +41 -0
  254. package/config/medium/TheHoleTruth/input/09 - Concentric rings and L-shaped enclosures.txt +41 -0
  255. package/config/medium/TheHoleTruth/input/10 - Stress test.txt +58 -0
  256. package/config/medium/TheHoleTruth/output/01 - Simple ring.txt +1 -0
  257. package/config/medium/TheHoleTruth/output/02 - Two holes.txt +1 -0
  258. package/config/medium/TheHoleTruth/output/03 - No holes.txt +1 -0
  259. package/config/medium/TheHoleTruth/output/04 - Nested rings.txt +1 -0
  260. package/config/medium/TheHoleTruth/output/05 - Border-touching shapes.txt +1 -0
  261. package/config/medium/TheHoleTruth/output/06 - Smiley face.txt +1 -0
  262. package/config/medium/TheHoleTruth/output/07 - Tall grid with irregular hole.txt +1 -0
  263. package/config/medium/TheHoleTruth/output/08 - Nested blobs with winding walls.txt +1 -0
  264. package/config/medium/TheHoleTruth/output/09 - Concentric rings and L-shaped enclosures.txt +1 -0
  265. package/config/medium/TheHoleTruth/output/10 - Stress test.txt +1 -0
  266. package/config/medium/TrigonometrySimplification/code/CGCode.cpp +19 -0
  267. package/config/medium/TrigonometrySimplification/code/CGCode.java +18 -0
  268. package/config/medium/TrigonometrySimplification/code/CGCode.js +9 -0
  269. package/config/medium/TrigonometrySimplification/code/CGCode.php +7 -0
  270. package/config/medium/TrigonometrySimplification/code/CGCode.ts +9 -0
  271. package/config/medium/TrigonometrySimplification/config.json +63 -0
  272. package/config/medium/TrigonometrySimplification/input/01 - test 1.txt +1 -0
  273. package/config/medium/TrigonometrySimplification/input/02 - test 2.txt +1 -0
  274. package/config/medium/TrigonometrySimplification/input/03 - test 3.txt +1 -0
  275. package/config/medium/TrigonometrySimplification/input/04 - test 4.txt +1 -0
  276. package/config/medium/TrigonometrySimplification/input/05 - test 5.txt +1 -0
  277. package/config/medium/TrigonometrySimplification/input/06 - test 6.txt +1 -0
  278. package/config/medium/TrigonometrySimplification/input/07 - test 7.txt +1 -0
  279. package/config/medium/TrigonometrySimplification/input/08 - test 8.txt +1 -0
  280. package/config/medium/TrigonometrySimplification/input/09 - test 9.txt +1 -0
  281. package/config/medium/TrigonometrySimplification/input/10 - test 10.txt +1 -0
  282. package/config/medium/TrigonometrySimplification/input/11 - test 11.txt +1 -0
  283. package/config/medium/TrigonometrySimplification/output/01 - test 1.txt +1 -0
  284. package/config/medium/TrigonometrySimplification/output/02 - test 2.txt +1 -0
  285. package/config/medium/TrigonometrySimplification/output/03 - test 3.txt +1 -0
  286. package/config/medium/TrigonometrySimplification/output/04 - test 4.txt +1 -0
  287. package/config/medium/TrigonometrySimplification/output/05 - test 5.txt +1 -0
  288. package/config/medium/TrigonometrySimplification/output/06 - test 6.txt +1 -0
  289. package/config/medium/TrigonometrySimplification/output/07 - test 7.txt +1 -0
  290. package/config/medium/TrigonometrySimplification/output/08 - test 8.txt +1 -0
  291. package/config/medium/TrigonometrySimplification/output/09 - test 9.txt +1 -0
  292. package/config/medium/TrigonometrySimplification/output/10 - test 10.txt +1 -0
  293. package/config/medium/TrigonometrySimplification/output/11 - test 11.txt +1 -0
  294. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $W, $H);
3
+ for ($i = 0; $i < $H; $i++)
4
+ {
5
+ $row = stream_get_line(STDIN, 100 + 1, "\n");
6
+ }
7
+
8
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
9
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
10
+
11
+ echo("answer\n");
@@ -0,0 +1,11 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const W: number = parseInt(inputs[0]);
3
+ const H: number = parseInt(inputs[1]);
4
+ for (let i = 0; i < H; i++) {
5
+ const row: string = readline();
6
+ }
7
+
8
+ // Write an answer using console.log()
9
+ // To debug: console.error('Debug messages...');
10
+
11
+ console.log('answer');
@@ -0,0 +1,58 @@
1
+ {
2
+ "path": "medium/TheHoleTruth",
3
+ "name": "The Hole Truth",
4
+ "alphanumName": "TheHoleTruth",
5
+ "link": "https://www.codingame.com/ide/puzzle/the-hole-truth",
6
+ "tests": [
7
+ {
8
+ "name": "Simple ring",
9
+ "alphanumName": "SimpleRing",
10
+ "file": "01 - Simple ring.txt"
11
+ },
12
+ {
13
+ "name": "Two holes",
14
+ "alphanumName": "TwoHoles",
15
+ "file": "02 - Two holes.txt"
16
+ },
17
+ {
18
+ "name": "No holes",
19
+ "alphanumName": "NoHoles",
20
+ "file": "03 - No holes.txt"
21
+ },
22
+ {
23
+ "name": "Nested rings",
24
+ "alphanumName": "NestedRings",
25
+ "file": "04 - Nested rings.txt"
26
+ },
27
+ {
28
+ "name": "Border-touching shapes",
29
+ "alphanumName": "BorderTouchingShapes",
30
+ "file": "05 - Border-touching shapes.txt"
31
+ },
32
+ {
33
+ "name": "Smiley face",
34
+ "alphanumName": "SmileyFace",
35
+ "file": "06 - Smiley face.txt"
36
+ },
37
+ {
38
+ "name": "Tall grid with irregular hole",
39
+ "alphanumName": "TallGridWithIrregularHole",
40
+ "file": "07 - Tall grid with irregular hole.txt"
41
+ },
42
+ {
43
+ "name": "Nested blobs with winding walls",
44
+ "alphanumName": "NestedBlobsWithWindingWalls",
45
+ "file": "08 - Nested blobs with winding walls.txt"
46
+ },
47
+ {
48
+ "name": "Concentric rings and L-shaped enclosures",
49
+ "alphanumName": "ConcentricRingsAndLShapedEnclosures",
50
+ "file": "09 - Concentric rings and L-shaped enclosures.txt"
51
+ },
52
+ {
53
+ "name": "Stress test",
54
+ "alphanumName": "StressTest",
55
+ "file": "10 - Stress test.txt"
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,6 @@
1
+ 5 5
2
+ .....
3
+ .###.
4
+ .#.#.
5
+ .###.
6
+ .....
@@ -0,0 +1,6 @@
1
+ 7 5
2
+ .......
3
+ .#####.
4
+ .#.#.#.
5
+ .#####.
6
+ .......
@@ -0,0 +1,6 @@
1
+ 5 5
2
+ .....
3
+ .###.
4
+ .###.
5
+ .###.
6
+ .....
@@ -0,0 +1,10 @@
1
+ 11 9
2
+ ...........
3
+ .#########.
4
+ .#.......#.
5
+ .#.#####.#.
6
+ .#.#...#.#.
7
+ .#.#####.#.
8
+ .#.......#.
9
+ .#########.
10
+ ...........
@@ -0,0 +1,12 @@
1
+ 15 11
2
+ ..#####........
3
+ .##...##.####..
4
+ .#.....#.#..#..
5
+ .#.###.#.#..#..
6
+ .#.#.#.#.####..
7
+ .#.###.#.......
8
+ .#.....########
9
+ .##...##.....#.
10
+ ..#####..###.#.
11
+ .........#.#.#.
12
+ .........###.#.
@@ -0,0 +1,13 @@
1
+ 13 12
2
+ ####.....####
3
+ ##.........##
4
+ #...........#
5
+ #..###.###..#
6
+ #..#.#.#.#..#
7
+ #..###.###..#
8
+ #...........#
9
+ #..#.....#..#
10
+ #...#####...#
11
+ #...........#
12
+ ##.........##
13
+ ####.....####
@@ -0,0 +1,14 @@
1
+ 7 13
2
+ .......
3
+ .#####.
4
+ .#...#.
5
+ .#.#.#.
6
+ .###.#.
7
+ .#.#.#.
8
+ .#####.
9
+ .......
10
+ .#####.
11
+ .#####.
12
+ .#####.
13
+ .#####.
14
+ .......
@@ -0,0 +1,41 @@
1
+ 30 40
2
+ ..............................
3
+ ..............................
4
+ ....####....###...###.........
5
+ ...####......###..##..........
6
+ ....#.........###.##..........
7
+ ........#..######.##..........
8
+ .......##############.........
9
+ ....#...####...######.........
10
+ ....##.#####...######.........
11
+ ...#########...#######.....#..
12
+ ....########...##..#########..
13
+ ....########...#...##......#..
14
+ ...#############...##.........
15
+ ..###############..###.#......
16
+ ..################.##.###.....
17
+ ..################.#...#......
18
+ ..##################..###.....
19
+ ..################.#..###.....
20
+ ..###############......###....
21
+ ..################....#####...
22
+ ..###############..#######....
23
+ ..########################....
24
+ ..#######################.....
25
+ ..#######################.....
26
+ ..########################....
27
+ ..#########################...
28
+ ..##############..#.###..##...
29
+ ..##############..#.#.........
30
+ ..##############..#.#.........
31
+ ..##############....#.........
32
+ ..####.#######.######...###...
33
+ ..###..#######..#..##...#.....
34
+ ...#..#######...#..##.#.##....
35
+ ......#.#..#....#..#####......
36
+ ......#.##..........#.#.......
37
+ .....##...............#.......
38
+ ..####................#.......
39
+ ...#.#........................
40
+ ..............................
41
+ ..............................
@@ -0,0 +1,41 @@
1
+ 60 40
2
+ ............................................................
3
+ ............................................................
4
+ ........#........................########.################..
5
+ ........##.......................#########################..
6
+ ......#...................############################.###..
7
+ ......#...................#.....#################...#...#...
8
+ ......#..................###...###################..........
9
+ ......#....#######......#####...####################..#.....
10
+ ......#..................###...#########################....
11
+ ..........................#...##############.############...
12
+ .............................##############..#############..
13
+ ............###...............#############..###..#.######..
14
+ ..............#.....#....#....############.#.###..#.##..##..
15
+ ..............#....##...###..#############...###....##...#..
16
+ ........#######........####################.##########......
17
+ ....#####..#............####..#..######################.....
18
+ ....#......###...........###..#..######################.#...
19
+ ...##............#..########..#..########################...
20
+ ...##..........#.#..#.....##..#..############....#########..
21
+ ...#...........###.........#.....############.#.#########...
22
+ ...............#.........#.###############################..
23
+ ....###.#...............##################################..
24
+ ...#########...........###################################..
25
+ ..###########...........########.######################.##..
26
+ ...####.####.............######...####################...#..
27
+ ..####...#####..........#############################.......
28
+ ..####...###.#...........############################.......
29
+ ...########..#........#...##########################........
30
+ ....######...#........#############################.........
31
+ .....#..#.............#..######################..##.........
32
+ .....#................#...##################..#..##.........
33
+ .....####..........####....#.###############..#####.........
34
+ ..##.#........................##############...#..#.....##..
35
+ .....#.........................####.######.#...#..#.....#...
36
+ ...#.#...........................#...####..#...#..#.....#...
37
+ ...#...........#......................#..###......#.....#...
38
+ ...#...........#..........#................########.....#...
39
+ ...#..........##..........#.............................#...
40
+ ............................................................
41
+ ............................................................
@@ -0,0 +1,58 @@
1
+ 75 57
2
+ ...........................................................................
3
+ ...........................................................................
4
+ ...........#...................#.....#.....................###.#####.#.#...
5
+ ...........#...................#.....#....................###....##..#.##..
6
+ .......#...#...................#.....#...................###.....###.#.#...
7
+ ....####...#......#.................##...................#####...###.#.....
8
+ ...........#.....###........#.####..#.....................#########..#.....
9
+ ...........####.#####......###..###.#.#######..............#######.........
10
+ ...........#...#####......#####...#.#.#..#..#..............###.#...........
11
+ ..............#######......###......#.#.....#..........#.#.##..............
12
+ ..............#########.#####.......#########.........#####.##.............
13
+ .........#...#################.......#.................#.#..#...#..........
14
+ ........###..####..############......##.....................#..###.........
15
+ .......##########...############.#...###.#.#.........#......#...#..........
16
+ .....#..##########...##############.###.#####.#.##...#......#...#....##....
17
+ ....###..########....#############....#..#.########..#...#..#...#...###....
18
+ ...#####..######..#################...#....#.#######.#..###.#.#.#..#.......
19
+ ..#####....####..###################..#....#..#########..##.#####..#.......
20
+ ...###......###..#############.######.#.#......#########.####.####.#.......
21
+ ....###.##...############...#..###########.#.#..###########.#...#.###......
22
+ ...########..##.####...###...#.####################.#..###..#......##......
23
+ ....########..#..###.####...##########..#..#.#..#...#...##..#....#.##......
24
+ .....######..#############..##########...#........#########.#...#####......
25
+ .....#####...####.##.#####.#####..####..###...#.##########..#..######......
26
+ .....#######.####....##########..#####...#...##############.#.###########..
27
+ ...##########...#.....#.#..####.######.....###..####..##################...
28
+ ...#.#########.###...##.....#########....######.###...#################....
29
+ ...#..###########################.##....####..######....#########....#.....
30
+ ...##.##########################.......######.########..##########...#.....
31
+ ...###......###.##################......####..######################.#.....
32
+ ....#........#...##################....####...#########..#############.#...
33
+ ...##............#..#..#####..#..####.#####.#.#########..################..
34
+ .........##.....##..#..#####....###....##.##..########...###############...
35
+ ..........#......#..#..#.####....########.##########.#########.....######..
36
+ .....####.#......#..#..#...#......##..###..#########..##..##############...
37
+ .........###.....#.....#...........#...#...##############.#############....
38
+ ........####.....#######.............#.#..###############################..
39
+ ........######................#.....#####..#.############..###.##...#####..
40
+ .......#..#..................###...######......#######.#....#...#...#####..
41
+ .......#......................#..#######..#.....######...#.#...######.#....
42
+ .......#...................#.....#...#######.#..###.#...#####.###..........
43
+ .......######.............###....#..###########.#........#.###.#...........
44
+ ...#####..#.#......######..#.....#..################...#.#..#..............
45
+ .......#..#.#....................#.###.##.#######.#...#####................
46
+ .......#..#.#....................#.##.....######.......#.#........#........
47
+ .......#....#..#..#...............###.....#######................###.......
48
+ ......##############...............###.#....######....#...........#........
49
+ ......#.....#########.######.......######..###.###..####...........####....
50
+ ......#....###...#######...#........#..##.####..##.####............#..#....
51
+ ......##..###......#####...............######...##..#..............#..#....
52
+ .......#..##.......#..##.....#.......#..#.#.....##.................#..#....
53
+ .......#.#####.....##.###....#.......#..........##.................#..#....
54
+ ..........#####....#####.....#.......#.........##..................#..#....
55
+ ............####..###.#......#.................#...................####....
56
+ ............###..###.........#.................#...........................
57
+ ...........................................................................
58
+ ...........................................................................
@@ -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
+ int s;
11
+ int c;
12
+ int f;
13
+ cin >> s >> c >> f; cin.ignore();
14
+
15
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
16
+ // To debug: cerr << "Debug messages..." << endl;
17
+
18
+ cout << "2cos²(x)=1+cos(2x)" << endl;
19
+ }
@@ -0,0 +1,18 @@
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 S = in.nextInt();
10
+ int C = in.nextInt();
11
+ int F = in.nextInt();
12
+
13
+ // Write an answer using System.out.println()
14
+ // To debug: System.err.println("Debug messages...");
15
+
16
+ System.out.println("2cos²(x)=1+cos(2x)");
17
+ }
18
+ }
@@ -0,0 +1,9 @@
1
+ var inputs = readline().split(' ');
2
+ const S = parseInt(inputs[0]);
3
+ const C = parseInt(inputs[1]);
4
+ const F = parseInt(inputs[2]);
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('2cos²(x)=1+cos(2x)');
@@ -0,0 +1,7 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d %d", $S, $C, $F);
3
+
4
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
5
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
6
+
7
+ echo("2cos²(x)=1+cos(2x)\n");
@@ -0,0 +1,9 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const S: number = parseInt(inputs[0]);
3
+ const C: number = parseInt(inputs[1]);
4
+ const F: number = parseInt(inputs[2]);
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('2cos²(x)=1+cos(2x)');
@@ -0,0 +1,63 @@
1
+ {
2
+ "path": "medium/TrigonometrySimplification",
3
+ "name": "Trigonometry Simplification",
4
+ "alphanumName": "TrigonometrySimplification",
5
+ "link": "https://www.codingame.com/ide/puzzle/trigonometry-simplification",
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
+ "name": "Test 8",
44
+ "alphanumName": "test8",
45
+ "file": "08 - test 8.txt"
46
+ },
47
+ {
48
+ "name": "Test 9",
49
+ "alphanumName": "test9",
50
+ "file": "09 - test 9.txt"
51
+ },
52
+ {
53
+ "name": "Test 10",
54
+ "alphanumName": "test10",
55
+ "file": "10 - test 10.txt"
56
+ },
57
+ {
58
+ "name": "Test 11",
59
+ "alphanumName": "test11",
60
+ "file": "11 - test 11.txt"
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1 @@
1
+ 3cos(x)-3cos(3x)-cos(5x)+cos(7x)
@@ -0,0 +1 @@
1
+ 35-56cos(2x)+28cos(4x)-8cos(6x)+cos(8x)
@@ -0,0 +1 @@
1
+ 126-210cos(4x)+120cos(8x)-45cos(12x)+10cos(16x)-cos(20x)
@@ -0,0 +1 @@
1
+ 35sin(x)-21sin(3x)+7sin(5x)-sin(7x)
@@ -0,0 +1 @@
1
+ 14sin(2x)-8sin(4x)-3sin(6x)+4sin(8x)-sin(10x)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyrilverloop/codingame-configuration",
3
- "version": "1.24.0",
3
+ "version": "1.26.0",
4
4
  "description": "A project that contains CodinGame input, output and default code.",
5
5
  "repository": {
6
6
  "type": "git",