@cyrilverloop/codingame-configuration 1.6.0 → 1.7.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 (506) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/config/medium/ASCIIArtWithLogoLanguage/code/CGCode.js +9 -0
  3. package/config/medium/ASCIIArtWithLogoLanguage/code/CGCode.php +11 -0
  4. package/config/medium/ASCIIArtWithLogoLanguage/config.json +48 -0
  5. package/config/medium/ASCIIArtWithLogoLanguage/input/01 - test 1.txt +2 -0
  6. package/config/medium/ASCIIArtWithLogoLanguage/input/02 - test 2.txt +10 -0
  7. package/config/medium/ASCIIArtWithLogoLanguage/input/03 - test 3.txt +14 -0
  8. package/config/medium/ASCIIArtWithLogoLanguage/input/04 - test 4.txt +52 -0
  9. package/config/medium/ASCIIArtWithLogoLanguage/input/05 - test 5.txt +32 -0
  10. package/config/medium/ASCIIArtWithLogoLanguage/input/06 - test 6.txt +19 -0
  11. package/config/medium/ASCIIArtWithLogoLanguage/input/07 - test 7.txt +2 -0
  12. package/config/medium/ASCIIArtWithLogoLanguage/input/08 - test 8.txt +24 -0
  13. package/config/medium/ASCIIArtWithLogoLanguage/output/01 - test 1.txt +1 -0
  14. package/config/medium/ASCIIArtWithLogoLanguage/output/02 - test 2.txt +6 -0
  15. package/config/medium/ASCIIArtWithLogoLanguage/output/03 - test 3.txt +6 -0
  16. package/config/medium/ASCIIArtWithLogoLanguage/output/04 - test 4.txt +9 -0
  17. package/config/medium/ASCIIArtWithLogoLanguage/output/05 - test 5.txt +5 -0
  18. package/config/medium/ASCIIArtWithLogoLanguage/output/06 - test 6.txt +1 -0
  19. package/config/medium/ASCIIArtWithLogoLanguage/output/07 - test 7.txt +5 -0
  20. package/config/medium/ASCIIArtWithLogoLanguage/output/08 - test 8.txt +21 -0
  21. package/config/medium/ASCIIArtWithLogoLanguagePart2/code/CGCode.js +9 -0
  22. package/config/medium/ASCIIArtWithLogoLanguagePart2/code/CGCode.php +11 -0
  23. package/config/medium/ASCIIArtWithLogoLanguagePart2/config.json +53 -0
  24. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/01 - test 1.txt +3 -0
  25. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/02 - test 2.txt +2 -0
  26. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/03 - test 3.txt +2 -0
  27. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/04 - test 4.txt +2 -0
  28. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/05 - test 5.txt +2 -0
  29. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/06 - test 6.txt +2 -0
  30. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/07 - test 7.txt +2 -0
  31. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/08 - test 8.txt +2 -0
  32. package/config/medium/ASCIIArtWithLogoLanguagePart2/input/09 - test 9.txt +3 -0
  33. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/01 - test 1.txt +5 -0
  34. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/02 - test 2.txt +6 -0
  35. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/03 - test 3.txt +6 -0
  36. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/04 - test 4.txt +6 -0
  37. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/05 - test 5.txt +13 -0
  38. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/06 - test 6.txt +1 -0
  39. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/07 - test 7.txt +6 -0
  40. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/08 - test 8.txt +16 -0
  41. package/config/medium/ASCIIArtWithLogoLanguagePart2/output/09 - test 9.txt +10 -0
  42. package/config/medium/AgentXMission2MysteriousCryptogram/code/CGCode.js +17 -0
  43. package/config/medium/AgentXMission2MysteriousCryptogram/code/CGCode.php +20 -0
  44. package/config/medium/AgentXMission2MysteriousCryptogram/config.json +28 -0
  45. package/config/medium/AgentXMission2MysteriousCryptogram/input/01 - First contact.txt +11 -0
  46. package/config/medium/AgentXMission2MysteriousCryptogram/input/02 - Longer Message with More Words.txt +163 -0
  47. package/config/medium/AgentXMission2MysteriousCryptogram/input/03 - A Lot More Words.txt +559 -0
  48. package/config/medium/AgentXMission2MysteriousCryptogram/input/04 - Final Test.txt +1072 -0
  49. package/config/medium/AgentXMission2MysteriousCryptogram/output/01 - First contact.txt +27 -0
  50. package/config/medium/AgentXMission2MysteriousCryptogram/output/02 - Longer Message with More Words.txt +27 -0
  51. package/config/medium/AgentXMission2MysteriousCryptogram/output/03 - A Lot More Words.txt +27 -0
  52. package/config/medium/AgentXMission2MysteriousCryptogram/output/04 - Final Test.txt +27 -0
  53. package/config/medium/BinPacking/code/CGCode.js +9 -0
  54. package/config/medium/BinPacking/code/CGCode.php +11 -0
  55. package/config/medium/BinPacking/config.json +28 -0
  56. package/config/medium/BinPacking/input/01 - Samples.txt +13 -0
  57. package/config/medium/BinPacking/input/02 - NP-Easy.txt +62 -0
  58. package/config/medium/BinPacking/input/03 - NP-Medium.txt +87 -0
  59. package/config/medium/BinPacking/input/04 - NP-Hard.txt +82 -0
  60. package/config/medium/BinPacking/output/01 - Samples.txt +12 -0
  61. package/config/medium/BinPacking/output/02 - NP-Easy.txt +61 -0
  62. package/config/medium/BinPacking/output/03 - NP-Medium.txt +86 -0
  63. package/config/medium/BinPacking/output/04 - NP-Hard.txt +81 -0
  64. package/config/medium/BoardingPassesReady/code/CGCode.js +11 -0
  65. package/config/medium/BoardingPassesReady/code/CGCode.php +13 -0
  66. package/config/medium/BoardingPassesReady/config.json +38 -0
  67. package/config/medium/BoardingPassesReady/input/01 - A very small plane indeed.txt +5 -0
  68. package/config/medium/BoardingPassesReady/input/02 - Just A Few.txt +7 -0
  69. package/config/medium/BoardingPassesReady/input/03 - Small Flight.txt +15 -0
  70. package/config/medium/BoardingPassesReady/input/04 - Half Full.txt +27 -0
  71. package/config/medium/BoardingPassesReady/input/05 - Wide-Body Craft.txt +43 -0
  72. package/config/medium/BoardingPassesReady/input/06 - Half-full Wide-Body.txt +57 -0
  73. package/config/medium/BoardingPassesReady/output/01 - A very small plane indeed.txt +2 -0
  74. package/config/medium/BoardingPassesReady/output/02 - Just A Few.txt +2 -0
  75. package/config/medium/BoardingPassesReady/output/03 - Small Flight.txt +6 -0
  76. package/config/medium/BoardingPassesReady/output/04 - Half Full.txt +6 -0
  77. package/config/medium/BoardingPassesReady/output/05 - Wide-Body Craft.txt +8 -0
  78. package/config/medium/BoardingPassesReady/output/06 - Half-full Wide-Body.txt +7 -0
  79. package/config/medium/BoggleWithFriends/code/CGCode.js +12 -0
  80. package/config/medium/BoggleWithFriends/code/CGCode.php +15 -0
  81. package/config/medium/BoggleWithFriends/config.json +68 -0
  82. package/config/medium/BoggleWithFriends/input/01 - all words are valid, no dups.txt +11 -0
  83. package/config/medium/BoggleWithFriends/input/02 - some words are not valid for this boggle board.txt +10 -0
  84. package/config/medium/BoggleWithFriends/input/03 - Multiple players have the same word.txt +7 -0
  85. package/config/medium/BoggleWithFriends/input/04 - Individual players repeat their own words.txt +10 -0
  86. package/config/medium/BoggleWithFriends/input/05 - All put together.txt +9 -0
  87. package/config/medium/BoggleWithFriends/input/06 - The one where it/342/200/231s funny.txt" +10 -0
  88. package/config/medium/BoggleWithFriends/input/07 - Random.txt +9 -0
  89. package/config/medium/BoggleWithFriends/input/08 - Pivot, Break, RIP Matthew Perry.txt +8 -0
  90. package/config/medium/BoggleWithFriends/input/09 - Smelly Cat, Haircut.txt +7 -0
  91. package/config/medium/BoggleWithFriends/input/10 - Awkward and Too Tidy.txt +9 -0
  92. package/config/medium/BoggleWithFriends/input/11 - Intense.txt +8 -0
  93. package/config/medium/BoggleWithFriends/input/12 - Friendship is valuable.txt +7 -0
  94. package/config/medium/BoggleWithFriends/output/01 - all words are valid, no dups.txt +35 -0
  95. package/config/medium/BoggleWithFriends/output/02 - some words are not valid for this boggle board.txt +32 -0
  96. package/config/medium/BoggleWithFriends/output/03 - Multiple players have the same word.txt +16 -0
  97. package/config/medium/BoggleWithFriends/output/04 - Individual players repeat their own words.txt +49 -0
  98. package/config/medium/BoggleWithFriends/output/05 - All put together.txt +24 -0
  99. package/config/medium/BoggleWithFriends/output/06 - The one where it/342/200/231s funny.txt" +31 -0
  100. package/config/medium/BoggleWithFriends/output/07 - Random.txt +27 -0
  101. package/config/medium/BoggleWithFriends/output/08 - Pivot, Break, RIP Matthew Perry.txt +33 -0
  102. package/config/medium/BoggleWithFriends/output/09 - Smelly Cat, Haircut.txt +42 -0
  103. package/config/medium/BoggleWithFriends/output/10 - Awkward and Too Tidy.txt +24 -0
  104. package/config/medium/BoggleWithFriends/output/11 - Intense.txt +29 -0
  105. package/config/medium/BoggleWithFriends/output/12 - Friendship is valuable.txt +44 -0
  106. package/config/medium/Coastline/code/CGCode.js +9 -0
  107. package/config/medium/Coastline/code/CGCode.php +11 -0
  108. package/config/medium/Coastline/config.json +28 -0
  109. package/config/medium/Coastline/input/01 - Easy cases.txt +11 -0
  110. package/config/medium/Coastline/input/02 - Harder cases.txt +11 -0
  111. package/config/medium/Coastline/input/03 - Long list of cases.txt +51 -0
  112. package/config/medium/Coastline/input/04 - Long list of rocks.txt +21 -0
  113. package/config/medium/Coastline/output/01 - Easy cases.txt +10 -0
  114. package/config/medium/Coastline/output/02 - Harder cases.txt +10 -0
  115. package/config/medium/Coastline/output/03 - Long list of cases.txt +50 -0
  116. package/config/medium/Coastline/output/04 - Long list of rocks.txt +20 -0
  117. package/config/medium/CountAsICount2/code/CGCode.js +6 -0
  118. package/config/medium/CountAsICount2/code/CGCode.php +7 -0
  119. package/config/medium/CountAsICount2/config.json +43 -0
  120. package/config/medium/CountAsICount2/input/01 - Bring back memory.txt +1 -0
  121. package/config/medium/CountAsICount2/input/02 - Not 4 rounds.txt +1 -0
  122. package/config/medium/CountAsICount2/input/03 - Only one.txt +1 -0
  123. package/config/medium/CountAsICount2/input/04 - Smarter not faster.txt +1 -0
  124. package/config/medium/CountAsICount2/input/05 - Bigger.txt +1 -0
  125. package/config/medium/CountAsICount2/input/06 - Even bigger.txt +1 -0
  126. package/config/medium/CountAsICount2/input/07 - The end.txt +1 -0
  127. package/config/medium/CountAsICount2/output/01 - Bring back memory.txt +1 -0
  128. package/config/medium/CountAsICount2/output/02 - Not 4 rounds.txt +1 -0
  129. package/config/medium/CountAsICount2/output/03 - Only one.txt +1 -0
  130. package/config/medium/CountAsICount2/output/04 - Smarter not faster.txt +1 -0
  131. package/config/medium/CountAsICount2/output/05 - Bigger.txt +1 -0
  132. package/config/medium/CountAsICount2/output/06 - Even bigger.txt +1 -0
  133. package/config/medium/CountAsICount2/output/07 - The end.txt +1 -0
  134. package/config/medium/DecimalNumbersToFloatingNumbers/code/CGCode.js +7 -0
  135. package/config/medium/DecimalNumbersToFloatingNumbers/code/CGCode.php +8 -0
  136. package/config/medium/DecimalNumbersToFloatingNumbers/config.json +58 -0
  137. package/config/medium/DecimalNumbersToFloatingNumbers/input/01 - Zero.txt +1 -0
  138. package/config/medium/DecimalNumbersToFloatingNumbers/input/02 - Simple integer.txt +1 -0
  139. package/config/medium/DecimalNumbersToFloatingNumbers/input/03 - Invalid number.txt +1 -0
  140. package/config/medium/DecimalNumbersToFloatingNumbers/input/04 - Simple decimal.txt +1 -0
  141. package/config/medium/DecimalNumbersToFloatingNumbers/input/05 - Decimal with rounding (1).txt +1 -0
  142. package/config/medium/DecimalNumbersToFloatingNumbers/input/06 - Decimal with rounding (2).txt +1 -0
  143. package/config/medium/DecimalNumbersToFloatingNumbers/input/07 - Scientific notation (1).txt +1 -0
  144. package/config/medium/DecimalNumbersToFloatingNumbers/input/08 - Scientific notation (2).txt +1 -0
  145. package/config/medium/DecimalNumbersToFloatingNumbers/input/09 - Scientific notation (3).txt +1 -0
  146. package/config/medium/DecimalNumbersToFloatingNumbers/input/10 - Scientific notation (4).txt +1 -0
  147. package/config/medium/DecimalNumbersToFloatingNumbers/output/01 - Zero.txt +2 -0
  148. package/config/medium/DecimalNumbersToFloatingNumbers/output/02 - Simple integer.txt +2 -0
  149. package/config/medium/DecimalNumbersToFloatingNumbers/output/03 - Invalid number.txt +2 -0
  150. package/config/medium/DecimalNumbersToFloatingNumbers/output/04 - Simple decimal.txt +2 -0
  151. package/config/medium/DecimalNumbersToFloatingNumbers/output/05 - Decimal with rounding (1).txt +2 -0
  152. package/config/medium/DecimalNumbersToFloatingNumbers/output/06 - Decimal with rounding (2).txt +2 -0
  153. package/config/medium/DecimalNumbersToFloatingNumbers/output/07 - Scientific notation (1).txt +2 -0
  154. package/config/medium/DecimalNumbersToFloatingNumbers/output/08 - Scientific notation (2).txt +2 -0
  155. package/config/medium/DecimalNumbersToFloatingNumbers/output/09 - Scientific notation (3).txt +2 -0
  156. package/config/medium/DecimalNumbersToFloatingNumbers/output/10 - Scientific notation (4).txt +2 -0
  157. package/config/medium/FinishTheEightQueens/code/CGCode.js +10 -0
  158. package/config/medium/FinishTheEightQueens/code/CGCode.php +13 -0
  159. package/config/medium/FinishTheEightQueens/config.json +28 -0
  160. package/config/medium/FinishTheEightQueens/input/01 - test 1.txt +8 -0
  161. package/config/medium/FinishTheEightQueens/input/02 - test 2.txt +8 -0
  162. package/config/medium/FinishTheEightQueens/input/03 - test 3.txt +8 -0
  163. package/config/medium/FinishTheEightQueens/input/04 - test 4.txt +8 -0
  164. package/config/medium/FinishTheEightQueens/output/01 - test 1.txt +8 -0
  165. package/config/medium/FinishTheEightQueens/output/02 - test 2.txt +8 -0
  166. package/config/medium/FinishTheEightQueens/output/03 - test 3.txt +8 -0
  167. package/config/medium/FinishTheEightQueens/output/04 - test 4.txt +8 -0
  168. package/config/medium/FirewallPlacement/code/CGCode.js +11 -0
  169. package/config/medium/FirewallPlacement/code/CGCode.php +13 -0
  170. package/config/medium/FirewallPlacement/config.json +28 -0
  171. package/config/medium/FirewallPlacement/input/01 - Small network.txt +12 -0
  172. package/config/medium/FirewallPlacement/input/02 - Medium network.txt +18 -0
  173. package/config/medium/FirewallPlacement/input/03 - Larger lobster graph.txt +118 -0
  174. package/config/medium/FirewallPlacement/input/04 - Large graph.txt +253 -0
  175. package/config/medium/FirewallPlacement/output/01 - Small network.txt +1 -0
  176. package/config/medium/FirewallPlacement/output/02 - Medium network.txt +1 -0
  177. package/config/medium/FirewallPlacement/output/03 - Larger lobster graph.txt +1 -0
  178. package/config/medium/FirewallPlacement/output/04 - Large graph.txt +1 -0
  179. package/config/medium/FunWithCGXExpressions/code/CGCode.js +9 -0
  180. package/config/medium/FunWithCGXExpressions/code/CGCode.php +11 -0
  181. package/config/medium/FunWithCGXExpressions/config.json +53 -0
  182. package/config/medium/FunWithCGXExpressions/input/01 - Very simple.txt +2 -0
  183. package/config/medium/FunWithCGXExpressions/input/02 - Easy.txt +2 -0
  184. package/config/medium/FunWithCGXExpressions/input/03 - Simple.txt +3 -0
  185. package/config/medium/FunWithCGXExpressions/input/04 - Fractions.txt +10 -0
  186. package/config/medium/FunWithCGXExpressions/input/05 - Negative constants.txt +5 -0
  187. package/config/medium/FunWithCGXExpressions/input/06 - Not so simple.txt +10 -0
  188. package/config/medium/FunWithCGXExpressions/input/07 - Negative denominator.txt +5 -0
  189. package/config/medium/FunWithCGXExpressions/input/08 - Some recursion.txt +18 -0
  190. package/config/medium/FunWithCGXExpressions/input/09 - Random variables.txt +10 -0
  191. package/config/medium/FunWithCGXExpressions/output/01 - Very simple.txt +1 -0
  192. package/config/medium/FunWithCGXExpressions/output/02 - Easy.txt +1 -0
  193. package/config/medium/FunWithCGXExpressions/output/03 - Simple.txt +1 -0
  194. package/config/medium/FunWithCGXExpressions/output/04 - Fractions.txt +1 -0
  195. package/config/medium/FunWithCGXExpressions/output/05 - Negative constants.txt +1 -0
  196. package/config/medium/FunWithCGXExpressions/output/06 - Not so simple.txt +1 -0
  197. package/config/medium/FunWithCGXExpressions/output/07 - Negative denominator.txt +1 -0
  198. package/config/medium/FunWithCGXExpressions/output/08 - Some recursion.txt +1 -0
  199. package/config/medium/FunWithCGXExpressions/output/09 - Random variables.txt +1 -0
  200. package/config/medium/HowManyRoadsLeadToRome/code/CGCode.js +12 -0
  201. package/config/medium/HowManyRoadsLeadToRome/code/CGCode.php +15 -0
  202. package/config/medium/HowManyRoadsLeadToRome/config.json +33 -0
  203. package/config/medium/HowManyRoadsLeadToRome/input/01 - One road.txt +5 -0
  204. package/config/medium/HowManyRoadsLeadToRome/input/02 - Two roads.txt +5 -0
  205. package/config/medium/HowManyRoadsLeadToRome/input/03 - No way.txt +3 -0
  206. package/config/medium/HowManyRoadsLeadToRome/input/04 - Oops, loops!.txt +14 -0
  207. package/config/medium/HowManyRoadsLeadToRome/input/05 - Big graph!.txt +100 -0
  208. package/config/medium/HowManyRoadsLeadToRome/output/01 - One road.txt +1 -0
  209. package/config/medium/HowManyRoadsLeadToRome/output/02 - Two roads.txt +1 -0
  210. package/config/medium/HowManyRoadsLeadToRome/output/03 - No way.txt +1 -0
  211. package/config/medium/HowManyRoadsLeadToRome/output/04 - Oops, loops!.txt +1 -0
  212. package/config/medium/HowManyRoadsLeadToRome/output/05 - Big graph!.txt +1 -0
  213. package/config/medium/MagicColoring/code/CGCode.js +11 -0
  214. package/config/medium/MagicColoring/code/CGCode.php +11 -0
  215. package/config/medium/MagicColoring/config.json +38 -0
  216. package/config/medium/MagicColoring/input/01 - Yin Yang.txt +8 -0
  217. package/config/medium/MagicColoring/input/02 - Television Image.txt +7 -0
  218. package/config/medium/MagicColoring/input/03 - Monochrome.txt +11 -0
  219. package/config/medium/MagicColoring/input/04 - Chaos Line.txt +2 -0
  220. package/config/medium/MagicColoring/input/05 - Wall Of Color.txt +51 -0
  221. package/config/medium/MagicColoring/input/06 - A Dot.txt +2 -0
  222. package/config/medium/MagicColoring/output/01 - Yin Yang.txt +1 -0
  223. package/config/medium/MagicColoring/output/02 - Television Image.txt +7 -0
  224. package/config/medium/MagicColoring/output/03 - Monochrome.txt +1 -0
  225. package/config/medium/MagicColoring/output/04 - Chaos Line.txt +9 -0
  226. package/config/medium/MagicColoring/output/05 - Wall Of Color.txt +9 -0
  227. package/config/medium/MagicColoring/output/06 - A Dot.txt +1 -0
  228. package/config/medium/MarkovAnts/code/CGCode.js +12 -0
  229. package/config/medium/MarkovAnts/code/CGCode.php +12 -0
  230. package/config/medium/MarkovAnts/config.json +53 -0
  231. package/config/medium/MarkovAnts/input/01 - Base case.txt +7 -0
  232. package/config/medium/MarkovAnts/input/02 - Square 6.txt +9 -0
  233. package/config/medium/MarkovAnts/input/03 - Different step.txt +9 -0
  234. package/config/medium/MarkovAnts/input/04 - Different origin.txt +7 -0
  235. package/config/medium/MarkovAnts/input/05 - Different shape (rectangle).txt +5 -0
  236. package/config/medium/MarkovAnts/input/06 - Different shape + start.txt +7 -0
  237. package/config/medium/MarkovAnts/input/07 - Different shape + start + step.txt +7 -0
  238. package/config/medium/MarkovAnts/input/08 - Extra test 1.txt +10 -0
  239. package/config/medium/MarkovAnts/input/09 - Extra test 2.txt +17 -0
  240. package/config/medium/MarkovAnts/output/01 - Base case.txt +1 -0
  241. package/config/medium/MarkovAnts/output/02 - Square 6.txt +1 -0
  242. package/config/medium/MarkovAnts/output/03 - Different step.txt +1 -0
  243. package/config/medium/MarkovAnts/output/04 - Different origin.txt +1 -0
  244. package/config/medium/MarkovAnts/output/05 - Different shape (rectangle).txt +1 -0
  245. package/config/medium/MarkovAnts/output/06 - Different shape + start.txt +1 -0
  246. package/config/medium/MarkovAnts/output/07 - Different shape + start + step.txt +1 -0
  247. package/config/medium/MarkovAnts/output/08 - Extra test 1.txt +1 -0
  248. package/config/medium/MarkovAnts/output/09 - Extra test 2.txt +1 -0
  249. package/config/medium/Mosaic/code/CGCode.js +11 -0
  250. package/config/medium/Mosaic/code/CGCode.php +14 -0
  251. package/config/medium/Mosaic/config.json +63 -0
  252. package/config/medium/Mosaic/input/01 - Then those ones must be empty.txt +4 -0
  253. package/config/medium/Mosaic/input/02 - All blank.txt +4 -0
  254. package/config/medium/Mosaic/input/03 - Then those ones must be filled.txt +4 -0
  255. package/config/medium/Mosaic/input/04 - Careful.txt +5 -0
  256. package/config/medium/Mosaic/input/05 - 5x5.txt +6 -0
  257. package/config/medium/Mosaic/input/06 - 10x10.txt +11 -0
  258. package/config/medium/Mosaic/input/07 - 15x15.txt +16 -0
  259. package/config/medium/Mosaic/input/08 - 20x20.txt +21 -0
  260. package/config/medium/Mosaic/input/09 - 25x25.txt +26 -0
  261. package/config/medium/Mosaic/input/10 - Pixel art - Yin Yang.txt +19 -0
  262. package/config/medium/Mosaic/input/11 - Pixel art - Congratulations.txt +26 -0
  263. package/config/medium/Mosaic/output/01 - Then those ones must be empty.txt +3 -0
  264. package/config/medium/Mosaic/output/02 - All blank.txt +3 -0
  265. package/config/medium/Mosaic/output/03 - Then those ones must be filled.txt +3 -0
  266. package/config/medium/Mosaic/output/04 - Careful.txt +4 -0
  267. package/config/medium/Mosaic/output/05 - 5x5.txt +5 -0
  268. package/config/medium/Mosaic/output/06 - 10x10.txt +10 -0
  269. package/config/medium/Mosaic/output/07 - 15x15.txt +15 -0
  270. package/config/medium/Mosaic/output/08 - 20x20.txt +20 -0
  271. package/config/medium/Mosaic/output/09 - 25x25.txt +25 -0
  272. package/config/medium/Mosaic/output/10 - Pixel art - Yin Yang.txt +18 -0
  273. package/config/medium/Mosaic/output/11 - Pixel art - Congratulations.txt +25 -0
  274. package/config/medium/NeedleInAHaystack/code/CGCode.js +15 -0
  275. package/config/medium/NeedleInAHaystack/code/CGCode.php +16 -0
  276. package/config/medium/NeedleInAHaystack/config.json +33 -0
  277. package/config/medium/NeedleInAHaystack/input/01 - Examples.txt +16 -0
  278. package/config/medium/NeedleInAHaystack/input/02 - Digits.txt +18 -0
  279. package/config/medium/NeedleInAHaystack/input/03 - Mixed.txt +22 -0
  280. package/config/medium/NeedleInAHaystack/input/04 - Large Heap.txt +29 -0
  281. package/config/medium/NeedleInAHaystack/input/05 - Larger Heap.txt +33 -0
  282. package/config/medium/NeedleInAHaystack/output/01 - Examples.txt +11 -0
  283. package/config/medium/NeedleInAHaystack/output/02 - Digits.txt +12 -0
  284. package/config/medium/NeedleInAHaystack/output/03 - Mixed.txt +10 -0
  285. package/config/medium/NeedleInAHaystack/output/04 - Large Heap.txt +12 -0
  286. package/config/medium/NeedleInAHaystack/output/05 - Larger Heap.txt +12 -0
  287. package/config/medium/OneForHisNobs/code/CGCode.js +14 -0
  288. package/config/medium/OneForHisNobs/code/CGCode.php +18 -0
  289. package/config/medium/OneForHisNobs/config.json +53 -0
  290. package/config/medium/OneForHisNobs/input/01 - Fifteens.txt +6 -0
  291. package/config/medium/OneForHisNobs/input/02 - Runs.txt +4 -0
  292. package/config/medium/OneForHisNobs/input/03 - Pairs.txt +4 -0
  293. package/config/medium/OneForHisNobs/input/04 - Flushes.txt +4 -0
  294. package/config/medium/OneForHisNobs/input/05 - One for his nobs.txt +2 -0
  295. package/config/medium/OneForHisNobs/input/06 - Compound runs.txt +5 -0
  296. package/config/medium/OneForHisNobs/input/07 - Big Hands.txt +6 -0
  297. package/config/medium/OneForHisNobs/input/08 - 19 hand.txt +2 -0
  298. package/config/medium/OneForHisNobs/input/09 - Wikipedia hands.txt +8 -0
  299. package/config/medium/OneForHisNobs/output/01 - Fifteens.txt +5 -0
  300. package/config/medium/OneForHisNobs/output/02 - Runs.txt +3 -0
  301. package/config/medium/OneForHisNobs/output/03 - Pairs.txt +3 -0
  302. package/config/medium/OneForHisNobs/output/04 - Flushes.txt +3 -0
  303. package/config/medium/OneForHisNobs/output/05 - One for his nobs.txt +1 -0
  304. package/config/medium/OneForHisNobs/output/06 - Compound runs.txt +4 -0
  305. package/config/medium/OneForHisNobs/output/07 - Big Hands.txt +5 -0
  306. package/config/medium/OneForHisNobs/output/08 - 19 hand.txt +1 -0
  307. package/config/medium/OneForHisNobs/output/09 - Wikipedia hands.txt +7 -0
  308. package/config/medium/PartitionNumbers/code/CGCode.js +9 -0
  309. package/config/medium/PartitionNumbers/code/CGCode.php +11 -0
  310. package/config/medium/PartitionNumbers/config.json +43 -0
  311. package/config/medium/PartitionNumbers/input/01 - test 1.txt +2 -0
  312. package/config/medium/PartitionNumbers/input/02 - test 2.txt +3 -0
  313. package/config/medium/PartitionNumbers/input/03 - test 3.txt +2 -0
  314. package/config/medium/PartitionNumbers/input/04 - test 4.txt +6 -0
  315. package/config/medium/PartitionNumbers/input/05 - test 5.txt +11 -0
  316. package/config/medium/PartitionNumbers/input/06 - test 6.txt +16 -0
  317. package/config/medium/PartitionNumbers/input/07 - test 7.txt +16 -0
  318. package/config/medium/PartitionNumbers/output/01 - test 1.txt +1 -0
  319. package/config/medium/PartitionNumbers/output/02 - test 2.txt +2 -0
  320. package/config/medium/PartitionNumbers/output/03 - test 3.txt +1 -0
  321. package/config/medium/PartitionNumbers/output/04 - test 4.txt +5 -0
  322. package/config/medium/PartitionNumbers/output/05 - test 5.txt +10 -0
  323. package/config/medium/PartitionNumbers/output/06 - test 6.txt +15 -0
  324. package/config/medium/PartitionNumbers/output/07 - test 7.txt +15 -0
  325. package/config/medium/RiskOddsCalculator/code/CGCode.js +7 -0
  326. package/config/medium/RiskOddsCalculator/code/CGCode.php +8 -0
  327. package/config/medium/RiskOddsCalculator/config.json +48 -0
  328. package/config/medium/RiskOddsCalculator/input/01 - Minimal armies.txt +2 -0
  329. package/config/medium/RiskOddsCalculator/input/02 - Small armies, advantage attacker.txt +2 -0
  330. package/config/medium/RiskOddsCalculator/input/03 - Small armies, advantage defender.txt +2 -0
  331. package/config/medium/RiskOddsCalculator/input/04 - Small armies, balanced.txt +2 -0
  332. package/config/medium/RiskOddsCalculator/input/05 - Crushing endgame.txt +2 -0
  333. package/config/medium/RiskOddsCalculator/input/06 - Hail Mary.txt +2 -0
  334. package/config/medium/RiskOddsCalculator/input/07 - Large, uncertain battle.txt +2 -0
  335. package/config/medium/RiskOddsCalculator/input/08 - Mother of all battles.txt +2 -0
  336. package/config/medium/RiskOddsCalculator/output/01 - Minimal armies.txt +1 -0
  337. package/config/medium/RiskOddsCalculator/output/02 - Small armies, advantage attacker.txt +1 -0
  338. package/config/medium/RiskOddsCalculator/output/03 - Small armies, advantage defender.txt +1 -0
  339. package/config/medium/RiskOddsCalculator/output/04 - Small armies, balanced.txt +1 -0
  340. package/config/medium/RiskOddsCalculator/output/05 - Crushing endgame.txt +1 -0
  341. package/config/medium/RiskOddsCalculator/output/06 - Hail Mary.txt +1 -0
  342. package/config/medium/RiskOddsCalculator/output/07 - Large, uncertain battle.txt +1 -0
  343. package/config/medium/RiskOddsCalculator/output/08 - Mother of all battles.txt +1 -0
  344. package/config/medium/RomanSorting/code/CGCode.js +9 -0
  345. package/config/medium/RomanSorting/code/CGCode.php +11 -0
  346. package/config/medium/RomanSorting/config.json +28 -0
  347. package/config/medium/RomanSorting/input/01 - Single Roman Numerals.txt +8 -0
  348. package/config/medium/RomanSorting/input/02 - Subtracted Prefix.txt +7 -0
  349. package/config/medium/RomanSorting/input/03 - Be Careful.txt +8 -0
  350. package/config/medium/RomanSorting/input/04 - A Legion Of Romans.txt +21 -0
  351. package/config/medium/RomanSorting/output/01 - Single Roman Numerals.txt +1 -0
  352. package/config/medium/RomanSorting/output/02 - Subtracted Prefix.txt +1 -0
  353. package/config/medium/RomanSorting/output/03 - Be Careful.txt +1 -0
  354. package/config/medium/RomanSorting/output/04 - A Legion Of Romans.txt +1 -0
  355. package/config/medium/Rummikub1/code/CGCode.js +11 -0
  356. package/config/medium/Rummikub1/code/CGCode.php +13 -0
  357. package/config/medium/Rummikub1/config.json +113 -0
  358. package/config/medium/Rummikub1/input/01 - Add to a run.txt +4 -0
  359. package/config/medium/Rummikub1/input/02 - Add to a run the end.txt +5 -0
  360. package/config/medium/Rummikub1/input/03 - Add to set.txt +4 -0
  361. package/config/medium/Rummikub1/input/04 - Insert to the middle of a run.txt +4 -0
  362. package/config/medium/Rummikub1/input/05 - Insert to run.txt +4 -0
  363. package/config/medium/Rummikub1/input/06 - Choose the run.txt +4 -0
  364. package/config/medium/Rummikub1/input/07 - Take one and add.txt +4 -0
  365. package/config/medium/Rummikub1/input/08 - Take one and add again.txt +4 -0
  366. package/config/medium/Rummikub1/input/09 - Take one and insert.txt +4 -0
  367. package/config/medium/Rummikub1/input/10 - Take a split.txt +5 -0
  368. package/config/medium/Rummikub1/input/11 - Switch right to left.txt +6 -0
  369. package/config/medium/Rummikub1/input/12 - Switch left to right.txt +6 -0
  370. package/config/medium/Rummikub1/input/13 - Combine for the first.txt +6 -0
  371. package/config/medium/Rummikub1/input/14 - Combine for the last.txt +6 -0
  372. package/config/medium/Rummikub1/input/15 - Combine priority.txt +9 -0
  373. package/config/medium/Rummikub1/input/16 - Combine to insert.txt +5 -0
  374. package/config/medium/Rummikub1/input/17 - Combine to take.txt +6 -0
  375. package/config/medium/Rummikub1/input/18 - Prepare for the split.txt +5 -0
  376. package/config/medium/Rummikub1/input/19 - Prepare for the split again.txt +5 -0
  377. package/config/medium/Rummikub1/input/20 - You take some, you put some.txt +6 -0
  378. package/config/medium/Rummikub1/input/21 - Its time for Rummikub 2.txt +10 -0
  379. package/config/medium/Rummikub1/output/01 - Add to a run.txt +3 -0
  380. package/config/medium/Rummikub1/output/02 - Add to a run the end.txt +4 -0
  381. package/config/medium/Rummikub1/output/03 - Add to set.txt +3 -0
  382. package/config/medium/Rummikub1/output/04 - Insert to the middle of a run.txt +4 -0
  383. package/config/medium/Rummikub1/output/05 - Insert to run.txt +4 -0
  384. package/config/medium/Rummikub1/output/06 - Choose the run.txt +3 -0
  385. package/config/medium/Rummikub1/output/07 - Take one and add.txt +5 -0
  386. package/config/medium/Rummikub1/output/08 - Take one and add again.txt +5 -0
  387. package/config/medium/Rummikub1/output/09 - Take one and insert.txt +6 -0
  388. package/config/medium/Rummikub1/output/10 - Take a split.txt +9 -0
  389. package/config/medium/Rummikub1/output/11 - Switch right to left.txt +11 -0
  390. package/config/medium/Rummikub1/output/12 - Switch left to right.txt +11 -0
  391. package/config/medium/Rummikub1/output/13 - Combine for the first.txt +9 -0
  392. package/config/medium/Rummikub1/output/14 - Combine for the last.txt +9 -0
  393. package/config/medium/Rummikub1/output/15 - Combine priority.txt +12 -0
  394. package/config/medium/Rummikub1/output/16 - Combine to insert.txt +5 -0
  395. package/config/medium/Rummikub1/output/17 - Combine to take.txt +10 -0
  396. package/config/medium/Rummikub1/output/18 - Prepare for the split.txt +9 -0
  397. package/config/medium/Rummikub1/output/19 - Prepare for the split again.txt +9 -0
  398. package/config/medium/Rummikub1/output/20 - You take some, you put some.txt +12 -0
  399. package/config/medium/Rummikub1/output/21 - Its time for Rummikub 2.txt +16 -0
  400. package/config/medium/RussianDolls/code/CGCode.js +9 -0
  401. package/config/medium/RussianDolls/code/CGCode.php +11 -0
  402. package/config/medium/RussianDolls/config.json +33 -0
  403. package/config/medium/RussianDolls/input/01 - Examples.txt +12 -0
  404. package/config/medium/RussianDolls/input/02 - Valid Examples.txt +16 -0
  405. package/config/medium/RussianDolls/input/03 - Basic Doll Sets.txt +101 -0
  406. package/config/medium/RussianDolls/input/04 - Advanced Doll Sets.txt +105 -0
  407. package/config/medium/RussianDolls/input/05 - Complicated Nesting.txt +101 -0
  408. package/config/medium/RussianDolls/output/01 - Examples.txt +11 -0
  409. package/config/medium/RussianDolls/output/02 - Valid Examples.txt +15 -0
  410. package/config/medium/RussianDolls/output/03 - Basic Doll Sets.txt +100 -0
  411. package/config/medium/RussianDolls/output/04 - Advanced Doll Sets.txt +104 -0
  412. package/config/medium/RussianDolls/output/05 - Complicated Nesting.txt +100 -0
  413. package/config/medium/SPORECityPlanner/code/CGCode.js +10 -0
  414. package/config/medium/SPORECityPlanner/code/CGCode.php +12 -0
  415. package/config/medium/SPORECityPlanner/config.json +33 -0
  416. package/config/medium/SPORECityPlanner/input/01 - Test city.txt +5 -0
  417. package/config/medium/SPORECityPlanner/input/02 - Civilization stage, small city.txt +10 -0
  418. package/config/medium/SPORECityPlanner/input/03 - Civilization stage, big city.txt +16 -0
  419. package/config/medium/SPORECityPlanner/input/04 - Space stage, big city 1.txt +17 -0
  420. package/config/medium/SPORECityPlanner/input/05 - Space stage, big city 2.txt +19 -0
  421. package/config/medium/SPORECityPlanner/output/01 - Test city.txt +1 -0
  422. package/config/medium/SPORECityPlanner/output/02 - Civilization stage, small city.txt +1 -0
  423. package/config/medium/SPORECityPlanner/output/03 - Civilization stage, big city.txt +1 -0
  424. package/config/medium/SPORECityPlanner/output/04 - Space stage, big city 1.txt +1 -0
  425. package/config/medium/SPORECityPlanner/output/05 - Space stage, big city 2.txt +1 -0
  426. package/config/medium/SixteenBySixteenSudoku/code/CGCode.js +8 -0
  427. package/config/medium/SixteenBySixteenSudoku/code/CGCode.php +10 -0
  428. package/config/medium/SixteenBySixteenSudoku/config.json +38 -0
  429. package/config/medium/SixteenBySixteenSudoku/input/01 - test 1.txt +16 -0
  430. package/config/medium/SixteenBySixteenSudoku/input/02 - test 2.txt +16 -0
  431. package/config/medium/SixteenBySixteenSudoku/input/03 - test 3.txt +16 -0
  432. package/config/medium/SixteenBySixteenSudoku/input/04 - test 4.txt +16 -0
  433. package/config/medium/SixteenBySixteenSudoku/input/05 - test 5.txt +16 -0
  434. package/config/medium/SixteenBySixteenSudoku/input/06 - test 6.txt +16 -0
  435. package/config/medium/SixteenBySixteenSudoku/output/01 - test 1.txt +16 -0
  436. package/config/medium/SixteenBySixteenSudoku/output/02 - test 2.txt +16 -0
  437. package/config/medium/SixteenBySixteenSudoku/output/03 - test 3.txt +16 -0
  438. package/config/medium/SixteenBySixteenSudoku/output/04 - test 4.txt +16 -0
  439. package/config/medium/SixteenBySixteenSudoku/output/05 - test 5.txt +16 -0
  440. package/config/medium/SixteenBySixteenSudoku/output/06 - test 6.txt +16 -0
  441. package/config/medium/StringBalls/code/CGCode.js +7 -0
  442. package/config/medium/StringBalls/code/CGCode.php +8 -0
  443. package/config/medium/StringBalls/config.json +63 -0
  444. package/config/medium/StringBalls/input/01 - r=1, edge=yes, char=1.txt +2 -0
  445. package/config/medium/StringBalls/input/02 - r=1, edge=no, char=1.txt +2 -0
  446. package/config/medium/StringBalls/input/03 - rGT1, edge=no, char=1.txt +2 -0
  447. package/config/medium/StringBalls/input/04 - rGT1, edge=yes, charGT1.txt +2 -0
  448. package/config/medium/StringBalls/input/05 - rGT1, edge=no, charGT1.txt +2 -0
  449. package/config/medium/StringBalls/input/06 - Small test 1.txt +2 -0
  450. package/config/medium/StringBalls/input/07 - Big radius.txt +2 -0
  451. package/config/medium/StringBalls/input/08 - Medium 1 (GT100k).txt +2 -0
  452. package/config/medium/StringBalls/input/09 - Medium 2.txt +2 -0
  453. package/config/medium/StringBalls/input/10 - Big ( GT 500k).txt +2 -0
  454. package/config/medium/StringBalls/input/11 - Big 2.txt +2 -0
  455. package/config/medium/StringBalls/output/01 - r=1, edge=yes, char=1.txt +1 -0
  456. package/config/medium/StringBalls/output/02 - r=1, edge=no, char=1.txt +1 -0
  457. package/config/medium/StringBalls/output/03 - rGT1, edge=no, char=1.txt +1 -0
  458. package/config/medium/StringBalls/output/04 - rGT1, edge=yes, charGT1.txt +1 -0
  459. package/config/medium/StringBalls/output/05 - rGT1, edge=no, charGT1.txt +1 -0
  460. package/config/medium/StringBalls/output/06 - Small test 1.txt +1 -0
  461. package/config/medium/StringBalls/output/07 - Big radius.txt +1 -0
  462. package/config/medium/StringBalls/output/08 - Medium 1 (GT100k).txt +1 -0
  463. package/config/medium/StringBalls/output/09 - Medium 2.txt +1 -0
  464. package/config/medium/StringBalls/output/10 - Big ( GT 500k).txt +1 -0
  465. package/config/medium/StringBalls/output/11 - Big 2.txt +1 -0
  466. package/config/medium/TheCashRegister/code/CGCode.js +7 -0
  467. package/config/medium/TheCashRegister/code/CGCode.php +8 -0
  468. package/config/medium/TheCashRegister/config.json +63 -0
  469. package/config/medium/TheCashRegister/input/01 - Simple case.txt +2 -0
  470. package/config/medium/TheCashRegister/input/02 - A bit harder.txt +2 -0
  471. package/config/medium/TheCashRegister/input/03 - Nothing to give back.txt +2 -0
  472. package/config/medium/TheCashRegister/input/04 - Bigger amount.txt +2 -0
  473. package/config/medium/TheCashRegister/input/05 - Weird money.txt +2 -0
  474. package/config/medium/TheCashRegister/input/06 - One coin only.txt +2 -0
  475. package/config/medium/TheCashRegister/input/07 - Multiple solutions.txt +2 -0
  476. package/config/medium/TheCashRegister/input/08 - Nothing to do.txt +2 -0
  477. package/config/medium/TheCashRegister/input/09 - Very big amount.txt +2 -0
  478. package/config/medium/TheCashRegister/input/10 - Bad luck !.txt +2 -0
  479. package/config/medium/TheCashRegister/input/11 - Several solutions.txt +2 -0
  480. package/config/medium/TheCashRegister/output/01 - Simple case.txt +1 -0
  481. package/config/medium/TheCashRegister/output/02 - A bit harder.txt +1 -0
  482. package/config/medium/TheCashRegister/output/03 - Nothing to give back.txt +1 -0
  483. package/config/medium/TheCashRegister/output/04 - Bigger amount.txt +1 -0
  484. package/config/medium/TheCashRegister/output/05 - Weird money.txt +1 -0
  485. package/config/medium/TheCashRegister/output/06 - One coin only.txt +1 -0
  486. package/config/medium/TheCashRegister/output/07 - Multiple solutions.txt +1 -0
  487. package/config/medium/TheCashRegister/output/08 - Nothing to do.txt +1 -0
  488. package/config/medium/TheCashRegister/output/09 - Very big amount.txt +1 -0
  489. package/config/medium/TheCashRegister/output/10 - Bad luck !.txt +1 -0
  490. package/config/medium/TheCashRegister/output/11 - Several solutions.txt +1 -0
  491. package/config/medium/TinyForest/code/CGCode.js +10 -0
  492. package/config/medium/TinyForest/code/CGCode.php +12 -0
  493. package/config/medium/TinyForest/config.json +38 -0
  494. package/config/medium/TinyForest/input/01 - No Trees.txt +7 -0
  495. package/config/medium/TinyForest/input/02 - One Tree.txt +7 -0
  496. package/config/medium/TinyForest/input/03 - Some Trees.txt +12 -0
  497. package/config/medium/TinyForest/input/04 - Long Forest.txt +7 -0
  498. package/config/medium/TinyForest/input/05 - Huge Forest.txt +22 -0
  499. package/config/medium/TinyForest/input/06 - Symetrical Forest.txt +7 -0
  500. package/config/medium/TinyForest/output/01 - No Trees.txt +1 -0
  501. package/config/medium/TinyForest/output/02 - One Tree.txt +1 -0
  502. package/config/medium/TinyForest/output/03 - Some Trees.txt +1 -0
  503. package/config/medium/TinyForest/output/04 - Long Forest.txt +1 -0
  504. package/config/medium/TinyForest/output/05 - Huge Forest.txt +1 -0
  505. package/config/medium/TinyForest/output/06 - Symetrical Forest.txt +1 -0
  506. package/package.json +1 -1
@@ -0,0 +1,29 @@
1
+ 400 15
2
+ einandjpantonetwoexamplesofunbalancedwilfequivalencearxiv14023842mathco2014alexanderbursteinandlouiswshapiropseudoinvolutionsintheriordangrouparxiv211211595mathco2021ntcameronrandomwalkstreesandextensionsofriordangrouptechniquesdissertationhowarduniversity2002naiomitcameronandasamoahnkwantaonsomepseudoinvolutionsintheriordangroupjournalofintegersequences820050537giuliocerbaiandersclaessonlucaferra
3
+ riandeinarsteingrmssonsortingwithpatternavoidingstacksthe132machinearxiv200605692mathco2020gisangcheonstjinandlwshapiroacombinatorialequivalencerelationforformalpowerserieslinearalgebraanditsapplicationsvolume49115february2016pages123137jciglersomenicehankeldeterminantsarxiv11091449mathco2011johannciglerandchristiankrattenthalerhankeldeterminantsoflinearcombinationsofmomentsoforthogonalpolynomials
4
+ arxiv200301676mathco2020jbcosgravethegaussfactorialmotzkinconnectionmapleworksheetchangesuffixtomwrdecastroalramrezandjlramrezapplicationsinenumerativecombinatoricsofinfiniteweightedautomataandgraphsarxiv13102449csdm2013jciglerhankeldeterminantsofsomepolynomialsequencespreprint2012colindefantmotzkinintervalsandvalidhookconfigurationsarxiv190410451mathco2019colindefanttroupescumulantsandstacksortin
5
+ garxiv200411367mathco2020cdefantandkzhengstacksortingwithconsecutivepatternavoidingstacksarxiv200812297mathco2020edeutschandbesagancongruencesforcatalanandmotzkinnumbersandrelatedsequencesjnumtheory1172006191215rmdickaudelannoyandmotzkinnumbersrmdickauthe9pathsina4x4gridyundingandrosenarxducountinghumpsinmotzkinpathsarxivpreprintarxiv11092661mathco2011filippodisantoandthomaswiehesomeinstancesofasu
6
+ bpermutationproblemonpatternavoidingpermutationsarxiv12106908mathco2012idolinkajeastaevangeloudfitzgeraldandnhamidempotentstatisticsofthemotzkinandjonesmonoidsarxiv150704838mathco2015idolinkajeastandrdgraymotzkinmonoidsandpartialbrauermonoidsarxiv151202279mathgr2015robertdonagheyrestrictedplanetreerepresentationsforfourmotzkincatalanequationsjcombintheoryseriesbvol22no21977pp114121robertdonagheyau
7
+ tomorphismsoncatalantreesandbracketingsjournalofcombinatorialtheoryseriesbvol29no1august1980pp7590robertdonagheyandlouiswshapiromotzkinnumbersjcombintheoryseriesavol23no31977pp291301robertwdonleyjrbinomialarraysandgeneralizedvandermondeidentitiesarxiv190501525mathco2019ivanaurevigordolinkaandjameseastsandwichsemigroupsindiagramcategoriesarxiv191010286mathgr2019eseggerestricted3412avoidinginvolutio
8
+ nscontinuedfractionschebyshevpolynomialsandenumerationsarxivmath0307050mathco2003sec8sbekhadandmyangproofsoflinearrecurrencesofcoefficientsofcertainalgebraicformalpowerseriesconjecturedintheonlineencyclopediaofintegersequences2017gennadyeremingeneratingfunctionfornaturalizedseriesthecaseoforderedmotzkinwordsarxiv200208067mathco2020gennadyereminnaturalizedbracketrowandmotzkintrianglearxiv200409866m
9
+ athco2020gennadyereminwalkingintheoeisfrommotzkinnumberstofibonaccinumberstheshadowsofmotzkinnumbersarxiv210810676mathco2021jacksonevoniukstevenkleeandvanmagnanenumeratingminimallengthlatticepathsjintseq2120181836lucaferrariandemanuelemunarinienumerationofedgesinsomelatticesofpathsarxiv12036792mathco2012andjintseq1720141415pflajoletandrsedgewickanalyticcombinatorics2009seepages68and81rigobertoflre
10
+ zleandrojunesandjoslramrezfurtherresultsonpathsinanndimensionalcubiclatticejournalofintegersequences2120181812juanbgilandjordanotirrellasimplebijectionforclassicalandenhancedknoncrossingpartitionsarxiv180609065mathco2018alsodiscretemathematics2019article111705doi101016jdisc2019111705samuelegiraudotreeseriesandpatternavoidanceinsyntaxtreesarxiv190300677mathco2019samuelegiraudothecombinatormandthemo
11
+ ckingbirdlatticearxiv220403586mathco2022nilshaugtprellbergandgsiudemscalinginareaweightedgeneralizedmotzkinpathsarxiv160509643condmatstatmech2016nickolasheinandjiahuangmodularcatalannumbersarxiv150801688mathco20152016nickolasheinandjiahuangvariationsofthecatalannumbersfromsomenonassociativebinaryoperationsarxiv180704623mathco2018aoifehennessyastudyofriordanarrayswithapplicationstocontinuedfraction
12
+ sorthogonalpolynomialsandlatticepathsphdthesiswaterfordinstituteoftechnologyoct2011cheynehombergerpatternsinpermutationsandinvolutionsastructuralandenumerativeapproacharxivpreprint14102657mathco2014andershyllengrenlettertonjasloaneoct041985andershyllengrenfourintegersequencesoct041985observesessentiallythata000984anda002426areinversebinomialtransformsofeachotherasarea000108anda001006inriaalgorithm
13
+ sprojectencyclopediaofcombinatorialstructures50manuelkauersanddoronzeilbergercountingstandardyoungtableauxwithrestrictedrunsarxiv200610205mathco2020deknuthlettertolwshapirorkguynjasloanerpstanleyhwilfregardinga001006anda005043jan181989dmitryvkruchininandvladimirvkruchininageneratingfunctionforthediagonalt2nnintrianglesjournalofintegersequences1820151546marielouiselacknerandmwallneraninvitationtoan
14
+ alyticcombinatoricsandlatticepathcountingpreprint2015jwlaymanthehankeltransformandsomeofitspropertiesjintegersequences420010115walorenzypontyandpcloteasymptoticsofrnashapesjournalofcomputationalbiology15120083163kmanesasapounakisitasoulasandptsikourasequivalenceclassesofballotpathsmodulostringsoflength2and3arxiv151001952mathco2015toufikmansourstatisticsondyckpathsjournalofintegersequences920060615
15
+ toufikmansourrestricted132permutationsandgeneralizedpatternsarxivmath0110039mathco2001vmazorchukandbsteinbergdoublecatalanmonoidsarxiv11055313mathgr2011petermccallaandasamoahnkwantacatalanandmotzkinintegralrepresentationsarxiv190107092mathnt2019cammclemananderinmcnicholasgraphinvertibilityarxiv11083588mathco2011zhoushengmeiandsuijiewangpatternavoidanceofgeneralizedpermutationsarxiv180406265mathco2
16
+ 018dmerlinidgrogersrsprugnoliandmcverrionsomealternativecharacterizationsofriordanarrayscanadjmath491997301320tmotzkinthehypersurfacecrossratiobullamermathsoc511945976984heinrichniederhauseninversesofmotzkinandschroederpathsarxiv11053713mathco2011jcnovelliandjythibonnoncommutativesymmetricfunctionsandlagrangeinversionarxivmath0512570mathco20052006royosteandjorisvanderjeugtmotzkinpathsmotzkinpolyno
17
+ 12
18
+ 1-9
19
+ a-z
20
+ 0-9,a-z
21
+ 5-9,p-z,b,c,d,f,5-9
22
+ d-j,2-7
23
+ c,o,d,i,n,g,a,m,e,2,0,2,4
24
+ i,n,t,e,r,n,a,t,i,o,n,a,l,i,z,a,t,i,o,n
25
+ z,e,r,o,0-1,o,n,e
26
+ a,k,i,r,a,t,o,r,i,y,a,m,a,4-5
27
+ b,a,r,o,q,u,e,a,n,t,h,r,o,p,o,m,o,r,p,h,i,z,e,d
28
+ c-n,d-p,1-5,6-7
29
+ h-i,j-k,l-m,2-5,3-9
@@ -0,0 +1,33 @@
1
+ 500 19
2
+ sepermutationofpc234n112nandzqisthenumberofcyclesofthepermutationqexamplea49indeedp34121324istheonlyinvolutionof1234withgenus0thisfollowseasilyfromthefactthatapermutationpof12nhasgenus0ifandonlyifthecycledecompositionofpgivesanoncrossingpartitionof12nandeachcycleofpisincreasingseelemma21ofthedulucqsimionreferencealsoredundantlyforp34121324wehavecp2341341241231432andsogp1241211emericdeutschmay292010letwijndenotewalksinn2whichsatisfythemultivariaterecurrencewijnwij1n1wi1jn1wi1j1n1withboundarycondi
3
+ tionsw0001andwijn0ifiorjornis0thenansumi0nj0nwijnisthenumberofsuchwalksoflengthnpeterluschnymay212011anan1tendsto30asninfinity12cos2pinrelatingtolongestoddnregularpolygondiagonalsbywayofexamplen7usingthetridiagonalgeneratorcfcommentofjan072009forpolygonn7weextractann123x3matrix010111011withanevalof224697thelongestheptagondiagonalwithedge1asntendstoinfinitythediagonallengthstendto30theconvergentofthesequencegarywadamsonjun082011numberofn1lengthpermutationsavoidingthepattern132andthedottedpattern2
4
+ 3dot1jeanlucbarilmar072012numberofnlengthwordswoveralphabetabcsuchthatforeveryprefixzofwwehavezazbzcwherezxcountsthelettersxinwordzthea49wordsareaaaaaaabaabaabaaaabbababaabcabacabcaaloispheinzmay262012numberoflengthnrestrictedgrowthstringsrgsr1r2rnsuchthatr11rkkandrkrk1forexamplethe9rgsforn4are101010121201121012121230123112321234joergarndtapr162013numberoflengthnrestrictedgrowthstringsrgsr1r2rnsuchthatr10rkkandrkrk11forexamplethe9rgsforn4are000000020003000400220024003302220224joergarndtapr172013
5
+ numberof42315276143avoidinginvolutionsinsnalexanderbursteinmar052014anisthenumberofincreasingunarybinarytreeswithnnodeswhohaveanassociatedpermutationavoids132formoreinformationaboutunarybinarytreeswithassociatedpermutationsseea245888mandariehlaug072014anisthenumberofinvolutionsonnavoidingthesinglepatternpwherepisanyoneofthe8classicalpatterns12341243143221342143321434124321alsonumberof3412241334123142341224133142avoidinginvolutionsonnbecauseeachofthese3setsactuallycoincideswiththe3412avoidinginvo
6
+ lutionsonnthisisacompletelistofthe8singles2pairsand1tripleof4letterclassicalpatternswhoseinvolutionavoidersarecountedbythemotzkinnumbersseebarnabeietal2011referencedavidcallanaug272014fromtonyfosteriiijul282016startaseriescreatedusing2anan1hashankeltransformoff2noffset3fbeingthefibonaccibisectiona001906empiricalobservationaseriescreatedusing2an3an1an2givesthehankeltransformofsumk0nkfibonacci2koffset3a197649empiricalobservationendconjecture2nsumk1n2k1ak2isanintegerforeachpositiveintegernzhiweisun
7
+ nov162017therubeyandstumpreferenceprovesarefinementofaconjectureofrenmarczinzikwhichtheystateasthenumberof2gorensteinalgebraswhicharenakayamaalgebraswithnsimplemodulesandhaveanorientedlineasassociatedquiverequalsthenumberofmotzkinpathsoflengthnericmschmidtdec162017numberofukequivalenceclassesofukasiewiczpathsukasiewiczpathsarepequivalentiffthepositionsofpatternpareidenticalinthesepathssergeykirgizovapr082018iftau1andtau2aretwodistinctpermutationpatternschosenfromtheset132231312thenanisthenumbero
8
+ fvalidhookconfigurationsofpermutationsofn1thatavoidthepatternstau1andtau2colindefantapr282019numberofpermutationsoflengthnthataresortedtotheidentitybyaconsecutive321avoidingstackfollowedbyaclassical21avoidingstackcolindefantaug292020fromhelmutprodingerdec132020startanisthenumberofpathsinthefirstquadrantstartingat00andconsistingofnstepsfromtheinfiniteset11111213forexampledenotingu11d11dj1jforj2a4countsuuuuuuuduuud2uuud3uuduuudduud2uuduuududthisstepsetisinspiredby11111315suggestedbyemericdeutschar
9
+ ound2000seeprodingerlinkthatcontainsabijectiontomotzkinpathsendnamedbydonaghey1977aftertheisraeliamericanmathematiciantheodoremotzkin19081970insloanesahandbookofintegersequences1973theywerecalledgeneralizedballotnumbersamirameldarapr152021numberofmotzkinnpathsanissplitintoa107587nnumberofevenmotzkinnpathsanda343386nnumberofoddmotzkinnpathsthevaluea107587na343386ncanbecalledtheshadowofanseea343773gennadyereminmay172021conjectureifpisaprimeoftheform6m1a002476thenap2isdivisiblebypcurrentlynocounter
10
+ exampleexistsforp107personalcommunicationfromrobertgerbiczmodsuchpthisisequivalenttoa066796withcommenteverya066796nfroma066796p12toa066796p1isdivisiblebyprimepofform6m1sergebatalovfeb082022frompeterbalafeb102022startconjectures1forprimep1mod6andnr1anpr2a005717n1modpwherewetakea00571700tomatchbatalovsconjectureabove2forprimep5mod6andn1anp2a005773nmodp3forprimep3andk1anpkanmodpfor0npk34forprimep5andk2anpkanmodp2for0npk13endthehankeltransformofthissequencewitha0omittedgivestheperiod6sequence101101w
11
+ hichisa010892withitsfirsttermomittedwhilethehankeltransformofthecurrentsequenceistheallonessequencea000012andalsoitistheuniquesequencewiththispropertywhichissimilartotheuniquehankeltransformpropertyofthecatalannumbersmichaelsomosapr172022referencesebarcuccirpinzaniandrsprugnolithemotzkinfamilypumaseravol21991no34pp249279fbergeronlfavreauanddkrobconjecturesontheenumerationoftableauxofboundedheightdiscretemathvol139no131995463468frbernhartcatalanmotzkinandriordannumbersdiscrmath204199973112rbojici
12
+ candmdpetkovicorthogonalpolynomialsapproachtothehankeltransformofsequencesbasedonmotzkinnumbersbulletinofthemalaysianmathematicalsciences2015doi101007s4084001502493miklosbonaeditorhandbookofenumerativecombinatoricscrcpress2015pp24298618912alinbostancalculformelpourlacombinatoiredesmarcheshabilitationdirigerdesrechercheslaboratoiredinformatiquedeparisnorduniversitparis13december2017httpsspecfuninriafrbostanhdrpdfajbuautomatedcountingofrestrictedmotzkinpathsenumerativecombinatoricsandapplicationse
13
+ ca122021articles2r12naiomicameronjemcleodreturnsandhillsongeneralizeddyckpathsjournalofintegersequencesvol1920161661lcarlitzsolutionofcertainrecurrencessiamjapplmath171969251259michaeldairykosamanthatynerlarapudwellandcaseywynnnoncontiguouspatternavoidanceinbinarytreeselectronjcombin192012no3paper2221ppmr2967227dedavenportlwshapiroandlcwoodsonthedoubleriordangrouptheelectronicjournalofcombinatorics1822012p33edeutschandlshapiroasurveyofthefinenumbersdiscretemath2412001241265tdoslicdsvrtananddvelj
14
+ anenumerativeaspectsofsecondarystructuresdiscrmath28520046782tomislavdoslicanddarkoveljanlogarithmicbehaviorofsomecombinatorialsequencesdiscretemath3082008no1121822212mr24045442009j05019sdulucqandrsimioncombinatorialstatisticsonalternatingpermutationsjalgebraiccombinatorics81998169191mdziemianczukenumerationsofplanetreeswithmultipleedgesandraneylatticepathsdiscretemathematics3372014924wenjiefangapartialorderonmotzkinpathsdiscretemath3432020111802ipgouldenanddmjacksoncombinatorialenumerationwiley
15
+ ny19835210nssgunyliandtmansour2binarytreesbijectionsandrelatedissuesdiscrmath308200812091221krishatchpresentationofthemotzkinmonoidseniorthesisunivcalsantabarbara2012httpccsmathucsbeduseniorthesiskrishatchpdfvjelinektoufikmansourandmshattuckonmultiplepatternavoidingsetpartitionsadvancesinappliedmathematicsvolume50issue2february2013pp292326hanakimandrpstanleyarefinedenumerationofhextreesandrelatedpolynomialshttpwwwmathmitedurstanpapershextreespdfpreprint2015skitaevpatternsinpermutationsandwordssp
16
+ ringerverlag2011seep399tablea7akuznetsovetaltreesassociatedwiththemotzkinnumbersjcombintheorya761996145147tlengyelondivisibilitypropertiesofsomedifferencesofmotzkinnumbersannalesmathematicaeetinformaticae412013pp121136walorenzypontyandpcloteasymptoticsofrnashapesjournalofcomputationalbiology20081513163doi101089cmb20060153pieramanaraandclaudioperellicippothefinestructureof4321avoidinginvolutionsand321avoidinginvolutionspumavol222011227238httpwwwmatunisiitnewsitopumapublichtml222manaraperellicippo
17
+ pdftoufikmansourrestricted132permutationsandgeneralizedpatternsannalsofcombin620026576toufikmansourmatthiasschorkandmarkshattuckcatalannumbersandpatternrestrictedsetpartitionsdiscretemath3122012no2029792991mr2956089tsmotzkinrelationsbetweenhypersurfacecrossratiosandacombinatorialformulaforpartitionsofapolygonforpermanentpreponderanceandfornonassociativeproductsbullamermathsoc541948352360jocelynquaintanceandharriskwongacombinatorialinterpretationofthecatalanandbellnumberdifferencetablesintegers13
18
+ 2013a29jriordanenumerationofplanetreesbybranchesandendpointsjcombintheorya231975214222asapounakisetalorderedtreesandtheinordertransversaldiscmath306200617321741asapounakisitasoulasandptsikourascountingstringsindyckpathsdiscretemath307200729092924eschroederviercombinatorischeproblemezfmathphys151870361376lwshapiroetaltheriordangroupdiscreteappliedmath341991229239markshattuckonthezerosofsomepolynomialswithcombinatorialcoefficientsannalesmathematicaeetinformaticae422013pp93101httpamiektfhunjasloane
19
+ ahandbookofintegersequencesacademicpress1973includesthissequencenjasloaneandsimonplouffetheencyclopediaofintegersequencesacademicpress1995includesthissequencemichaelzspiveyandlauralsteilthekbinomialtransformsandthehankeltransformjournalofintegersequencesvol92006article0611rpstanleyenumerativecombinatoricscambridgevol21999seeproblem637alsoproblem716by3nprsteinandmswatermanonsomenewsequencesgeneralizingthecatalanandmotzkinnumbersdiscretemath261979261272zwsunconjecturesinvolvingarithmeticalsequence
20
+ snumbertheoryarithmeticinshangrilaedsskanemitsuhzliandjyliuprocthe6thchinajapansemnumbertheoryshanghaiaugust15172011worldscisingapore2013pp244258httpmathnjueducnzwsun142ppdfchenyingwangpiotrmiskaandistvnmeztherderangementnumbersdiscretemathematics3407201716811692yingwangandguocexinaclassificationofmotzkinnumbersmodulo8electronjcombin2512018p154wenjinwoanacombinatorialproofofarecursiverelationofthemotzkinsequencebylatticepathsfibonacciquart402002no138wenjinwoanarecursiverelationforweightedmotzkin
21
+ 12
22
+ a-z
23
+ 0-9
24
+ 0-4,5-9
25
+ 0-9,a-z
26
+ m-z,k-n,1,9
27
+ a,e,i,o,u,y
28
+ a-j,6-9
29
+ c-o,w-z,3,8
30
+ n-w,c-j,1,4,5,9
31
+ r-s,y-z,j-k,3
32
+ d,v,z,7,b,f,k,n,q,8,y
33
+ g-k,a-f,x-z,b-d
@@ -0,0 +1,11 @@
1
+ 8 14
2
+ 8 14
3
+ 8 14
4
+ 13 14
5
+ 3 4
6
+ 5 14
7
+ 5 14
8
+ 5 14
9
+ 4 4
10
+ 0 0
11
+ 14 14
@@ -0,0 +1,12 @@
1
+ 60 69
2
+ 70 74
3
+ 45 49
4
+ 139 142
5
+ 109 113
6
+ 41 43
7
+ 87 89
8
+ 46 48
9
+ 18 20
10
+ 155 157
11
+ 60 69
12
+ 60 69
@@ -0,0 +1,10 @@
1
+ 1117 1972
2
+ 1556 1681
3
+ 1117 1972
4
+ 1117 1972
5
+ 341 413
6
+ 341 438
7
+ 1117 1972
8
+ 695 734
9
+ 1260 1308
10
+ 1916 1974
@@ -0,0 +1,12 @@
1
+ 5707 5768
2
+ 3084 3209
3
+ 3084 3209
4
+ 3084 3209
5
+ 609 658
6
+ 5587 5612
7
+ 2662 2673
8
+ 4923 4934
9
+ 1769 1804
10
+ 1889 1952
11
+ 609 658
12
+ 5693 5768
@@ -0,0 +1,12 @@
1
+ 9274 9416
2
+ 8243 8300
3
+ 8243 8300
4
+ 9247 9409
5
+ 9261 9409
6
+ 5927 5936
7
+ 9239 9328
8
+ 9239 9328
9
+ 7838 7920
10
+ 9403 9457
11
+ 3670 3790
12
+ 9239 9328
@@ -0,0 +1,14 @@
1
+ const N = parseInt(readline());
2
+ for (let i = 0; i < N; i++) {
3
+ var inputs = readline().split(' ');
4
+ for (let j = 0; j < 5; j++) {
5
+ const card = inputs[j];
6
+ }
7
+ }
8
+ for (let i = 0; i < N; i++) {
9
+
10
+ // Write an answer using console.log()
11
+ // To debug: console.error('Debug messages...');
12
+
13
+ console.log('handScore');
14
+ }
@@ -0,0 +1,18 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $N);
3
+ for ($i = 0; $i < $N; $i++)
4
+ {
5
+ $inputs = explode(" ", fgets(STDIN));
6
+ for ($j = 0; $j < 5; $j++)
7
+ {
8
+ $card = ($inputs[$j]);
9
+ }
10
+ }
11
+ for ($i = 0; $i < $N; $i++)
12
+ {
13
+
14
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
15
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
16
+
17
+ echo("handScore\n");
18
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "path": "medium/OneForHisNobs",
3
+ "name": "One for his Nobs",
4
+ "alphanumName": "OneForHisNobs",
5
+ "link": "https://www.codingame.com/ide/puzzle/one-for-his-nobs",
6
+ "tests": [
7
+ {
8
+ "name": "Fifteens",
9
+ "alphanumName": "Fifteens",
10
+ "file": "01 - Fifteens.txt"
11
+ },
12
+ {
13
+ "name": "Runs",
14
+ "alphanumName": "Runs",
15
+ "file": "02 - Runs.txt"
16
+ },
17
+ {
18
+ "name": "Pairs",
19
+ "alphanumName": "Pairs",
20
+ "file": "03 - Pairs.txt"
21
+ },
22
+ {
23
+ "name": "Flushes",
24
+ "alphanumName": "Flushes",
25
+ "file": "04 - Flushes.txt"
26
+ },
27
+ {
28
+ "name": "One for his nobs",
29
+ "alphanumName": "OneForHisNobs",
30
+ "file": "05 - One for his nobs.txt"
31
+ },
32
+ {
33
+ "name": "Compound runs",
34
+ "alphanumName": "CompoundRuns",
35
+ "file": "06 - Compound runs.txt"
36
+ },
37
+ {
38
+ "name": "Big Hands",
39
+ "alphanumName": "BigHands",
40
+ "file": "07 - Big Hands.txt"
41
+ },
42
+ {
43
+ "name": "19 hand",
44
+ "alphanumName": "19Hand",
45
+ "file": "08 - 19 hand.txt"
46
+ },
47
+ {
48
+ "name": "Wikipedia hands",
49
+ "alphanumName": "WikipediaHands",
50
+ "file": "09 - Wikipedia hands.txt"
51
+ }
52
+ ]
53
+ }
@@ -0,0 +1,6 @@
1
+ 5
2
+ 7H 8D TS 2H 4C
3
+ 5C TD KS 2H 4C
4
+ 6H AS 9C TS KH
5
+ 2C TS 3D 6S 8C
6
+ 2C TS 3D QH 8C
@@ -0,0 +1,4 @@
1
+ 3
2
+ KC QH 7D AS JD
3
+ TC JH QD KS 3D
4
+ KS TC JH QD 9D
@@ -0,0 +1,4 @@
1
+ 3
2
+ AH AD 9H JC KS
3
+ AH AD AS JC KS
4
+ AH AD AS AC KS
@@ -0,0 +1,4 @@
1
+ 3
2
+ AD 2D 6D JD QS
3
+ AD 2D 6D TD QD
4
+ AD 2D 6D JS QD
@@ -0,0 +1,5 @@
1
+ 4
2
+ TS TH JD QS AC
3
+ TS TH JD QS KC
4
+ TC TH TD JS QH
5
+ TH JD JS QC QH
@@ -0,0 +1,6 @@
1
+ 5
2
+ 2H 2D 2S 2C 9S
3
+ 2H 6H 7H 8H 7D
4
+ 4H 4C 5S 5D 6S
5
+ 5H 5C 5D QH 5S
6
+ 5H 5C 5D JS 5S
@@ -0,0 +1,2 @@
1
+ 1
2
+ AH 6S TC KS JD
@@ -0,0 +1,8 @@
1
+ 7
2
+ 6D JH 4H 7C 5H
3
+ 5S 4S 7S 6H 5H
4
+ TS 8D KC 8C 5H
5
+ 7S KD 9D 8H 3H
6
+ TS 5S 4S 7C 3H
7
+ 7D 3D TH 5C 3H
8
+ 8C AS QH 2H 3H
@@ -0,0 +1,9 @@
1
+ const T = parseInt(readline());
2
+ for (let i = 0; i < T; i++) {
3
+ const n = parseInt(readline());
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('partitions');
@@ -0,0 +1,11 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $T);
3
+ for ($i = 0; $i < $T; $i++)
4
+ {
5
+ fscanf(STDIN, "%d", $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("partitions\n");
@@ -0,0 +1,43 @@
1
+ {
2
+ "path": "easy/PartitionNumbers",
3
+ "name": "Partition Numbers",
4
+ "alphanumName": "PartitionNumbers",
5
+ "link": "https://www.codingame.com/ide/puzzle/partition-numbers",
6
+ "tests": [
7
+ {
8
+ "name": "Test 1",
9
+ "alphanumName": "test1",
10
+ "file": "01 - test 1.txt"
11
+ },
12
+ {
13
+ "name": "Test 2",
14
+ "alphanumName": "test2",
15
+ "file": "02 - test 2.txt"
16
+ },
17
+ {
18
+ "name": "Test 3",
19
+ "alphanumName": "test3",
20
+ "file": "03 - test 3.txt"
21
+ },
22
+ {
23
+ "name": "Test 4",
24
+ "alphanumName": "test4",
25
+ "file": "04 - test 4.txt"
26
+ },
27
+ {
28
+ "name": "Test 5",
29
+ "alphanumName": "test5",
30
+ "file": "05 - test 5.txt"
31
+ },
32
+ {
33
+ "name": "Test 6",
34
+ "alphanumName": "test6",
35
+ "file": "06 - test 6.txt"
36
+ },
37
+ {
38
+ "name": "Test 7",
39
+ "alphanumName": "test7",
40
+ "file": "07 - test 7.txt"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,11 @@
1
+ 10
2
+ 5
3
+ 6
4
+ 7
5
+ 8
6
+ 9
7
+ 10
8
+ 11
9
+ 12
10
+ 13
11
+ 14
@@ -0,0 +1,16 @@
1
+ 15
2
+ 5
3
+ 7
4
+ 12
5
+ 15
6
+ 20
7
+ 25
8
+ 30
9
+ 35
10
+ 40
11
+ 45
12
+ 50
13
+ 55
14
+ 60
15
+ 65
16
+ 70
@@ -0,0 +1,16 @@
1
+ 15
2
+ 1
3
+ 0
4
+ 2
5
+ 50
6
+ 100
7
+ 75
8
+ 80
9
+ 85
10
+ 90
11
+ 95
12
+ 30
13
+ 35
14
+ 40
15
+ 45
16
+ 25
@@ -0,0 +1,10 @@
1
+ 7
2
+ 11
3
+ 15
4
+ 22
5
+ 30
6
+ 42
7
+ 56
8
+ 77
9
+ 101
10
+ 135
@@ -0,0 +1,15 @@
1
+ 7
2
+ 15
3
+ 77
4
+ 176
5
+ 627
6
+ 1958
7
+ 5604
8
+ 14883
9
+ 37338
10
+ 89134
11
+ 204226
12
+ 451276
13
+ 966467
14
+ 2012558
15
+ 4087968
@@ -0,0 +1,15 @@
1
+ 1
2
+ 1
3
+ 2
4
+ 204226
5
+ 190569292
6
+ 8118264
7
+ 15796476
8
+ 30167357
9
+ 56634173
10
+ 104651419
11
+ 5604
12
+ 14883
13
+ 37338
14
+ 89134
15
+ 1958
@@ -0,0 +1,7 @@
1
+ const attack = parseInt(readline());
2
+ const defense = parseInt(readline());
3
+
4
+ // Write an answer using console.log()
5
+ // To debug: console.error('Debug messages...');
6
+
7
+ console.log('42.42%');
@@ -0,0 +1,8 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $attack);
3
+ fscanf(STDIN, "%d", $defense);
4
+
5
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
6
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
7
+
8
+ echo("42.42%\n");
@@ -0,0 +1,48 @@
1
+ {
2
+ "path": "medium/RiskOddsCalculator",
3
+ "name": "Risk odds calculator",
4
+ "alphanumName": "RiskOddsCalculator",
5
+ "link": "https://www.codingame.com/ide/puzzle/risk-odds-calculator",
6
+ "tests": [
7
+ {
8
+ "name": "Minimal armies",
9
+ "alphanumName": "MinimalArmies",
10
+ "file": "01 - Minimal armies.txt"
11
+ },
12
+ {
13
+ "name": "Small armies, advantage attacker",
14
+ "alphanumName": "SmallArmiesAdvantageAttacker",
15
+ "file": "02 - Small armies, advantage attacker.txt"
16
+ },
17
+ {
18
+ "name": "Small armies, advantage defender",
19
+ "alphanumName": "SmallArmiesAdvantageDefender",
20
+ "file": "03 - Small armies, advantage defender.txt"
21
+ },
22
+ {
23
+ "name": "Small armies, balanced",
24
+ "alphanumName": "SmallArmiesBalanced",
25
+ "file": "04 - Small armies, balanced.txt"
26
+ },
27
+ {
28
+ "name": "Crushing endgame",
29
+ "alphanumName": "CrushingEndgame",
30
+ "file": "05 - Crushing endgame.txt"
31
+ },
32
+ {
33
+ "name": "Hail Mary",
34
+ "alphanumName": "HailMary",
35
+ "file": "06 - Hail Mary.txt"
36
+ },
37
+ {
38
+ "name": "Large, uncertain battle",
39
+ "alphanumName": "LargeUncertainBattle",
40
+ "file": "07 - Large, uncertain battle.txt"
41
+ },
42
+ {
43
+ "name": "Mother of all battles",
44
+ "alphanumName": "MotherOfAllBattles",
45
+ "file": "08 - Mother of all battles.txt"
46
+ }
47
+ ]
48
+ }