@cyrilverloop/codingame-configuration 1.21.0 → 1.23.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 (478) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/LICENSE +1 -1
  3. package/config/easy/LinesIntersections/code/CGCode.cpp +24 -0
  4. package/config/easy/LinesIntersections/code/CGCode.java +22 -0
  5. package/config/easy/LinesIntersections/code/CGCode.js +13 -0
  6. package/config/easy/LinesIntersections/code/CGCode.php +11 -0
  7. package/config/easy/LinesIntersections/code/CGCode.ts +13 -0
  8. package/config/easy/LinesIntersections/config.json +68 -0
  9. package/config/easy/LinesIntersections/input/01 - Triangle.txt +4 -0
  10. package/config/easy/LinesIntersections/input/02 - Two intersects.txt +3 -0
  11. package/config/easy/LinesIntersections/input/03 - Two parallel.txt +3 -0
  12. package/config/easy/LinesIntersections/input/04 - Square.txt +5 -0
  13. package/config/easy/LinesIntersections/input/05 - Square crossed.txt +7 -0
  14. package/config/easy/LinesIntersections/input/06 - One line.txt +2 -0
  15. package/config/easy/LinesIntersections/input/08 - 10 lines.txt +11 -0
  16. package/config/easy/LinesIntersections/input/09 - 10 lines with maximum intersections.txt +11 -0
  17. package/config/easy/LinesIntersections/input/10 - 10 coincident lines.txt +11 -0
  18. package/config/easy/LinesIntersections/input/11 - All cases.txt +11 -0
  19. package/config/easy/LinesIntersections/input/12 - Star.txt +9 -0
  20. package/config/easy/LinesIntersections/output/01 - Triangle.txt +4 -0
  21. package/config/easy/LinesIntersections/output/02 - Two intersects.txt +2 -0
  22. package/config/easy/LinesIntersections/output/04 - Square.txt +5 -0
  23. package/config/easy/LinesIntersections/output/05 - Square crossed.txt +6 -0
  24. package/config/easy/LinesIntersections/output/07 - Zero.txt +1 -0
  25. package/config/easy/LinesIntersections/output/08 - 10 lines.txt +39 -0
  26. package/config/easy/LinesIntersections/output/09 - 10 lines with maximum intersections.txt +46 -0
  27. package/config/easy/LinesIntersections/output/10 - 10 coincident lines.txt +1 -0
  28. package/config/easy/LinesIntersections/output/11 - All cases.txt +14 -0
  29. package/config/easy/LinesIntersections/output/12 - Star.txt +2 -0
  30. package/config/easy/SetProbabilitiesCardGame/code/CGCode.cpp +24 -0
  31. package/config/easy/SetProbabilitiesCardGame/code/CGCode.java +22 -0
  32. package/config/easy/SetProbabilitiesCardGame/code/CGCode.js +13 -0
  33. package/config/easy/SetProbabilitiesCardGame/code/CGCode.php +12 -0
  34. package/config/easy/SetProbabilitiesCardGame/code/CGCode.ts +13 -0
  35. package/config/easy/SetProbabilitiesCardGame/config.json +48 -0
  36. package/config/easy/SetProbabilitiesCardGame/input/01 - A simple start.txt +3 -0
  37. package/config/easy/SetProbabilitiesCardGame/input/02 - A few more cards.txt +6 -0
  38. package/config/easy/SetProbabilitiesCardGame/input/03 - And a few more....txt +9 -0
  39. package/config/easy/SetProbabilitiesCardGame/input/04 - A classic game of set.txt +13 -0
  40. package/config/easy/SetProbabilitiesCardGame/input/05 - Lots of cards.txt +16 -0
  41. package/config/easy/SetProbabilitiesCardGame/input/06 - Almost guaranteed.txt +20 -0
  42. package/config/easy/SetProbabilitiesCardGame/input/07 - No need to draw a card!.txt +8 -0
  43. package/config/easy/SetProbabilitiesCardGame/input/08 - I need to draw a card.txt +21 -0
  44. package/config/easy/SetProbabilitiesCardGame/output/01 - A simple start.txt +1 -0
  45. package/config/easy/SetProbabilitiesCardGame/output/02 - A few more cards.txt +1 -0
  46. package/config/easy/SetProbabilitiesCardGame/output/03 - And a few more....txt +1 -0
  47. package/config/easy/SetProbabilitiesCardGame/output/04 - A classic game of set.txt +1 -0
  48. package/config/easy/SetProbabilitiesCardGame/output/05 - Lots of cards.txt +1 -0
  49. package/config/easy/SetProbabilitiesCardGame/output/06 - Almost guaranteed.txt +1 -0
  50. package/config/easy/SetProbabilitiesCardGame/output/07 - No need to draw a card!.txt +1 -0
  51. package/config/easy/SetProbabilitiesCardGame/output/08 - I need to draw a card.txt +1 -0
  52. package/config/easy/SimpleDiffTool/code/CGCode.cpp +29 -0
  53. package/config/easy/SimpleDiffTool/code/CGCode.java +30 -0
  54. package/config/easy/SimpleDiffTool/code/CGCode.js +14 -0
  55. package/config/easy/SimpleDiffTool/code/CGCode.php +17 -0
  56. package/config/easy/SimpleDiffTool/code/CGCode.ts +14 -0
  57. package/config/easy/SimpleDiffTool/config.json +78 -0
  58. package/config/easy/SimpleDiffTool/input/01 - Test - Add by content.txt +10 -0
  59. package/config/easy/SimpleDiffTool/input/02 - Test - Add by number.txt +10 -0
  60. package/config/easy/SimpleDiffTool/input/03 - Test - Delete by content.txt +8 -0
  61. package/config/easy/SimpleDiffTool/input/04 - Test - Delete by number.txt +8 -0
  62. package/config/easy/SimpleDiffTool/input/05 - Test - Change by content.txt +9 -0
  63. package/config/easy/SimpleDiffTool/input/06 - Test - Change by number.txt +9 -0
  64. package/config/easy/SimpleDiffTool/input/07 - Test - No diffs by content.txt +9 -0
  65. package/config/easy/SimpleDiffTool/input/08 - Test - No diffs by number.txt +9 -0
  66. package/config/easy/SimpleDiffTool/input/09 - Test - Moved lines by content.txt +9 -0
  67. package/config/easy/SimpleDiffTool/input/10 - Test - Moved lines by number.txt +9 -0
  68. package/config/easy/SimpleDiffTool/input/11 - Test - Multiple diffs by content.txt +24 -0
  69. package/config/easy/SimpleDiffTool/input/12 - Test - Multiple diffs by number.txt +24 -0
  70. package/config/easy/SimpleDiffTool/input/13 - Test - No lines by content.txt +3 -0
  71. package/config/easy/SimpleDiffTool/input/14 - Test - No lines by number.txt +3 -0
  72. package/config/easy/SimpleDiffTool/output/01 - Test - Add by content.txt +1 -0
  73. package/config/easy/SimpleDiffTool/output/02 - Test - Add by number.txt +2 -0
  74. package/config/easy/SimpleDiffTool/output/03 - Test - Delete by content.txt +1 -0
  75. package/config/easy/SimpleDiffTool/output/04 - Test - Delete by number.txt +2 -0
  76. package/config/easy/SimpleDiffTool/output/05 - Test - Change by content.txt +2 -0
  77. package/config/easy/SimpleDiffTool/output/06 - Test - Change by number.txt +1 -0
  78. package/config/easy/SimpleDiffTool/output/07 - Test - No diffs by content.txt +1 -0
  79. package/config/easy/SimpleDiffTool/output/08 - Test - No diffs by number.txt +1 -0
  80. package/config/easy/SimpleDiffTool/output/09 - Test - Moved lines by content.txt +3 -0
  81. package/config/easy/SimpleDiffTool/output/10 - Test - Moved lines by number.txt +3 -0
  82. package/config/easy/SimpleDiffTool/output/11 - Test - Multiple diffs by content.txt +9 -0
  83. package/config/easy/SimpleDiffTool/output/12 - Test - Multiple diffs by number.txt +5 -0
  84. package/config/easy/SimpleDiffTool/output/13 - Test - No lines by content.txt +1 -0
  85. package/config/easy/SimpleDiffTool/output/14 - Test - No lines by number.txt +1 -0
  86. package/config/{medium → hard}/GuessingDigits/config.json +1 -1
  87. package/config/hard/MountainRange/code/CGCode.cpp +22 -0
  88. package/config/hard/MountainRange/code/CGCode.java +23 -0
  89. package/config/hard/MountainRange/code/CGCode.js +11 -0
  90. package/config/hard/MountainRange/code/CGCode.php +11 -0
  91. package/config/hard/MountainRange/code/CGCode.ts +11 -0
  92. package/config/hard/MountainRange/config.json +123 -0
  93. package/config/hard/MountainRange/input/01 - Two summits.txt +7 -0
  94. package/config/hard/MountainRange/input/02 - Close summits.txt +7 -0
  95. package/config/hard/MountainRange/input/03 - Row of 11 peaks.txt +3 -0
  96. package/config/hard/MountainRange/input/04 - Two ridges.txt +13 -0
  97. package/config/hard/MountainRange/input/05 - Flat summits.txt +8 -0
  98. package/config/hard/MountainRange/input/06 - Aligned mountains.txt +16 -0
  99. package/config/hard/MountainRange/input/07 - Aligned valleys.txt +19 -0
  100. package/config/hard/MountainRange/input/08 - Intersecting ridges.txt +9 -0
  101. package/config/hard/MountainRange/input/09 - Nested mountains.txt +11 -0
  102. package/config/hard/MountainRange/input/10 - 8 + 8 + 6 + 6.txt +9 -0
  103. package/config/hard/MountainRange/input/11 - Partially hidden summit.txt +6 -0
  104. package/config/hard/MountainRange/input/12 - Test case of User123.txt +11 -0
  105. package/config/hard/MountainRange/input/13 - Two in front of three.txt +8 -0
  106. package/config/hard/MountainRange/input/14 - Two in front of one big mountain.txt +11 -0
  107. package/config/hard/MountainRange/input/15 - Four in front of one flat summit.txt +8 -0
  108. package/config/hard/MountainRange/input/16 - 8 pointed summits + 1 flat.txt +12 -0
  109. package/config/hard/MountainRange/input/17 - 2 + 3 + 2 + 3 + 2 + 2 + 2 + 2.txt +25 -0
  110. package/config/hard/MountainRange/input/18 - One in front of three.txt +12 -0
  111. package/config/hard/MountainRange/input/19 - Peak, flat summit, hidden slope.txt +9 -0
  112. package/config/hard/MountainRange/input/20 - Three summits, one hidden slope.txt +14 -0
  113. package/config/hard/MountainRange/input/21 - Two pairs.txt +8 -0
  114. package/config/hard/MountainRange/input/22 - 4 + 3 + 4 + 3 + 1 + 1.txt +14 -0
  115. package/config/hard/MountainRange/input/23 - 4 + 3 + 2 + 3 + 1 + 3 + 1 + 1.txt +14 -0
  116. package/config/hard/MountainRange/output/03 - Row of 11 peaks.txt +1 -0
  117. package/config/hard/MountainRange/output/04 - Two ridges.txt +1 -0
  118. package/config/hard/MountainRange/output/07 - Aligned valleys.txt +1 -0
  119. package/config/hard/MountainRange/output/08 - Intersecting ridges.txt +1 -0
  120. package/config/hard/MountainRange/output/09 - Nested mountains.txt +1 -0
  121. package/config/hard/MountainRange/output/10 - 8 + 8 + 6 + 6.txt +1 -0
  122. package/config/hard/MountainRange/output/11 - Partially hidden summit.txt +1 -0
  123. package/config/hard/MountainRange/output/12 - Test case of User123.txt +1 -0
  124. package/config/hard/MountainRange/output/13 - Two in front of three.txt +1 -0
  125. package/config/hard/MountainRange/output/14 - Two in front of one big mountain.txt +1 -0
  126. package/config/hard/MountainRange/output/15 - Four in front of one flat summit.txt +1 -0
  127. package/config/hard/MountainRange/output/16 - 8 pointed summits + 1 flat.txt +1 -0
  128. package/config/hard/MountainRange/output/17 - 2 + 3 + 2 + 3 + 2 + 2 + 2 + 2.txt +1 -0
  129. package/config/hard/MountainRange/output/19 - Peak, flat summit, hidden slope.txt +1 -0
  130. package/config/hard/MountainRange/output/20 - Three summits, one hidden slope.txt +1 -0
  131. package/config/hard/MountainRange/output/21 - Two pairs.txt +1 -0
  132. package/config/hard/MountainRange/output/22 - 4 + 3 + 4 + 3 + 1 + 1.txt +1 -0
  133. package/config/hard/MountainRange/output/23 - 4 + 3 + 2 + 3 + 1 + 3 + 1 + 1.txt +1 -0
  134. package/config/{medium → hard}/ParseSQLQueries/config.json +1 -1
  135. package/config/{expert → hard}/RecurringDecimals/config.json +1 -1
  136. package/config/{medium → hard}/Surakarta/config.json +1 -1
  137. package/config/hard/Surakarta/output/02 - multiple ways.txt +1 -0
  138. package/config/hard/Surakarta/output/03 - impossible.txt +1 -0
  139. package/config/hard/Surakarta/output/04 - pass on yourself.txt +1 -0
  140. package/config/hard/Surakarta/output/05 - angles are not OK.txt +1 -0
  141. package/config/hard/Surakarta/output/06 - we have a problem.txt +1 -0
  142. package/config/hard/Surakarta/output/07 - it works.txt +1 -0
  143. package/config/hard/Surakarta/output/08 - number test.txt +1 -0
  144. package/config/hard/Surakarta/output/10 - real test.txt +1 -0
  145. package/config/medium/DistinctCircularLinkedLists/code/CGCode.cpp +21 -0
  146. package/config/medium/DistinctCircularLinkedLists/code/CGCode.java +19 -0
  147. package/config/medium/DistinctCircularLinkedLists/code/CGCode.js +9 -0
  148. package/config/medium/DistinctCircularLinkedLists/code/CGCode.php +11 -0
  149. package/config/medium/DistinctCircularLinkedLists/code/CGCode.ts +9 -0
  150. package/config/medium/DistinctCircularLinkedLists/config.json +103 -0
  151. package/config/medium/DistinctCircularLinkedLists/input/01 - Example.txt +4 -0
  152. package/config/medium/DistinctCircularLinkedLists/input/02 - Random Nodes.txt +5 -0
  153. package/config/medium/DistinctCircularLinkedLists/input/03 - More Nodes.txt +8 -0
  154. package/config/medium/DistinctCircularLinkedLists/input/04 - Just One.txt +2 -0
  155. package/config/medium/DistinctCircularLinkedLists/input/05 - Even More Nodes.txt +10 -0
  156. package/config/medium/DistinctCircularLinkedLists/input/06 - Repeated Nodes.txt +6 -0
  157. package/config/medium/DistinctCircularLinkedLists/input/07 - Multiple Repeating Nodes.txt +9 -0
  158. package/config/medium/DistinctCircularLinkedLists/input/08 - Just One Again.txt +10 -0
  159. package/config/medium/DistinctCircularLinkedLists/input/09 - Good Pairing.txt +9 -0
  160. package/config/medium/DistinctCircularLinkedLists/input/10 - More Nodes 2.txt +13 -0
  161. package/config/medium/DistinctCircularLinkedLists/input/11 - Similar CLLs.txt +17 -0
  162. package/config/medium/DistinctCircularLinkedLists/input/12 - Even More Nodes 2.txt +31 -0
  163. package/config/medium/DistinctCircularLinkedLists/input/13 - Large CLLs.txt +61 -0
  164. package/config/medium/DistinctCircularLinkedLists/input/14 - Many Different Nodes.txt +101 -0
  165. package/config/medium/DistinctCircularLinkedLists/input/15 - Node Spam.txt +497 -0
  166. package/config/medium/DistinctCircularLinkedLists/input/16 - More Node Spam.txt +1000 -0
  167. package/config/medium/DistinctCircularLinkedLists/input/17 - Very Similar CLLs.txt +1985 -0
  168. package/config/medium/DistinctCircularLinkedLists/input/18 - Too Similar CLLs.txt +3361 -0
  169. package/config/medium/DistinctCircularLinkedLists/input/19 - Absolute Limit.txt +3997 -0
  170. package/config/medium/DistinctCircularLinkedLists/output/01 - Example.txt +1 -0
  171. package/config/medium/DistinctCircularLinkedLists/output/02 - Random Nodes.txt +1 -0
  172. package/config/medium/DistinctCircularLinkedLists/output/03 - More Nodes.txt +1 -0
  173. package/config/medium/DistinctCircularLinkedLists/output/04 - Just One.txt +1 -0
  174. package/config/medium/DistinctCircularLinkedLists/output/05 - Even More Nodes.txt +1 -0
  175. package/config/medium/DistinctCircularLinkedLists/output/06 - Repeated Nodes.txt +1 -0
  176. package/config/medium/DistinctCircularLinkedLists/output/07 - Multiple Repeating Nodes.txt +1 -0
  177. package/config/medium/DistinctCircularLinkedLists/output/08 - Just One Again.txt +1 -0
  178. package/config/medium/DistinctCircularLinkedLists/output/09 - Good Pairing.txt +1 -0
  179. package/config/medium/DistinctCircularLinkedLists/output/10 - More Nodes 2.txt +1 -0
  180. package/config/medium/DistinctCircularLinkedLists/output/11 - Similar CLLs.txt +1 -0
  181. package/config/medium/DistinctCircularLinkedLists/output/12 - Even More Nodes 2.txt +1 -0
  182. package/config/medium/DistinctCircularLinkedLists/output/13 - Large CLLs.txt +1 -0
  183. package/config/medium/DistinctCircularLinkedLists/output/14 - Many Different Nodes.txt +1 -0
  184. package/config/medium/DistinctCircularLinkedLists/output/15 - Node Spam.txt +1 -0
  185. package/config/medium/DistinctCircularLinkedLists/output/16 - More Node Spam.txt +1 -0
  186. package/config/medium/DistinctCircularLinkedLists/output/17 - Very Similar CLLs.txt +1 -0
  187. package/config/medium/DistinctCircularLinkedLists/output/18 - Too Similar CLLs.txt +1 -0
  188. package/config/medium/DistinctCircularLinkedLists/output/19 - Absolute Limit.txt +1 -0
  189. package/config/{easy → medium}/NoMorePythonsPlease/config.json +1 -1
  190. package/config/medium/SantasGarland/code/CGCode.cpp +27 -0
  191. package/config/medium/SantasGarland/code/CGCode.java +24 -0
  192. package/config/medium/SantasGarland/code/CGCode.js +17 -0
  193. package/config/medium/SantasGarland/code/CGCode.php +12 -0
  194. package/config/medium/SantasGarland/code/CGCode.ts +17 -0
  195. package/config/medium/SantasGarland/config.json +68 -0
  196. package/config/medium/SantasGarland/input/01 - Simple Path.txt +4 -0
  197. package/config/medium/SantasGarland/input/02 - Disconnected.txt +4 -0
  198. package/config/medium/SantasGarland/input/03 - Triangle with Alternative Path.txt +6 -0
  199. package/config/medium/SantasGarland/input/04 - Hexagon Bad Diagonal.txt +9 -0
  200. package/config/medium/SantasGarland/input/05 - Mid-failure with Bypass.txt +11 -0
  201. package/config/medium/SantasGarland/input/06 - Hub Blocked (different path lengths).txt +11 -0
  202. package/config/medium/SantasGarland/input/07 - Shortcut vs Two Detours.txt +12 -0
  203. package/config/medium/SantasGarland/input/08 - Grid Traversal.txt +14 -0
  204. package/config/medium/SantasGarland/input/09 - Fuses Blow at Final Step.txt +6 -0
  205. package/config/medium/SantasGarland/input/10 - Circle Complete Graph.txt +82 -0
  206. package/config/medium/SantasGarland/input/11 - Hamiltonian 10x10 Grid.txt +102 -0
  207. package/config/medium/SantasGarland/input/12 - Triple Path Challenge.txt +102 -0
  208. package/config/medium/SantasGarland/output/01 - Simple Path.txt +1 -0
  209. package/config/medium/SantasGarland/output/02 - Disconnected.txt +1 -0
  210. package/config/medium/SantasGarland/output/03 - Triangle with Alternative Path.txt +1 -0
  211. package/config/medium/SantasGarland/output/04 - Hexagon Bad Diagonal.txt +1 -0
  212. package/config/medium/SantasGarland/output/05 - Mid-failure with Bypass.txt +1 -0
  213. package/config/medium/SantasGarland/output/06 - Hub Blocked (different path lengths).txt +1 -0
  214. package/config/medium/SantasGarland/output/07 - Shortcut vs Two Detours.txt +1 -0
  215. package/config/medium/SantasGarland/output/08 - Grid Traversal.txt +1 -0
  216. package/config/medium/SantasGarland/output/09 - Fuses Blow at Final Step.txt +1 -0
  217. package/config/medium/SantasGarland/output/10 - Circle Complete Graph.txt +1 -0
  218. package/config/medium/SantasGarland/output/11 - Hamiltonian 10x10 Grid.txt +1 -0
  219. package/config/medium/SantasGarland/output/12 - Triple Path Challenge.txt +1 -0
  220. package/config/medium/ShortestPalindromicPath/code/CGCode.cpp +27 -0
  221. package/config/medium/ShortestPalindromicPath/code/CGCode.java +26 -0
  222. package/config/medium/ShortestPalindromicPath/code/CGCode.js +15 -0
  223. package/config/medium/ShortestPalindromicPath/code/CGCode.php +13 -0
  224. package/config/medium/ShortestPalindromicPath/code/CGCode.ts +15 -0
  225. package/config/medium/ShortestPalindromicPath/config.json +108 -0
  226. package/config/medium/ShortestPalindromicPath/input/01 - Example 1.txt +6 -0
  227. package/config/medium/ShortestPalindromicPath/input/02 - Example 2.txt +8 -0
  228. package/config/medium/ShortestPalindromicPath/input/03 - No Diagonal.txt +8 -0
  229. package/config/medium/ShortestPalindromicPath/input/04 - Palindromic Required.txt +8 -0
  230. package/config/medium/ShortestPalindromicPath/input/05 - All 26 Characters.txt +11 -0
  231. package/config/medium/ShortestPalindromicPath/input/06 - Smallest.txt +5 -0
  232. package/config/medium/ShortestPalindromicPath/input/07 - Adjacent Start and Goal.txt +9 -0
  233. package/config/medium/ShortestPalindromicPath/input/08 - Uniform.txt +9 -0
  234. package/config/medium/ShortestPalindromicPath/input/09 - Odd.txt +10 -0
  235. package/config/medium/ShortestPalindromicPath/input/10 - Even.txt +11 -0
  236. package/config/medium/ShortestPalindromicPath/input/11 - Multiple Paths.txt +7 -0
  237. package/config/medium/ShortestPalindromicPath/input/12 - Loop at Middle.txt +9 -0
  238. package/config/medium/ShortestPalindromicPath/input/13 - Loop at Start.txt +10 -0
  239. package/config/medium/ShortestPalindromicPath/input/14 - Loop at Goal.txt +11 -0
  240. package/config/medium/ShortestPalindromicPath/input/15 - Multiple Loops.txt +11 -0
  241. package/config/medium/ShortestPalindromicPath/input/16 - Long Sparse Snake.txt +53 -0
  242. package/config/medium/ShortestPalindromicPath/input/17 - Long Spiral.txt +53 -0
  243. package/config/medium/ShortestPalindromicPath/input/18 - Long Snake.txt +53 -0
  244. package/config/medium/ShortestPalindromicPath/input/19 - Many BFS Steps.txt +53 -0
  245. package/config/medium/ShortestPalindromicPath/input/20 - Many More BFS Steps.txt +53 -0
  246. package/config/medium/ShortestPalindromicPath/output/01 - Example 1.txt +1 -0
  247. package/config/medium/ShortestPalindromicPath/output/02 - Example 2.txt +1 -0
  248. package/config/medium/ShortestPalindromicPath/output/03 - No Diagonal.txt +1 -0
  249. package/config/medium/ShortestPalindromicPath/output/04 - Palindromic Required.txt +1 -0
  250. package/config/medium/ShortestPalindromicPath/output/05 - All 26 Characters.txt +1 -0
  251. package/config/medium/ShortestPalindromicPath/output/06 - Smallest.txt +1 -0
  252. package/config/medium/ShortestPalindromicPath/output/07 - Adjacent Start and Goal.txt +1 -0
  253. package/config/medium/ShortestPalindromicPath/output/08 - Uniform.txt +1 -0
  254. package/config/medium/ShortestPalindromicPath/output/09 - Odd.txt +1 -0
  255. package/config/medium/ShortestPalindromicPath/output/10 - Even.txt +1 -0
  256. package/config/medium/ShortestPalindromicPath/output/11 - Multiple Paths.txt +1 -0
  257. package/config/medium/ShortestPalindromicPath/output/12 - Loop at Middle.txt +1 -0
  258. package/config/medium/ShortestPalindromicPath/output/13 - Loop at Start.txt +1 -0
  259. package/config/medium/ShortestPalindromicPath/output/14 - Loop at Goal.txt +1 -0
  260. package/config/medium/ShortestPalindromicPath/output/15 - Multiple Loops.txt +1 -0
  261. package/config/medium/ShortestPalindromicPath/output/16 - Long Sparse Snake.txt +1 -0
  262. package/config/medium/ShortestPalindromicPath/output/17 - Long Spiral.txt +1 -0
  263. package/config/medium/ShortestPalindromicPath/output/18 - Long Snake.txt +1 -0
  264. package/config/medium/ShortestPalindromicPath/output/19 - Many BFS Steps.txt +1 -0
  265. package/config/medium/ShortestPalindromicPath/output/20 - Many More BFS Steps.txt +1 -0
  266. package/config/medium/Snowflakes/code/CGCode.cpp +23 -0
  267. package/config/medium/Snowflakes/code/CGCode.java +24 -0
  268. package/config/medium/Snowflakes/code/CGCode.js +12 -0
  269. package/config/medium/Snowflakes/code/CGCode.php +12 -0
  270. package/config/medium/Snowflakes/code/CGCode.ts +12 -0
  271. package/config/medium/Snowflakes/config.json +128 -0
  272. package/config/medium/Snowflakes/input/01 - Single Snowflake.txt +4 -0
  273. package/config/medium/Snowflakes/input/02 - Two Snowflakes.txt +6 -0
  274. package/config/medium/Snowflakes/input/03 - Simple Unique.txt +6 -0
  275. package/config/medium/Snowflakes/input/04 - Simple Rotation.txt +5 -0
  276. package/config/medium/Snowflakes/input/05 - Simple Flipped.txt +9 -0
  277. package/config/medium/Snowflakes/input/06 - All Rotations.txt +8 -0
  278. package/config/medium/Snowflakes/input/07 - All Orientations.txt +4 -0
  279. package/config/medium/Snowflakes/input/08 - Big Flake.txt +6 -0
  280. package/config/medium/Snowflakes/input/09 - Empty Sky.txt +31 -0
  281. package/config/medium/Snowflakes/input/10 - Micro-Lens.txt +2 -0
  282. package/config/medium/Snowflakes/input/11 - Micro-Lens 2.txt +2 -0
  283. package/config/medium/Snowflakes/input/12 - Single Flakes.txt +9 -0
  284. package/config/medium/Snowflakes/input/13 - Myth Busted.txt +21 -0
  285. package/config/medium/Snowflakes/input/14 - Myth Confirmed.txt +9 -0
  286. package/config/medium/Snowflakes/input/15 - Test 15.txt +49 -0
  287. package/config/medium/Snowflakes/input/16 - Test 16.txt +49 -0
  288. package/config/medium/Snowflakes/input/17 - Test 17.txt +51 -0
  289. package/config/medium/Snowflakes/input/18 - All But One.txt +31 -0
  290. package/config/medium/Snowflakes/input/19 - Random.txt +51 -0
  291. package/config/medium/Snowflakes/input/20 - Random 2.txt +21 -0
  292. package/config/medium/Snowflakes/input/21 - Random 3.txt +51 -0
  293. package/config/medium/Snowflakes/input/22 - Random 4.txt +51 -0
  294. package/config/medium/Snowflakes/input/23 - Many Hollow.txt +31 -0
  295. package/config/medium/Snowflakes/input/24 - Flakes in Flakes.txt +51 -0
  296. package/config/medium/Snowflakes/output/01 - Single Snowflake.txt +2 -0
  297. package/config/medium/Snowflakes/output/02 - Two Snowflakes.txt +2 -0
  298. package/config/medium/Snowflakes/output/03 - Simple Unique.txt +2 -0
  299. package/config/medium/Snowflakes/output/04 - Simple Rotation.txt +2 -0
  300. package/config/medium/Snowflakes/output/05 - Simple Flipped.txt +2 -0
  301. package/config/medium/Snowflakes/output/06 - All Rotations.txt +2 -0
  302. package/config/medium/Snowflakes/output/07 - All Orientations.txt +2 -0
  303. package/config/medium/Snowflakes/output/08 - Big Flake.txt +2 -0
  304. package/config/medium/Snowflakes/output/09 - Empty Sky.txt +2 -0
  305. package/config/medium/Snowflakes/output/10 - Micro-Lens.txt +2 -0
  306. package/config/medium/Snowflakes/output/11 - Micro-Lens 2.txt +2 -0
  307. package/config/medium/Snowflakes/output/12 - Single Flakes.txt +2 -0
  308. package/config/medium/Snowflakes/output/13 - Myth Busted.txt +2 -0
  309. package/config/medium/Snowflakes/output/14 - Myth Confirmed.txt +2 -0
  310. package/config/medium/Snowflakes/output/15 - Test 15.txt +2 -0
  311. package/config/medium/Snowflakes/output/16 - Test 16.txt +2 -0
  312. package/config/medium/Snowflakes/output/17 - Test 17.txt +2 -0
  313. package/config/medium/Snowflakes/output/18 - All But One.txt +2 -0
  314. package/config/medium/Snowflakes/output/19 - Random.txt +2 -0
  315. package/config/medium/Snowflakes/output/20 - Random 2.txt +2 -0
  316. package/config/medium/Snowflakes/output/21 - Random 3.txt +2 -0
  317. package/config/medium/Snowflakes/output/22 - Random 4.txt +2 -0
  318. package/config/medium/Snowflakes/output/23 - Many Hollow.txt +2 -0
  319. package/config/medium/Snowflakes/output/24 - Flakes in Flakes.txt +2 -0
  320. package/config/{easy → medium}/TheAlienBusinessOfCows/config.json +1 -1
  321. package/config/medium/TheQueensTrekWythoffsGame/code/CGCode.cpp +18 -0
  322. package/config/medium/TheQueensTrekWythoffsGame/code/CGCode.java +17 -0
  323. package/config/medium/TheQueensTrekWythoffsGame/code/CGCode.js +8 -0
  324. package/config/medium/TheQueensTrekWythoffsGame/code/CGCode.php +7 -0
  325. package/config/medium/TheQueensTrekWythoffsGame/code/CGCode.ts +8 -0
  326. package/config/medium/TheQueensTrekWythoffsGame/config.json +63 -0
  327. package/config/medium/TheQueensTrekWythoffsGame/input/01 - empty piles.txt +1 -0
  328. package/config/medium/TheQueensTrekWythoffsGame/input/02 - 1 move - pile 1 empty.txt +1 -0
  329. package/config/medium/TheQueensTrekWythoffsGame/input/03 - 1 move - pile 2 empty.txt +1 -0
  330. package/config/medium/TheQueensTrekWythoffsGame/input/04 - 1 move - 2 piles.txt +1 -0
  331. package/config/medium/TheQueensTrekWythoffsGame/input/05 - Simple one.txt +1 -0
  332. package/config/medium/TheQueensTrekWythoffsGame/input/06 - First win - 1.txt +1 -0
  333. package/config/medium/TheQueensTrekWythoffsGame/input/07 - Second win - 1.txt +1 -0
  334. package/config/medium/TheQueensTrekWythoffsGame/input/08 - First win - 2.txt +1 -0
  335. package/config/medium/TheQueensTrekWythoffsGame/input/09 - Second win - 2.txt +1 -0
  336. package/config/medium/TheQueensTrekWythoffsGame/input/10 - First win - 3.txt +1 -0
  337. package/config/medium/TheQueensTrekWythoffsGame/input/11 - Second win - 3.txt +1 -0
  338. package/config/medium/TheQueensTrekWythoffsGame/output/01 - empty piles.txt +1 -0
  339. package/config/medium/TheQueensTrekWythoffsGame/output/02 - 1 move - pile 1 empty.txt +1 -0
  340. package/config/medium/TheQueensTrekWythoffsGame/output/03 - 1 move - pile 2 empty.txt +1 -0
  341. package/config/medium/TheQueensTrekWythoffsGame/output/04 - 1 move - 2 piles.txt +1 -0
  342. package/config/medium/TheQueensTrekWythoffsGame/output/05 - Simple one.txt +1 -0
  343. package/config/medium/TheQueensTrekWythoffsGame/output/06 - First win - 1.txt +1 -0
  344. package/config/medium/TheQueensTrekWythoffsGame/output/07 - Second win - 1.txt +1 -0
  345. package/config/medium/TheQueensTrekWythoffsGame/output/08 - First win - 2.txt +1 -0
  346. package/config/medium/TheQueensTrekWythoffsGame/output/09 - Second win - 2.txt +1 -0
  347. package/config/medium/TheQueensTrekWythoffsGame/output/10 - First win - 3.txt +1 -0
  348. package/config/medium/TheQueensTrekWythoffsGame/output/11 - Second win - 3.txt +1 -0
  349. package/config/medium/TicTacToeEngine/code/CGCode.cpp +21 -0
  350. package/config/medium/TicTacToeEngine/code/CGCode.java +19 -0
  351. package/config/medium/TicTacToeEngine/code/CGCode.js +9 -0
  352. package/config/medium/TicTacToeEngine/code/CGCode.php +11 -0
  353. package/config/medium/TicTacToeEngine/code/CGCode.ts +9 -0
  354. package/config/medium/TicTacToeEngine/config.json +68 -0
  355. package/config/medium/TicTacToeEngine/input/01 - Winning Move.txt +4 -0
  356. package/config/medium/TicTacToeEngine/input/02 - Blocking the Win.txt +4 -0
  357. package/config/medium/TicTacToeEngine/input/03 - Decisive Move.txt +4 -0
  358. package/config/medium/TicTacToeEngine/input/04 - Drawn.txt +4 -0
  359. package/config/medium/TicTacToeEngine/input/05 - Optimal Win.txt +4 -0
  360. package/config/medium/TicTacToeEngine/input/06 - Winning Position.txt +4 -0
  361. package/config/medium/TicTacToeEngine/input/07 - Lost.txt +4 -0
  362. package/config/medium/TicTacToeEngine/input/08 - Hold the Draw.txt +4 -0
  363. package/config/medium/TicTacToeEngine/input/09 - Losing Position.txt +4 -0
  364. package/config/medium/TicTacToeEngine/input/10 - Free Reign.txt +4 -0
  365. package/config/medium/TicTacToeEngine/input/11 - Corner Strategy.txt +4 -0
  366. package/config/medium/TicTacToeEngine/input/12 - Starting Position.txt +4 -0
  367. package/config/medium/TicTacToeEngine/output/01 - Winning Move.txt +3 -0
  368. package/config/medium/TicTacToeEngine/output/02 - Blocking the Win.txt +3 -0
  369. package/config/medium/TicTacToeEngine/output/03 - Decisive Move.txt +3 -0
  370. package/config/medium/TicTacToeEngine/output/04 - Drawn.txt +3 -0
  371. package/config/medium/TicTacToeEngine/output/05 - Optimal Win.txt +3 -0
  372. package/config/medium/TicTacToeEngine/output/06 - Winning Position.txt +3 -0
  373. package/config/medium/TicTacToeEngine/output/07 - Lost.txt +3 -0
  374. package/config/medium/TicTacToeEngine/output/08 - Hold the Draw.txt +3 -0
  375. package/config/medium/TicTacToeEngine/output/09 - Losing Position.txt +3 -0
  376. package/config/medium/TicTacToeEngine/output/10 - Free Reign.txt +3 -0
  377. package/config/medium/TicTacToeEngine/output/11 - Corner Strategy.txt +3 -0
  378. package/config/medium/TicTacToeEngine/output/12 - Starting Position.txt +3 -0
  379. package/package.json +1 -1
  380. /package/config/{medium/Surakarta/output/03 - impossible.txt → easy/LinesIntersections/input/07 - Zero.txt} +0 -0
  381. /package/config/{medium/Surakarta/output/06 - we have a problem.txt → easy/LinesIntersections/output/03 - Two parallel.txt} +0 -0
  382. /package/config/{medium/Surakarta/output/08 - number test.txt → easy/LinesIntersections/output/06 - One line.txt} +0 -0
  383. /package/config/{medium → hard}/GuessingDigits/code/CGCode.js +0 -0
  384. /package/config/{medium → hard}/GuessingDigits/code/CGCode.php +0 -0
  385. /package/config/{medium → hard}/GuessingDigits/input/01 - test 1.txt +0 -0
  386. /package/config/{medium → hard}/GuessingDigits/input/02 - test 2.txt +0 -0
  387. /package/config/{medium → hard}/GuessingDigits/input/03 - test 3.txt +0 -0
  388. /package/config/{medium → hard}/GuessingDigits/input/04 - test 4.txt +0 -0
  389. /package/config/{medium → hard}/GuessingDigits/input/05 - test 5.txt +0 -0
  390. /package/config/{medium → hard}/GuessingDigits/input/06 - test 6.txt +0 -0
  391. /package/config/{medium → hard}/GuessingDigits/input/07 - test 7.txt +0 -0
  392. /package/config/{medium → hard}/GuessingDigits/input/08 - test 8.txt +0 -0
  393. /package/config/{medium → hard}/GuessingDigits/output/01 - test 1.txt +0 -0
  394. /package/config/{medium → hard}/GuessingDigits/output/02 - test 2.txt +0 -0
  395. /package/config/{medium → hard}/GuessingDigits/output/03 - test 3.txt +0 -0
  396. /package/config/{medium → hard}/GuessingDigits/output/04 - test 4.txt +0 -0
  397. /package/config/{medium → hard}/GuessingDigits/output/05 - test 5.txt +0 -0
  398. /package/config/{medium → hard}/GuessingDigits/output/06 - test 6.txt +0 -0
  399. /package/config/{medium → hard}/GuessingDigits/output/07 - test 7.txt +0 -0
  400. /package/config/{medium → hard}/GuessingDigits/output/08 - test 8.txt +0 -0
  401. /package/config/{medium/Surakarta/output/05 - angles are not OK.txt → hard/MountainRange/output/01 - Two summits.txt} +0 -0
  402. /package/config/{medium/Surakarta/output/02 - multiple ways.txt → hard/MountainRange/output/02 - Close summits.txt} +0 -0
  403. /package/config/{medium/Surakarta/output/07 - it works.txt → hard/MountainRange/output/05 - Flat summits.txt} +0 -0
  404. /package/config/{medium/Surakarta/output/10 - real test.txt → hard/MountainRange/output/06 - Aligned mountains.txt} +0 -0
  405. /package/config/{medium/Surakarta/output/04 - pass on yourself.txt → hard/MountainRange/output/18 - One in front of three.txt} +0 -0
  406. /package/config/{medium → hard}/ParseSQLQueries/code/CGCode.js +0 -0
  407. /package/config/{medium → hard}/ParseSQLQueries/code/CGCode.php +0 -0
  408. /package/config/{medium → hard}/ParseSQLQueries/input/01 - select all.txt +0 -0
  409. /package/config/{medium → hard}/ParseSQLQueries/input/02 - Select from where.txt +0 -0
  410. /package/config/{medium → hard}/ParseSQLQueries/input/03 - Order by ascending.txt +0 -0
  411. /package/config/{medium → hard}/ParseSQLQueries/input/04 - Order by descending.txt +0 -0
  412. /package/config/{medium → hard}/ParseSQLQueries/input/05 - Slightly more advanced.txt +0 -0
  413. /package/config/{medium → hard}/ParseSQLQueries/output/01 - select all.txt +0 -0
  414. /package/config/{medium → hard}/ParseSQLQueries/output/02 - Select from where.txt +0 -0
  415. /package/config/{medium → hard}/ParseSQLQueries/output/03 - Order by ascending.txt +0 -0
  416. /package/config/{medium → hard}/ParseSQLQueries/output/04 - Order by descending.txt +0 -0
  417. /package/config/{medium → hard}/ParseSQLQueries/output/05 - Slightly more advanced.txt +0 -0
  418. /package/config/{expert → hard}/RecurringDecimals/code/CGCode.cpp +0 -0
  419. /package/config/{expert → hard}/RecurringDecimals/code/CGCode.java +0 -0
  420. /package/config/{expert → hard}/RecurringDecimals/code/CGCode.js +0 -0
  421. /package/config/{expert → hard}/RecurringDecimals/code/CGCode.php +0 -0
  422. /package/config/{expert → hard}/RecurringDecimals/code/CGCode.ts +0 -0
  423. /package/config/{expert → hard}/RecurringDecimals/input/01 - Small Terminating.txt +0 -0
  424. /package/config/{expert → hard}/RecurringDecimals/input/02 - Medium Terminating.txt +0 -0
  425. /package/config/{expert → hard}/RecurringDecimals/input/03 - Large Terminating.txt +0 -0
  426. /package/config/{expert → hard}/RecurringDecimals/input/04 - Small Non-Terminating.txt +0 -0
  427. /package/config/{expert → hard}/RecurringDecimals/input/05 - Medium Non-Terminating.txt +0 -0
  428. /package/config/{expert → hard}/RecurringDecimals/input/06 - Large Non Terminating.txt +0 -0
  429. /package/config/{expert → hard}/RecurringDecimals/input/07 - Small Mixed.txt +0 -0
  430. /package/config/{expert → hard}/RecurringDecimals/input/08 - Large Mixed.txt +0 -0
  431. /package/config/{expert → hard}/RecurringDecimals/input/09 - Test 9.txt +0 -0
  432. /package/config/{expert → hard}/RecurringDecimals/output/01 - Small Terminating.txt +0 -0
  433. /package/config/{expert → hard}/RecurringDecimals/output/02 - Medium Terminating.txt +0 -0
  434. /package/config/{expert → hard}/RecurringDecimals/output/03 - Large Terminating.txt +0 -0
  435. /package/config/{expert → hard}/RecurringDecimals/output/04 - Small Non-Terminating.txt +0 -0
  436. /package/config/{expert → hard}/RecurringDecimals/output/05 - Medium Non-Terminating.txt +0 -0
  437. /package/config/{expert → hard}/RecurringDecimals/output/06 - Large Non Terminating.txt +0 -0
  438. /package/config/{expert → hard}/RecurringDecimals/output/07 - Small Mixed.txt +0 -0
  439. /package/config/{expert → hard}/RecurringDecimals/output/08 - Large Mixed.txt +0 -0
  440. /package/config/{expert → hard}/RecurringDecimals/output/09 - Test 9.txt +0 -0
  441. /package/config/{medium → hard}/Surakarta/code/CGCode.js +0 -0
  442. /package/config/{medium → hard}/Surakarta/code/CGCode.php +0 -0
  443. /package/config/{medium → hard}/Surakarta/input/01 - around the world.txt +0 -0
  444. /package/config/{medium → hard}/Surakarta/input/02 - multiple ways.txt +0 -0
  445. /package/config/{medium → hard}/Surakarta/input/03 - impossible.txt +0 -0
  446. /package/config/{medium → hard}/Surakarta/input/04 - pass on yourself.txt +0 -0
  447. /package/config/{medium → hard}/Surakarta/input/05 - angles are not OK.txt +0 -0
  448. /package/config/{medium → hard}/Surakarta/input/06 - we have a problem.txt +0 -0
  449. /package/config/{medium → hard}/Surakarta/input/07 - it works.txt +0 -0
  450. /package/config/{medium → hard}/Surakarta/input/08 - number test.txt +0 -0
  451. /package/config/{medium → hard}/Surakarta/input/09 - crossway.txt +0 -0
  452. /package/config/{medium → hard}/Surakarta/input/10 - real test.txt +0 -0
  453. /package/config/{medium → hard}/Surakarta/output/01 - around the world.txt +0 -0
  454. /package/config/{medium → hard}/Surakarta/output/09 - crossway.txt +0 -0
  455. /package/config/{easy → medium}/NoMorePythonsPlease/code/CGCode.js +0 -0
  456. /package/config/{easy → medium}/NoMorePythonsPlease/code/CGCode.php +0 -0
  457. /package/config/{easy → medium}/NoMorePythonsPlease/input/01 - easy (one snake).txt +0 -0
  458. /package/config/{easy → medium}/NoMorePythonsPlease/input/02 - medium 1 (3 snakes, one pattern).txt +0 -0
  459. /package/config/{easy → medium}/NoMorePythonsPlease/input/03 - medium 2 (more than 1 large snake).txt +0 -0
  460. /package/config/{easy → medium}/NoMorePythonsPlease/input/04 - hard (one VERY large snake).txt +0 -0
  461. /package/config/{easy → medium}/NoMorePythonsPlease/input/05 - snake madness (for geeks).txt +0 -0
  462. /package/config/{easy → medium}/NoMorePythonsPlease/output/01 - easy (one snake).txt +0 -0
  463. /package/config/{easy → medium}/NoMorePythonsPlease/output/02 - medium 1 (3 snakes, one pattern).txt +0 -0
  464. /package/config/{easy → medium}/NoMorePythonsPlease/output/03 - medium 2 (more than 1 large snake).txt +0 -0
  465. /package/config/{easy → medium}/NoMorePythonsPlease/output/04 - hard (one VERY large snake).txt +0 -0
  466. /package/config/{easy → medium}/NoMorePythonsPlease/output/05 - snake madness (for geeks).txt +0 -0
  467. /package/config/{easy → medium}/TheAlienBusinessOfCows/code/CGCode.js +0 -0
  468. /package/config/{easy → medium}/TheAlienBusinessOfCows/code/CGCode.php +0 -0
  469. /package/config/{easy → medium}/TheAlienBusinessOfCows/input/01 - United Steak of America.txt +0 -0
  470. /package/config/{easy → medium}/TheAlienBusinessOfCows/input/02 - Free Tacow !.txt +0 -0
  471. /package/config/{easy → medium}/TheAlienBusinessOfCows/input/03 - Is that a Mowse.txt +0 -0
  472. /package/config/{easy → medium}/TheAlienBusinessOfCows/input/04 - Those missions are stupid.txt +0 -0
  473. /package/config/{easy → medium}/TheAlienBusinessOfCows/input/05 - Union of Steak Amateurs.txt +0 -0
  474. /package/config/{easy → medium}/TheAlienBusinessOfCows/output/01 - United Steak of America.txt +0 -0
  475. /package/config/{easy → medium}/TheAlienBusinessOfCows/output/02 - Free Tacow !.txt +0 -0
  476. /package/config/{easy → medium}/TheAlienBusinessOfCows/output/03 - Is that a Mowse.txt +0 -0
  477. /package/config/{easy → medium}/TheAlienBusinessOfCows/output/04 - Those missions are stupid.txt +0 -0
  478. /package/config/{easy → medium}/TheAlienBusinessOfCows/output/05 - Union of Steak Amateurs.txt +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.23.0] - 2026-02-02
8
+ ### Added
9
+ - configuration for "Mountain range".
10
+ - configuration for "Distinct Circular Linked Lists".
11
+ - configuration for "The Queen’s Trek (Wythoff’s Game)".
12
+ - configuration for "Simple Diff Tool".
13
+ - configuration for "Santa’s Garland".
14
+
15
+ ### Changed
16
+ - difficulty of "No More Pythons, Please!" from easy to medium.
17
+ - difficulty of "The alien business of cows" from easy to medium.
18
+ - difficulty of "Surakarta" from medium to hard.
19
+ - difficulty of "Recurring Decimals" from expert to hard.
20
+ - difficulty of "Guessing digits" from medium to hard.
21
+ - difficulty of "Parse SQL Queries" from medium to hard.
22
+
23
+ ## [1.22.0] - 2025-12-31
24
+ ### Added
25
+ - configuration for "Lines Intersections".
26
+ - configuration for "Tic Tac Toe Engine".
27
+ - configuration for "Shortest Palindromic Path".
28
+ - configuration for "Snowflakes".
29
+ - configuration for "Set Probabilities (Card Game)".
30
+
7
31
  ## [1.21.0] - 2025-11-30
8
32
  ### Added
9
33
  - configuration for "Gauss and the Stolen Numbers".
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024-2025 Cyril VERLOOP
3
+ Copyright (c) 2024-2026 Cyril VERLOOP
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -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 n;
11
+ cin >> n; cin.ignore();
12
+ for (int i = 0; i < n; i++) {
13
+ int x1;
14
+ int y1;
15
+ int x2;
16
+ int y2;
17
+ cin >> x1 >> y1 >> x2 >> y2; cin.ignore();
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "0" << endl;
24
+ }
@@ -0,0 +1,22 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int n = in.nextInt();
10
+ for (int i = 0; i < n; i++) {
11
+ int x1 = in.nextInt();
12
+ int y1 = in.nextInt();
13
+ int x2 = in.nextInt();
14
+ int y2 = in.nextInt();
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("0");
21
+ }
22
+ }
@@ -0,0 +1,13 @@
1
+ const n = parseInt(readline());
2
+ for (let i = 0; i < n; i++) {
3
+ var inputs = readline().split(' ');
4
+ const x1 = parseInt(inputs[0]);
5
+ const y1 = parseInt(inputs[1]);
6
+ const x2 = parseInt(inputs[2]);
7
+ const y2 = parseInt(inputs[3]);
8
+ }
9
+
10
+ // Write an answer using console.log()
11
+ // To debug: console.error('Debug messages...');
12
+
13
+ console.log('0');
@@ -0,0 +1,11 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $n);
3
+ for ($i = 0; $i < $n; $i++)
4
+ {
5
+ fscanf(STDIN, "%d %d %d %d", $x1, $y1, $x2, $y2);
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("0\n");
@@ -0,0 +1,13 @@
1
+ const n: number = parseInt(readline());
2
+ for (let i = 0; i < n; i++) {
3
+ var inputs: string[] = readline().split(' ');
4
+ const x1: number = parseInt(inputs[0]);
5
+ const y1: number = parseInt(inputs[1]);
6
+ const x2: number = parseInt(inputs[2]);
7
+ const y2: number = parseInt(inputs[3]);
8
+ }
9
+
10
+ // Write an answer using console.log()
11
+ // To debug: console.error('Debug messages...');
12
+
13
+ console.log('0');
@@ -0,0 +1,68 @@
1
+ {
2
+ "path": "easy/LinesIntersections",
3
+ "name": "Lines Intersections",
4
+ "alphanumName": "LinesIntersections",
5
+ "link": "https://www.codingame.com/ide/puzzle/lines-intersections",
6
+ "tests": [
7
+ {
8
+ "name": "Triangle",
9
+ "alphanumName": "Triangle",
10
+ "file": "01 - Triangle.txt"
11
+ },
12
+ {
13
+ "name": "Two intersects",
14
+ "alphanumName": "TwoIntersects",
15
+ "file": "02 - Two intersects.txt"
16
+ },
17
+ {
18
+ "name": "Two parallel",
19
+ "alphanumName": "TwoParallel",
20
+ "file": "03 - Two parallel.txt"
21
+ },
22
+ {
23
+ "name": "Square",
24
+ "alphanumName": "Square",
25
+ "file": "04 - Square.txt"
26
+ },
27
+ {
28
+ "name": "Square crossed",
29
+ "alphanumName": "SquareCrossed",
30
+ "file": "05 - Square crossed.txt"
31
+ },
32
+ {
33
+ "name": "One line",
34
+ "alphanumName": "OneLine",
35
+ "file": "06 - One line.txt"
36
+ },
37
+ {
38
+ "name": "Zero",
39
+ "alphanumName": "Zero",
40
+ "file": "07 - Zero.txt"
41
+ },
42
+ {
43
+ "name": "10 lines",
44
+ "alphanumName": "TenLines",
45
+ "file": "08 - 10 lines.txt"
46
+ },
47
+ {
48
+ "name": "10 lines with maximum intersections",
49
+ "alphanumName": "TenLinesWithMaximumIntersections",
50
+ "file": "09 - 10 lines with maximum intersections.txt"
51
+ },
52
+ {
53
+ "name": "10 coincident lines",
54
+ "alphanumName": "TenCoincidentLines",
55
+ "file": "10 - 10 coincident lines.txt"
56
+ },
57
+ {
58
+ "name": "All cases",
59
+ "alphanumName": "AllCases",
60
+ "file": "11 - All cases.txt"
61
+ },
62
+ {
63
+ "name": "Star",
64
+ "alphanumName": "Star",
65
+ "file": "12 - Star.txt"
66
+ }
67
+ ]
68
+ }
@@ -0,0 +1,4 @@
1
+ 3
2
+ -6 -5 12 12
3
+ 4 -44 9 19
4
+ 4 -44 50 19
@@ -0,0 +1,3 @@
1
+ 2
2
+ 4 20 20 4
3
+ 0 0 0 50
@@ -0,0 +1,3 @@
1
+ 2
2
+ 1 1 20 20
3
+ 16 0 20 4
@@ -0,0 +1,5 @@
1
+ 4
2
+ 0 0 4 0
3
+ 4 0 4 4
4
+ 4 4 0 4
5
+ 0 4 0 0
@@ -0,0 +1,7 @@
1
+ 6
2
+ 2 3 12 3
3
+ 2 13 12 13
4
+ 2 3 2 13
5
+ 12 3 12 13
6
+ 2 3 12 13
7
+ 2 13 12 3
@@ -0,0 +1,2 @@
1
+ 1
2
+ 45 23 12 -9
@@ -0,0 +1,11 @@
1
+ 10
2
+ 0 0 20 20
3
+ 0 20 10 40
4
+ 100 60 10 20
5
+ 0 10 20 10
6
+ 0 1 20 21
7
+ 0 2 20 22
8
+ 0 19 20 -1
9
+ 5 0 5 20
10
+ 0 11 20 11
11
+ 15 0 15 20
@@ -0,0 +1,11 @@
1
+ 10
2
+ -9 -80 -70 -65
3
+ -80 10 -60 85
4
+ -50 -9 -30 -75
5
+ -40 60 -2 45
6
+ -30 -5 -15 -30
7
+ 10 7 30 55
8
+ 20 -6 40 -45
9
+ 30 95 5 70
10
+ 60 -85 8 -60
11
+ 70 4 90 25
@@ -0,0 +1,11 @@
1
+ 10
2
+ -6 -8 -1 2
3
+ -5 -6 2 8
4
+ 0 4 -4 -4
5
+ -10 -16 10 24
6
+ -24 -44 -22 -40
7
+ 38 80 39 82
8
+ 48 100 -52 -100
9
+ -40 -76 -52 -100
10
+ -1 2 48 100
11
+ 0 4 -2 0
@@ -0,0 +1,11 @@
1
+ 10
2
+ -3 0 -3 5
3
+ -3 -8 -3 -9
4
+ -2 2 2 3
5
+ -3 -2 1 -1
6
+ -8 7 12 -1
7
+ -18 11 27 -7
8
+ 0 0 0 1
9
+ 0 -1 0 -2
10
+ 0 0 1 0
11
+ -1 0 -2 0
@@ -0,0 +1,9 @@
1
+ 8
2
+ 0 1 0 -1
3
+ -1 0 1 0
4
+ 2 2 -2 -2
5
+ -2 2 2 -2
6
+ -3 1 3 -1
7
+ -3 -1 3 1
8
+ -1 3 1 -3
9
+ -1 -3 1 3
@@ -0,0 +1,4 @@
1
+ 3
2
+ 4.000 -44.000
3
+ 8.156 8.370
4
+ 117.955 112.068
@@ -0,0 +1,5 @@
1
+ 4
2
+ 0.000 0.000
3
+ 0.000 4.000
4
+ 4.000 0.000
5
+ 4.000 4.000
@@ -0,0 +1,6 @@
1
+ 5
2
+ 2.000 3.000
3
+ 2.000 13.000
4
+ 7.000 8.000
5
+ 12.000 3.000
6
+ 12.000 13.000
@@ -0,0 +1,39 @@
1
+ 38
2
+ -20.000 -20.000
3
+ -19.000 -18.000
4
+ -18.000 -16.000
5
+ -12.500 10.000
6
+ -10.250 11.000
7
+ -5.000 10.000
8
+ -4.500 11.000
9
+ -2.857 14.286
10
+ -0.333 19.333
11
+ 2.385 16.615
12
+ 5.000 5.000
13
+ 5.000 6.000
14
+ 5.000 7.000
15
+ 5.000 10.000
16
+ 5.000 11.000
17
+ 5.000 14.000
18
+ 5.000 17.778
19
+ 5.000 30.000
20
+ 8.000 10.000
21
+ 8.000 11.000
22
+ 8.500 10.500
23
+ 9.000 10.000
24
+ 9.000 11.000
25
+ 9.500 9.500
26
+ 10.000 10.000
27
+ 10.000 11.000
28
+ 11.000 11.000
29
+ 15.000 4.000
30
+ 15.000 10.000
31
+ 15.000 11.000
32
+ 15.000 15.000
33
+ 15.000 16.000
34
+ 15.000 17.000
35
+ 15.000 22.222
36
+ 15.000 50.000
37
+ 24.400 26.400
38
+ 26.200 27.200
39
+ 28.000 28.000
@@ -0,0 +1,46 @@
1
+ 45
2
+ -1166.588 504.706
3
+ -242.222 -598.333
4
+ -153.333 332.000
5
+ -140.556 -217.083
6
+ -118.158 -53.158
7
+ -98.154 -58.077
8
+ -89.091 -24.091
9
+ -86.545 -14.545
10
+ -81.818 -16.818
11
+ -78.000 75.000
12
+ -75.109 73.859
13
+ -72.857 66.429
14
+ -68.652 52.553
15
+ -67.385 57.308
16
+ -64.127 69.524
17
+ -55.581 9.419
18
+ -48.596 127.763
19
+ -45.000 20.000
20
+ -41.801 -36.057
21
+ -38.889 -110.333
22
+ -30.054 -74.823
23
+ -27.544 -83.105
24
+ -24.647 -76.152
25
+ -24.023 -94.724
26
+ -14.906 50.094
27
+ -13.591 -49.619
28
+ -10.847 54.153
29
+ -9.810 -79.801
30
+ -9.344 -39.426
31
+ -7.208 47.056
32
+ 0.973 -56.622
33
+ 5.337 -63.896
34
+ 8.719 -60.345
35
+ 11.494 10.586
36
+ 19.154 -86.923
37
+ 21.902 35.565
38
+ 34.167 -33.625
39
+ 58.571 123.571
40
+ 60.681 -85.327
41
+ 67.609 -98.838
42
+ 78.707 13.142
43
+ 110.953 -109.497
44
+ 310.588 -572.647
45
+ 849.420 -291.087
46
+ 2690.000 2755.000
@@ -0,0 +1,14 @@
1
+ 13
2
+ -10.000 0.000
3
+ -3.000 -2.000
4
+ -3.000 0.000
5
+ -3.000 1.750
6
+ -3.000 5.000
7
+ 0.000 -1.250
8
+ 0.000 0.000
9
+ 0.000 2.500
10
+ 0.000 3.800
11
+ 2.000 3.000
12
+ 5.000 0.000
13
+ 7.769 0.692
14
+ 9.500 0.000
@@ -0,0 +1,2 @@
1
+ 1
2
+ 0.000 0.000
@@ -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 n; // the number of cards on the table
11
+ cin >> n; cin.ignore();
12
+ for (int i = 0; i < n; i++) {
13
+ int number;
14
+ string shading;
15
+ string color;
16
+ string shape;
17
+ cin >> number >> shading >> color >> shape; cin.ignore();
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "0.5000" << endl;
24
+ }
@@ -0,0 +1,22 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int n = in.nextInt(); // the number of cards on the table
10
+ for (int i = 0; i < n; i++) {
11
+ int number = in.nextInt();
12
+ String shading = in.next();
13
+ String color = in.next();
14
+ String shape = in.next();
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("0.5000");
21
+ }
22
+ }
@@ -0,0 +1,13 @@
1
+ const n = parseInt(readline()); // the number of cards on the table
2
+ for (let i = 0; i < n; i++) {
3
+ var inputs = readline().split(' ');
4
+ const number = parseInt(inputs[0]);
5
+ const shading = inputs[1];
6
+ const color = inputs[2];
7
+ const shape = inputs[3];
8
+ }
9
+
10
+ // Write an answer using console.log()
11
+ // To debug: console.error('Debug messages...');
12
+
13
+ console.log('0.5000');
@@ -0,0 +1,12 @@
1
+ <?php
2
+ // $n: the number of cards on the table
3
+ fscanf(STDIN, "%d", $n);
4
+ for ($i = 0; $i < $n; $i++)
5
+ {
6
+ fscanf(STDIN, "%d %s %s %s", $number, $shading, $color, $shape);
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("0.5000\n");
@@ -0,0 +1,13 @@
1
+ const n: number = parseInt(readline()); // the number of cards on the table
2
+ for (let i = 0; i < n; i++) {
3
+ var inputs: string[] = readline().split(' ');
4
+ const number: number = parseInt(inputs[0]);
5
+ const shading: string = inputs[1];
6
+ const color: string = inputs[2];
7
+ const shape: string = inputs[3];
8
+ }
9
+
10
+ // Write an answer using console.log()
11
+ // To debug: console.error('Debug messages...');
12
+
13
+ console.log('0.5000');
@@ -0,0 +1,48 @@
1
+ {
2
+ "path": "easy/SetProbabilitiesCardGame",
3
+ "name": "Set Probabilities (Card Game)",
4
+ "alphanumName": "SetProbabilitiesCardGame",
5
+ "link": "https://www.codingame.com/ide/puzzle/set-probabilities-card-game",
6
+ "tests": [
7
+ {
8
+ "name": "A simple start",
9
+ "alphanumName": "ASimpleStart",
10
+ "file": "01 - A simple start.txt"
11
+ },
12
+ {
13
+ "name": "A few more cards",
14
+ "alphanumName": "AFewMoreCards",
15
+ "file": "02 - A few more cards.txt"
16
+ },
17
+ {
18
+ "name": "And a few more...",
19
+ "alphanumName": "AndAFewMore",
20
+ "file": "03 - And a few more....txt"
21
+ },
22
+ {
23
+ "name": "A classic game of set",
24
+ "alphanumName": "AClassicGameOfSet",
25
+ "file": "04 - A classic game of set.txt"
26
+ },
27
+ {
28
+ "name": "Lots of cards",
29
+ "alphanumName": "LotsOfCards",
30
+ "file": "05 - Lots of cards.txt"
31
+ },
32
+ {
33
+ "name": "Almost guaranteed",
34
+ "alphanumName": "AlmostGuaranteed",
35
+ "file": "06 - Almost guaranteed.txt"
36
+ },
37
+ {
38
+ "name": "No need to draw a card!",
39
+ "alphanumName": "NoNeedToDrawACard",
40
+ "file": "07 - No need to draw a card!.txt"
41
+ },
42
+ {
43
+ "name": "I need to draw a card??",
44
+ "alphanumName": "INeedToDrawACard",
45
+ "file": "08 - I need to draw a card.txt"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,3 @@
1
+ 2
2
+ 2 SOLID RED SQUIGGLE
3
+ 1 OUTLINED GREEN SQUIGGLE
@@ -0,0 +1,6 @@
1
+ 5
2
+ 3 STRIPED PURPLE OVAL
3
+ 1 OUTLINED GREEN OVAL
4
+ 2 STRIPED RED DIAMOND
5
+ 3 STRIPED RED DIAMOND
6
+ 2 OUTLINED PURPLE SQUIGGLE
@@ -0,0 +1,9 @@
1
+ 8
2
+ 1 STRIPED GREEN OVAL
3
+ 2 OUTLINED PURPLE OVAL
4
+ 2 STRIPED GREEN SQUIGGLE
5
+ 3 SOLID PURPLE DIAMOND
6
+ 1 SOLID RED OVAL
7
+ 3 OUTLINED GREEN SQUIGGLE
8
+ 2 STRIPED RED DIAMOND
9
+ 3 OUTLINED RED DIAMOND
@@ -0,0 +1,13 @@
1
+ 12
2
+ 3 OUTLINED RED SQUIGGLE
3
+ 2 SOLID GREEN OVAL
4
+ 3 STRIPED GREEN OVAL
5
+ 1 SOLID PURPLE DIAMOND
6
+ 3 SOLID GREEN SQUIGGLE
7
+ 2 OUTLINED GREEN OVAL
8
+ 1 SOLID RED SQUIGGLE
9
+ 1 OUTLINED PURPLE OVAL
10
+ 3 SOLID PURPLE OVAL
11
+ 1 STRIPED GREEN OVAL
12
+ 3 SOLID GREEN DIAMOND
13
+ 1 OUTLINED GREEN SQUIGGLE
@@ -0,0 +1,16 @@
1
+ 15
2
+ 2 SOLID RED SQUIGGLE
3
+ 3 STRIPED RED OVAL
4
+ 3 STRIPED PURPLE DIAMOND
5
+ 2 SOLID RED DIAMOND
6
+ 3 SOLID GREEN OVAL
7
+ 3 STRIPED GREEN DIAMOND
8
+ 2 SOLID GREEN DIAMOND
9
+ 3 OUTLINED RED OVAL
10
+ 2 STRIPED PURPLE SQUIGGLE
11
+ 1 OUTLINED RED OVAL
12
+ 2 SOLID GREEN OVAL
13
+ 3 OUTLINED PURPLE SQUIGGLE
14
+ 2 STRIPED PURPLE DIAMOND
15
+ 2 STRIPED RED SQUIGGLE
16
+ 1 SOLID RED SQUIGGLE
@@ -0,0 +1,20 @@
1
+ 19
2
+ 3 STRIPED GREEN DIAMOND
3
+ 2 SOLID RED SQUIGGLE
4
+ 1 OUTLINED RED DIAMOND
5
+ 3 SOLID RED OVAL
6
+ 3 STRIPED PURPLE SQUIGGLE
7
+ 2 SOLID RED OVAL
8
+ 3 OUTLINED GREEN OVAL
9
+ 3 SOLID PURPLE DIAMOND
10
+ 1 STRIPED PURPLE SQUIGGLE
11
+ 1 SOLID PURPLE DIAMOND
12
+ 2 OUTLINED PURPLE DIAMOND
13
+ 2 STRIPED PURPLE OVAL
14
+ 3 SOLID PURPLE SQUIGGLE
15
+ 3 SOLID RED SQUIGGLE
16
+ 2 OUTLINED RED SQUIGGLE
17
+ 1 OUTLINED RED OVAL
18
+ 3 OUTLINED RED SQUIGGLE
19
+ 1 STRIPED RED OVAL
20
+ 1 SOLID PURPLE SQUIGGLE
@@ -0,0 +1,8 @@
1
+ 7
2
+ 1 SOLID RED SQUIGGLE
3
+ 2 OUTLINED PURPLE OVAL
4
+ 3 OUTLINED PURPLE DIAMOND
5
+ 1 STRIPED GREEN DIAMOND
6
+ 2 SOLID RED OVAL
7
+ 2 STRIPED GREEN OVAL
8
+ 3 SOLID RED SQUIGGLE