@cyrilverloop/codingame-configuration 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/config/easy/LaughterIsContagious/code/CGCode.cpp +17 -0
  3. package/config/easy/LaughterIsContagious/code/CGCode.java +16 -0
  4. package/config/easy/LaughterIsContagious/code/CGCode.js +6 -0
  5. package/config/easy/LaughterIsContagious/code/CGCode.php +7 -0
  6. package/config/easy/LaughterIsContagious/code/CGCode.ts +6 -0
  7. package/config/easy/LaughterIsContagious/config.json +68 -0
  8. package/config/easy/LaughterIsContagious/input/01 - Everybody laughing.txt +1 -0
  9. package/config/easy/LaughterIsContagious/input/02 - Too far.txt +1 -0
  10. package/config/easy/LaughterIsContagious/input/03 - Example.txt +1 -0
  11. package/config/easy/LaughterIsContagious/input/04 - Very funny.txt +1 -0
  12. package/config/easy/LaughterIsContagious/input/05 - Not funny.txt +1 -0
  13. package/config/easy/LaughterIsContagious/input/06 - Lonely.txt +1 -0
  14. package/config/easy/LaughterIsContagious/input/07 - Solidarity.txt +1 -0
  15. package/config/easy/LaughterIsContagious/input/08 - Big show.txt +1 -0
  16. package/config/easy/LaughterIsContagious/input/09 - Very big show.txt +1 -0
  17. package/config/easy/LaughterIsContagious/input/10 - One Man Show.txt +1 -0
  18. package/config/easy/LaughterIsContagious/input/11 - Duo.txt +1 -0
  19. package/config/easy/LaughterIsContagious/input/12 - Trio.txt +1 -0
  20. package/config/easy/LaughterIsContagious/output/01 - Everybody laughing.txt +1 -0
  21. package/config/easy/LaughterIsContagious/output/02 - Too far.txt +1 -0
  22. package/config/easy/LaughterIsContagious/output/03 - Example.txt +1 -0
  23. package/config/easy/LaughterIsContagious/output/04 - Very funny.txt +1 -0
  24. package/config/easy/LaughterIsContagious/output/05 - Not funny.txt +1 -0
  25. package/config/easy/LaughterIsContagious/output/06 - Lonely.txt +1 -0
  26. package/config/easy/LaughterIsContagious/output/07 - Solidarity.txt +1 -0
  27. package/config/easy/LaughterIsContagious/output/08 - Big show.txt +1 -0
  28. package/config/easy/LaughterIsContagious/output/09 - Very big show.txt +1 -0
  29. package/config/easy/LaughterIsContagious/output/10 - One Man Show.txt +1 -0
  30. package/config/easy/LaughterIsContagious/output/11 - Duo.txt +1 -0
  31. package/config/easy/LaughterIsContagious/output/12 - Trio.txt +1 -0
  32. package/config/easy/RequestValidator/code/CGCode.cpp +19 -0
  33. package/config/easy/RequestValidator/code/CGCode.java +17 -0
  34. package/config/easy/RequestValidator/code/CGCode.js +7 -0
  35. package/config/easy/RequestValidator/code/CGCode.php +8 -0
  36. package/config/easy/RequestValidator/code/CGCode.ts +7 -0
  37. package/config/easy/RequestValidator/config.json +83 -0
  38. package/config/easy/RequestValidator/input/01 - Order Up!.txt +2 -0
  39. package/config/easy/RequestValidator/input/02 - Corrupted.txt +2 -0
  40. package/config/easy/RequestValidator/input/03 - One Cup.txt +2 -0
  41. package/config/easy/RequestValidator/input/04 - Checksum Error.txt +2 -0
  42. package/config/easy/RequestValidator/input/05 - Department Fix.txt +2 -0
  43. package/config/easy/RequestValidator/input/06 - Mismatched Order.txt +2 -0
  44. package/config/easy/RequestValidator/input/07 - Misplaced Order.txt +2 -0
  45. package/config/easy/RequestValidator/input/08 - Order Zero.txt +2 -0
  46. package/config/easy/RequestValidator/input/09 - Standardised Order.txt +2 -0
  47. package/config/easy/RequestValidator/input/10 - Decaffeinated Coffee.txt +2 -0
  48. package/config/easy/RequestValidator/input/11 - Invalid Header.txt +2 -0
  49. package/config/easy/RequestValidator/input/12 - Infinite Stock.txt +2 -0
  50. package/config/easy/RequestValidator/input/13 - Padded Frame.txt +2 -0
  51. package/config/easy/RequestValidator/input/14 - 0xC0FFEE.txt +2 -0
  52. package/config/easy/RequestValidator/input/15 - Missing Checksum.txt +2 -0
  53. package/config/easy/RequestValidator/output/01 - Order Up!.txt +6 -0
  54. package/config/easy/RequestValidator/output/02 - Corrupted.txt +1 -0
  55. package/config/easy/RequestValidator/output/03 - One Cup.txt +1 -0
  56. package/config/easy/RequestValidator/output/04 - Checksum Error.txt +1 -0
  57. package/config/easy/RequestValidator/output/05 - Department Fix.txt +16 -0
  58. package/config/easy/RequestValidator/output/06 - Mismatched Order.txt +1 -0
  59. package/config/easy/RequestValidator/output/07 - Misplaced Order.txt +1 -0
  60. package/config/easy/RequestValidator/output/08 - Order Zero.txt +7 -0
  61. package/config/easy/RequestValidator/output/09 - Standardised Order.txt +1 -0
  62. package/config/easy/RequestValidator/output/10 - Decaffeinated Coffee.txt +1 -0
  63. package/config/easy/RequestValidator/output/11 - Invalid Header.txt +1 -0
  64. package/config/easy/RequestValidator/output/12 - Infinite Stock.txt +16 -0
  65. package/config/easy/RequestValidator/output/13 - Padded Frame.txt +1 -0
  66. package/config/easy/RequestValidator/output/14 - 0xC0FFEE.txt +4 -0
  67. package/config/easy/RequestValidator/output/15 - Missing Checksum.txt +1 -0
  68. package/config/easy/SolarShadowHunter/code/CGCode.cpp +24 -0
  69. package/config/easy/SolarShadowHunter/code/CGCode.java +24 -0
  70. package/config/easy/SolarShadowHunter/code/CGCode.js +12 -0
  71. package/config/easy/SolarShadowHunter/code/CGCode.php +12 -0
  72. package/config/easy/SolarShadowHunter/code/CGCode.ts +12 -0
  73. package/config/easy/SolarShadowHunter/config.json +43 -0
  74. package/config/easy/SolarShadowHunter/input/01 - test 1.txt +7 -0
  75. package/config/easy/SolarShadowHunter/input/02 - test 2.txt +6 -0
  76. package/config/easy/SolarShadowHunter/input/03 - test 3.txt +8 -0
  77. package/config/easy/SolarShadowHunter/input/04 - test 4.txt +6 -0
  78. package/config/easy/SolarShadowHunter/input/05 - test 5.txt +7 -0
  79. package/config/easy/SolarShadowHunter/input/06 - test 6.txt +22 -0
  80. package/config/easy/SolarShadowHunter/input/07 - test 7.txt +32 -0
  81. package/config/easy/SolarShadowHunter/output/01 - test 1.txt +1 -0
  82. package/config/easy/SolarShadowHunter/output/02 - test 2.txt +1 -0
  83. package/config/easy/SolarShadowHunter/output/03 - test 3.txt +1 -0
  84. package/config/easy/SolarShadowHunter/output/04 - test 4.txt +1 -0
  85. package/config/easy/SolarShadowHunter/output/05 - test 5.txt +1 -0
  86. package/config/easy/SolarShadowHunter/output/06 - test 6.txt +1 -0
  87. package/config/easy/SolarShadowHunter/output/07 - test 7.txt +1 -0
  88. package/config/easy/TheDescentPart2/code/CGCode.cpp +29 -0
  89. package/config/easy/TheDescentPart2/code/CGCode.java +25 -0
  90. package/config/easy/TheDescentPart2/code/CGCode.js +18 -0
  91. package/config/easy/TheDescentPart2/code/CGCode.php +17 -0
  92. package/config/easy/TheDescentPart2/code/CGCode.ts +18 -0
  93. package/config/easy/TheDescentPart2/config.json +58 -0
  94. package/config/easy/TheDescentPart2/input/01 - test 1.txt +7 -0
  95. package/config/easy/TheDescentPart2/input/02 - test 2.txt +10 -0
  96. package/config/easy/TheDescentPart2/input/03 - test 3.txt +14 -0
  97. package/config/easy/TheDescentPart2/input/04 - test 4.txt +9 -0
  98. package/config/easy/TheDescentPart2/input/05 - test 5.txt +15 -0
  99. package/config/easy/TheDescentPart2/input/06 - test 6.txt +10 -0
  100. package/config/easy/TheDescentPart2/input/07 - test 7.txt +13 -0
  101. package/config/easy/TheDescentPart2/input/08 - test 8.txt +10 -0
  102. package/config/easy/TheDescentPart2/input/09 - test 9.txt +18 -0
  103. package/config/easy/TheDescentPart2/input/10 - test 10.txt +18 -0
  104. package/config/easy/TheDescentPart2/output/01 - test 1.txt +1 -0
  105. package/config/easy/TheDescentPart2/output/02 - test 2.txt +1 -0
  106. package/config/easy/TheDescentPart2/output/03 - test 3.txt +1 -0
  107. package/config/easy/TheDescentPart2/output/04 - test 4.txt +1 -0
  108. package/config/easy/TheDescentPart2/output/05 - test 5.txt +1 -0
  109. package/config/easy/TheDescentPart2/output/06 - test 6.txt +1 -0
  110. package/config/easy/TheDescentPart2/output/07 - test 7.txt +1 -0
  111. package/config/easy/TheDescentPart2/output/08 - test 8.txt +1 -0
  112. package/config/easy/TheDescentPart2/output/09 - test 9.txt +1 -0
  113. package/config/easy/TheDescentPart2/output/10 - test 10.txt +1 -0
  114. package/config/easy/WhereWasThisKnightBefore/code/CGCode.cpp +25 -0
  115. package/config/easy/WhereWasThisKnightBefore/code/CGCode.java +22 -0
  116. package/config/easy/WhereWasThisKnightBefore/code/CGCode.js +12 -0
  117. package/config/easy/WhereWasThisKnightBefore/code/CGCode.php +15 -0
  118. package/config/easy/WhereWasThisKnightBefore/code/CGCode.ts +12 -0
  119. package/config/easy/WhereWasThisKnightBefore/config.json +38 -0
  120. package/config/easy/WhereWasThisKnightBefore/input/01 - Easy start.txt +17 -0
  121. package/config/easy/WhereWasThisKnightBefore/input/02 - Some action.txt +17 -0
  122. package/config/easy/WhereWasThisKnightBefore/input/03 - Some noise on the board.txt +17 -0
  123. package/config/easy/WhereWasThisKnightBefore/input/04 - Check mate.txt +17 -0
  124. package/config/easy/WhereWasThisKnightBefore/input/05 - Crazy case.txt +17 -0
  125. package/config/easy/WhereWasThisKnightBefore/input/06 - Lots of noise.txt +17 -0
  126. package/config/easy/WhereWasThisKnightBefore/output/01 - Easy start.txt +2 -0
  127. package/config/easy/WhereWasThisKnightBefore/output/02 - Some action.txt +2 -0
  128. package/config/easy/WhereWasThisKnightBefore/output/03 - Some noise on the board.txt +2 -0
  129. package/config/easy/WhereWasThisKnightBefore/output/04 - Check mate.txt +2 -0
  130. package/config/easy/WhereWasThisKnightBefore/output/05 - Crazy case.txt +2 -0
  131. package/config/easy/WhereWasThisKnightBefore/output/06 - Lots of noise.txt +2 -0
  132. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.cpp +28 -0
  133. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.java +24 -0
  134. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.js +15 -0
  135. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.php +16 -0
  136. package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.ts +15 -0
  137. package/config/medium/ManaQuestHuntForThePerfectSeven/config.json +68 -0
  138. package/config/medium/ManaQuestHuntForThePerfectSeven/input/01 - Do I have a land.txt +5 -0
  139. package/config/medium/ManaQuestHuntForThePerfectSeven/input/02 - Any card will do.txt +6 -0
  140. package/config/medium/ManaQuestHuntForThePerfectSeven/input/03 - 100%.txt +4 -0
  141. package/config/medium/ManaQuestHuntForThePerfectSeven/input/04 - 0%.txt +4 -0
  142. package/config/medium/ManaQuestHuntForThePerfectSeven/input/05 - 1 Pattern.txt +6 -0
  143. package/config/medium/ManaQuestHuntForThePerfectSeven/input/06 - Overlap.txt +7 -0
  144. package/config/medium/ManaQuestHuntForThePerfectSeven/input/07 - 3 Patterns.txt +13 -0
  145. package/config/medium/ManaQuestHuntForThePerfectSeven/input/08 - 5 Patterns.txt +13 -0
  146. package/config/medium/ManaQuestHuntForThePerfectSeven/input/09 - 6 Patterns.txt +14 -0
  147. package/config/medium/ManaQuestHuntForThePerfectSeven/input/10 - 7 Patterns.txt +16 -0
  148. package/config/medium/ManaQuestHuntForThePerfectSeven/input/11 - 8 Patterns.txt +18 -0
  149. package/config/medium/ManaQuestHuntForThePerfectSeven/input/12 - 8 Patterns Impossible.txt +18 -0
  150. package/config/medium/ManaQuestHuntForThePerfectSeven/output/01 - Do I have a land.txt +1 -0
  151. package/config/medium/ManaQuestHuntForThePerfectSeven/output/02 - Any card will do.txt +1 -0
  152. package/config/medium/ManaQuestHuntForThePerfectSeven/output/03 - 100%.txt +1 -0
  153. package/config/medium/ManaQuestHuntForThePerfectSeven/output/04 - 0%.txt +1 -0
  154. package/config/medium/ManaQuestHuntForThePerfectSeven/output/05 - 1 Pattern.txt +1 -0
  155. package/config/medium/ManaQuestHuntForThePerfectSeven/output/06 - Overlap.txt +1 -0
  156. package/config/medium/ManaQuestHuntForThePerfectSeven/output/07 - 3 Patterns.txt +1 -0
  157. package/config/medium/ManaQuestHuntForThePerfectSeven/output/08 - 5 Patterns.txt +1 -0
  158. package/config/medium/ManaQuestHuntForThePerfectSeven/output/09 - 6 Patterns.txt +1 -0
  159. package/config/medium/ManaQuestHuntForThePerfectSeven/output/10 - 7 Patterns.txt +1 -0
  160. package/config/medium/ManaQuestHuntForThePerfectSeven/output/11 - 8 Patterns.txt +1 -0
  161. package/config/medium/ManaQuestHuntForThePerfectSeven/output/12 - 8 Patterns Impossible.txt +1 -0
  162. package/config/medium/TrigonometrySimplification/code/CGCode.cpp +19 -0
  163. package/config/medium/TrigonometrySimplification/code/CGCode.java +18 -0
  164. package/config/medium/TrigonometrySimplification/code/CGCode.js +9 -0
  165. package/config/medium/TrigonometrySimplification/code/CGCode.php +7 -0
  166. package/config/medium/TrigonometrySimplification/code/CGCode.ts +9 -0
  167. package/config/medium/TrigonometrySimplification/config.json +63 -0
  168. package/config/medium/TrigonometrySimplification/input/01 - test 1.txt +1 -0
  169. package/config/medium/TrigonometrySimplification/input/02 - test 2.txt +1 -0
  170. package/config/medium/TrigonometrySimplification/input/03 - test 3.txt +1 -0
  171. package/config/medium/TrigonometrySimplification/input/04 - test 4.txt +1 -0
  172. package/config/medium/TrigonometrySimplification/input/05 - test 5.txt +1 -0
  173. package/config/medium/TrigonometrySimplification/input/06 - test 6.txt +1 -0
  174. package/config/medium/TrigonometrySimplification/input/07 - test 7.txt +1 -0
  175. package/config/medium/TrigonometrySimplification/input/08 - test 8.txt +1 -0
  176. package/config/medium/TrigonometrySimplification/input/09 - test 9.txt +1 -0
  177. package/config/medium/TrigonometrySimplification/input/10 - test 10.txt +1 -0
  178. package/config/medium/TrigonometrySimplification/input/11 - test 11.txt +1 -0
  179. package/config/medium/TrigonometrySimplification/output/01 - test 1.txt +1 -0
  180. package/config/medium/TrigonometrySimplification/output/02 - test 2.txt +1 -0
  181. package/config/medium/TrigonometrySimplification/output/03 - test 3.txt +1 -0
  182. package/config/medium/TrigonometrySimplification/output/04 - test 4.txt +1 -0
  183. package/config/medium/TrigonometrySimplification/output/05 - test 5.txt +1 -0
  184. package/config/medium/TrigonometrySimplification/output/06 - test 6.txt +1 -0
  185. package/config/medium/TrigonometrySimplification/output/07 - test 7.txt +1 -0
  186. package/config/medium/TrigonometrySimplification/output/08 - test 8.txt +1 -0
  187. package/config/medium/TrigonometrySimplification/output/09 - test 9.txt +1 -0
  188. package/config/medium/TrigonometrySimplification/output/10 - test 10.txt +1 -0
  189. package/config/medium/TrigonometrySimplification/output/11 - test 11.txt +1 -0
  190. package/package.json +1 -1
@@ -0,0 +1,43 @@
1
+ {
2
+ "path": "easy/SolarShadowHunter",
3
+ "name": "Solar Shadow Hunter",
4
+ "alphanumName": "SolarShadowHunter",
5
+ "link": "https://www.codingame.com/ide/puzzle/solar-shadow-hunter",
6
+ "tests": [
7
+ {
8
+ "name": "Test 1",
9
+ "alphanumName": "test1",
10
+ "file": "01 - test 1.txt"
11
+ },
12
+ {
13
+ "name": "Test 2",
14
+ "alphanumName": "test2",
15
+ "file": "02 - test 2.txt"
16
+ },
17
+ {
18
+ "name": "Test 3",
19
+ "alphanumName": "test3",
20
+ "file": "03 - test 3.txt"
21
+ },
22
+ {
23
+ "name": "Test 4",
24
+ "alphanumName": "test4",
25
+ "file": "04 - test 4.txt"
26
+ },
27
+ {
28
+ "name": "Test 5",
29
+ "alphanumName": "test5",
30
+ "file": "05 - test 5.txt"
31
+ },
32
+ {
33
+ "name": "Test 6",
34
+ "alphanumName": "test6",
35
+ "file": "06 - test 6.txt"
36
+ },
37
+ {
38
+ "name": "Test 7",
39
+ "alphanumName": "test7",
40
+ "file": "07 - test 7.txt"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,7 @@
1
+ 3 5
2
+ 2
3
+ .P.
4
+ .P.
5
+ .P.
6
+ .1.
7
+ ...
@@ -0,0 +1,6 @@
1
+ 4 4
2
+ 1
3
+ .PPP
4
+ ....
5
+ ....
6
+ 1.11
@@ -0,0 +1,8 @@
1
+ 1 6
2
+ 3
3
+ P
4
+ P
5
+ P
6
+ .
7
+ .
8
+ 2
@@ -0,0 +1,6 @@
1
+ 10 4
2
+ 2
3
+ PPPPPPPPPP
4
+ ..........
5
+ ..........
6
+ 123456789.
@@ -0,0 +1,7 @@
1
+ 5 5
2
+ 2
3
+ PPPPP
4
+ .....
5
+ .....
6
+ .1.2.
7
+ .....
@@ -0,0 +1,22 @@
1
+ 20 20
2
+ 1
3
+ PPPPPPPPPPPPPPPPPPPP
4
+ ....................
5
+ ....................
6
+ ....................
7
+ ....................
8
+ ....................
9
+ ....................
10
+ ....................
11
+ ....................
12
+ ....................
13
+ ....................
14
+ ....................
15
+ ....................
16
+ ....................
17
+ ....................
18
+ ....................
19
+ ....................
20
+ ....................
21
+ ....................
22
+ PPP99999999999999999
@@ -0,0 +1,32 @@
1
+ 49 30
2
+ 5
3
+ 1111111111111111111111111111111111111111111111111
4
+ .................................................
5
+ .....6..............3............................
6
+ ......................................9..........
7
+ ..................2..............................
8
+ P.......P.......P.5.....P...4...P.......P.......P
9
+ .P.....P.P1....P.P.....P.P..6..P.P.....P.P.....P.
10
+ ..P...P...P...P...P...P...P...P...P...P...P...P..
11
+ ...P.P.....P.P.....P.P.....P.P.....P.P.....P.P...
12
+ ....P.......P.......P....5..P...956.P.......P....
13
+ .................................................
14
+ ..............7..................................
15
+ ......5.................4..............8.........
16
+ 5................................................
17
+ ...........7.....3...............9...............
18
+ 7....................8..........................2
19
+ 9................................................
20
+ .........................4.....................2.
21
+ ........................5...4....................
22
+ 6...........2....................................
23
+ P.......P9......P.......P.......P.......P.......P
24
+ .P1....P.P5.2..P.P.....P.P.....P1P.....P.P..1..P.
25
+ ..P...P...P...P...P...P...P...P...P...P...P...P..
26
+ ...P.P....6P.P....8P.P.....P.P.....P.P.....P.P...
27
+ ....P.......P.......P.......P.......P.......P....
28
+ .....................8............9..............
29
+ .................................................
30
+ .................................................
31
+ .....1.......7...........5..............1........
32
+ 1111111111111111111111111111111111111111111111111
@@ -0,0 +1,29 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int w;
11
+ int h;
12
+ cin >> w >> h; cin.ignore();
13
+ for (int i = 0; i < h; i++) {
14
+ for (int j = 0; j < w; j++) {
15
+ int mountain_height;
16
+ cin >> mountain_height; cin.ignore();
17
+ }
18
+ }
19
+ int a;
20
+ int b;
21
+ cin >> a >> b; cin.ignore();
22
+ int t;
23
+ cin >> t; cin.ignore();
24
+
25
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
26
+ // To debug: cerr << "Debug messages..." << endl;
27
+
28
+ cout << "Save the starship" << endl;
29
+ }
@@ -0,0 +1,25 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int w = in.nextInt();
10
+ int h = in.nextInt();
11
+ for (int i = 0; i < h; i++) {
12
+ for (int j = 0; j < w; j++) {
13
+ int mountainHeight = in.nextInt();
14
+ }
15
+ }
16
+ int a = in.nextInt();
17
+ int b = in.nextInt();
18
+ int t = in.nextInt();
19
+
20
+ // Write an answer using System.out.println()
21
+ // To debug: System.err.println("Debug messages...");
22
+
23
+ System.out.println("Save the starship");
24
+ }
25
+ }
@@ -0,0 +1,18 @@
1
+ var inputs = readline().split(' ');
2
+ const w = parseInt(inputs[0]);
3
+ const h = parseInt(inputs[1]);
4
+ for (let i = 0; i < h; i++) {
5
+ var inputs = readline().split(' ');
6
+ for (let j = 0; j < w; j++) {
7
+ const mountainHeight = parseInt(inputs[j]);
8
+ }
9
+ }
10
+ var inputs = readline().split(' ');
11
+ const a = parseInt(inputs[0]);
12
+ const b = parseInt(inputs[1]);
13
+ const t = parseInt(readline());
14
+
15
+ // Write an answer using console.log()
16
+ // To debug: console.error('Debug messages...');
17
+
18
+ console.log('Save the starship');
@@ -0,0 +1,17 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $w, $h);
3
+ for ($i = 0; $i < $h; $i++)
4
+ {
5
+ $inputs = explode(" ", fgets(STDIN));
6
+ for ($j = 0; $j < $w; $j++)
7
+ {
8
+ $mountainHeight = intval($inputs[$j]);
9
+ }
10
+ }
11
+ fscanf(STDIN, "%d %d", $a, $b);
12
+ fscanf(STDIN, "%d", $t);
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("Save the starship\n");
@@ -0,0 +1,18 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const w: number = parseInt(inputs[0]);
3
+ const h: number = parseInt(inputs[1]);
4
+ for (let i = 0; i < h; i++) {
5
+ var inputs: string[] = readline().split(' ');
6
+ for (let j = 0; j < w; j++) {
7
+ const mountainHeight: number = parseInt(inputs[j]);
8
+ }
9
+ }
10
+ var inputs: string[] = readline().split(' ');
11
+ const a: number = parseInt(inputs[0]);
12
+ const b: number = parseInt(inputs[1]);
13
+ const t: number = parseInt(readline());
14
+
15
+ // Write an answer using console.log()
16
+ // To debug: console.error('Debug messages...');
17
+
18
+ console.log('Save the starship');
@@ -0,0 +1,58 @@
1
+ {
2
+ "path": "easy/TheDescentPart2",
3
+ "name": "The Descent - Part 2",
4
+ "alphanumName": "TheDescentPart2",
5
+ "link": "https://www.codingame.com/ide/puzzle/the-descent---part-2",
6
+ "tests": [
7
+ {
8
+ "name": "Test 1",
9
+ "alphanumName": "test1",
10
+ "file": "01 - test 1.txt"
11
+ },
12
+ {
13
+ "name": "Test 2",
14
+ "alphanumName": "test2",
15
+ "file": "02 - test 2.txt"
16
+ },
17
+ {
18
+ "name": "Test 3",
19
+ "alphanumName": "test3",
20
+ "file": "03 - test 3.txt"
21
+ },
22
+ {
23
+ "name": "Test 4",
24
+ "alphanumName": "test4",
25
+ "file": "04 - test 4.txt"
26
+ },
27
+ {
28
+ "name": "Test 5",
29
+ "alphanumName": "test5",
30
+ "file": "05 - test 5.txt"
31
+ },
32
+ {
33
+ "name": "Test 6",
34
+ "alphanumName": "test6",
35
+ "file": "06 - test 6.txt"
36
+ },
37
+ {
38
+ "name": "Test 7",
39
+ "alphanumName": "test7",
40
+ "file": "07 - test 7.txt"
41
+ },
42
+ {
43
+ "name": "Test 8",
44
+ "alphanumName": "test8",
45
+ "file": "08 - test 8.txt"
46
+ },
47
+ {
48
+ "name": "Test 9",
49
+ "alphanumName": "test9",
50
+ "file": "09 - test 9.txt"
51
+ },
52
+ {
53
+ "name": "Test 10",
54
+ "alphanumName": "test10",
55
+ "file": "10 - test 10.txt"
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,7 @@
1
+ 4 4
2
+ 2 2 3 4
3
+ 4 5 6 4
4
+ 5 5 5 4
5
+ 4 4 4 4
6
+ 2 2
7
+ 10
@@ -0,0 +1,10 @@
1
+ 8 7
2
+ 15 14 16 18 17 19 15 14
3
+ 13 14 15 16 15 14 11 12
4
+ 15 14 9 2 15 14 16 15
5
+ 11 12 13 14 15 16 17 18
6
+ 18 17 16 15 14 13 12 11
7
+ 15 15 15 15 14 14 16 18
8
+ 18 17 18 17 15 12 11 8
9
+ 4 3
10
+ 28
@@ -0,0 +1,14 @@
1
+ 10 11
2
+ 37 38 39 37 34 35 37 38 35 31
3
+ 37 38 39 37 38 39 34 35 37 38
4
+ 34 35 40 41 40 40 39 38 39 42
5
+ 43 41 42 34 37 38 39 42 41 40
6
+ 38 39 37 34 43 42 41 40 40 40
7
+ 37 38 39 37 34 35 37 38 35 31
8
+ 37 38 39 37 38 39 34 35 37 38
9
+ 34 35 40 41 40 40 39 38 39 42
10
+ 43 41 42 34 37 38 39 42 41 40
11
+ 42 41 40 40 34 38 37 36 31 39
12
+ 39 40 41 43 48 42 37 38 39 37
13
+ 6 7
14
+ 152
@@ -0,0 +1,9 @@
1
+ 4 6
2
+ 2 4 6 8
3
+ 1 5 4 3
4
+ 2 4 6 7
5
+ 2 6 4 5
6
+ 2 1 4 7
7
+ 3 6 4 5
8
+ 6 4
9
+ 80
@@ -0,0 +1,15 @@
1
+ 12 12
2
+ 21 32 45 12 12 13 10 24 25 31 32 34
3
+ 21 31 30 21 11 12 14 15 16 12 13 14
4
+ 32 34 35 36 37 38 39 40 41 42 10 15
5
+ 34 35 36 21 20 21 32 44 45 50 11 13
6
+ 21 32 45 12 12 13 10 24 25 31 32 34
7
+ 21 31 30 21 11 12 14 15 16 12 13 14
8
+ 32 34 35 36 37 38 39 40 41 42 10 15
9
+ 34 35 36 21 20 21 32 44 45 50 11 13
10
+ 21 32 45 12 12 13 10 24 25 31 32 34
11
+ 45 41 42 43 45 46 40 11 10 12 13 45
12
+ 11 12 13 14 10 11 18 45 40 41 41 43
13
+ 21 23 16 17 16 17 16 17 16 17 16 17
14
+ 1 1
15
+ 67
@@ -0,0 +1,10 @@
1
+ 8 7
2
+ 2 3 4 5 6 7 8 4
3
+ 1 5 4 9 7 8 6 5
4
+ 2 6 4 10 12 31 21 5
5
+ 23 45 12 20 21 23 1 4
6
+ 6 4 5 12 32 45 2 3
7
+ 6 4 5 9 7 8 12 19
8
+ 3 4 5 6 7 8 9 4
9
+ 8 2
10
+ 120
@@ -0,0 +1,13 @@
1
+ 11 10
2
+ 45 46 43 42 41 45 48 45 42 43 41
3
+ 42 45 43 46 42 40 44 47 44 48 47
4
+ 42 45 46 42 40 40 41 47 48 44 44
5
+ 42 41 40 39 38 48 47 45 41 42 43
6
+ 45 46 43 42 41 45 48 45 42 43 41
7
+ 42 45 43 46 42 40 44 47 44 48 47
8
+ 42 45 46 42 40 40 41 47 48 44 44
9
+ 45 41 41 40 40 42 38 34 37 38 39
10
+ 38 39 38 37 34 48 47 45 46 41 42
11
+ 42 42 45 43 41 40 41 42 43 45 41
12
+ 3 11
13
+ 148
@@ -0,0 +1,10 @@
1
+ 6 7
2
+ 13 14 15 17 18 22
3
+ 23 23 22 21 23 21
4
+ 23 23 23 17 19 12
5
+ 24 25 24 21 24 23
6
+ 29 28 26 24 24 24
7
+ 27 28 24 27 24 24
8
+ 19 18 17 26 24 24
9
+ 2 3
10
+ 15
@@ -0,0 +1,18 @@
1
+ 14 15
2
+ 41 42 43 44 45 46 47 48 49 50 41 42 43 44
3
+ 31 32 32 33 34 35 36 36 37 37 38 39 40 40
4
+ 29 28 27 29 28 27 26 25 24 23 22 21 20 21
5
+ 47 48 49 41 42 42 43 45 46 40 41 42 43 48
6
+ 41 42 43 44 45 46 47 48 49 50 41 42 43 44
7
+ 31 32 32 33 34 35 36 36 37 37 38 39 40 40
8
+ 29 28 27 29 28 27 26 25 24 23 22 21 20 21
9
+ 47 48 49 41 42 42 43 45 46 40 41 42 43 48
10
+ 41 42 43 44 45 46 47 48 49 50 41 42 43 44
11
+ 31 32 32 33 34 35 36 36 37 37 38 39 40 40
12
+ 29 28 27 29 28 27 26 25 24 23 22 21 20 21
13
+ 47 48 49 41 42 42 43 45 46 40 41 42 43 48
14
+ 50 49 48 47 46 45 42 41 28 27 26 24 21 34
15
+ 38 39 37 34 35 36 31 32 34 29 28 41 42 43
16
+ 37 38 39 40 41 42 43 41 40 49 38 39 38 37
17
+ 12 13
18
+ 2700
@@ -0,0 +1,18 @@
1
+ 13 15
2
+ 21 23 24 25 26 21 27 28 29 28 30 31 32
3
+ 22 26 25 28 27 24 25 26 23 30 31 20 19
4
+ 22 23 21 30 31 34 32 28 27 29 25 20 19
5
+ 24 25 26 27 28 24 21 23 20 19 31 32 34
6
+ 21 23 24 25 26 21 27 28 29 28 30 31 32
7
+ 22 26 25 28 27 24 25 26 23 30 31 20 19
8
+ 22 23 21 30 31 34 32 28 27 29 25 20 19
9
+ 24 28 25 26 21 23 24 31 34 35 38 37 34
10
+ 31 32 34 35 36 37 30 29 28 31 34 35 36
11
+ 22 26 25 28 27 24 25 26 23 30 31 20 19
12
+ 22 23 21 30 31 34 32 28 27 29 25 20 19
13
+ 24 28 25 26 21 23 24 31 34 35 38 37 34
14
+ 31 32 34 35 36 37 30 29 28 31 34 35 36
15
+ 24 28 25 26 21 23 24 31 34 35 38 37 34
16
+ 31 32 34 35 36 37 30 29 28 31 34 35 36
17
+ 13 14
18
+ 1520
@@ -0,0 +1 @@
1
+ Not Possible
@@ -0,0 +1,25 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ string pieces;
11
+ getline(cin, pieces);
12
+ for (int i = 0; i < 8; i++) {
13
+ string sline;
14
+ getline(cin, sline);
15
+ }
16
+ for (int i = 0; i < 8; i++) {
17
+ string eline;
18
+ getline(cin, eline);
19
+ }
20
+
21
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
22
+ // To debug: cerr << "Debug messages..." << endl;
23
+
24
+ cout << "answer" << endl;
25
+ }
@@ -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
+ String pieces = in.nextLine();
10
+ for (int i = 0; i < 8; i++) {
11
+ String sline = in.nextLine();
12
+ }
13
+ for (int i = 0; i < 8; i++) {
14
+ String eline = in.nextLine();
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("answer");
21
+ }
22
+ }
@@ -0,0 +1,12 @@
1
+ const pieces = readline();
2
+ for (let i = 0; i < 8; i++) {
3
+ const sline = readline();
4
+ }
5
+ for (let i = 0; i < 8; i++) {
6
+ const eline = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('answer');
@@ -0,0 +1,15 @@
1
+ <?php
2
+ $pieces = stream_get_line(STDIN, 256 + 1, "\n");
3
+ for ($i = 0; $i < 8; $i++)
4
+ {
5
+ $sline = stream_get_line(STDIN, 8 + 1, "\n");
6
+ }
7
+ for ($i = 0; $i < 8; $i++)
8
+ {
9
+ $eline = stream_get_line(STDIN, 8 + 1, "\n");
10
+ }
11
+
12
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
13
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
14
+
15
+ echo("answer\n");
@@ -0,0 +1,12 @@
1
+ const pieces: string = readline();
2
+ for (let i = 0; i < 8; i++) {
3
+ const sline: string = readline();
4
+ }
5
+ for (let i = 0; i < 8; i++) {
6
+ const eline: string = readline();
7
+ }
8
+
9
+ // Write an answer using console.log()
10
+ // To debug: console.error('Debug messages...');
11
+
12
+ console.log('answer');
@@ -0,0 +1,38 @@
1
+ {
2
+ "path": "easy/WhereWasThisKnightBefore",
3
+ "name": "Where Was This Knight Before?",
4
+ "alphanumName": "WhereWasThisKnightBefore",
5
+ "link": "https://www.codingame.com/ide/puzzle/where-was-this-knight-before",
6
+ "tests": [
7
+ {
8
+ "name": "Easy start",
9
+ "alphanumName": "EasyStart",
10
+ "file": "01 - Easy start.txt"
11
+ },
12
+ {
13
+ "name": "Some action",
14
+ "alphanumName": "SomeAction",
15
+ "file": "02 - Some action.txt"
16
+ },
17
+ {
18
+ "name": "Some noise on the board",
19
+ "alphanumName": "SomeNoiseOnTheBoard",
20
+ "file": "03 - Some noise on the board.txt"
21
+ },
22
+ {
23
+ "name": "Check mate",
24
+ "alphanumName": "CheckMate",
25
+ "file": "04 - Check mate.txt"
26
+ },
27
+ {
28
+ "name": "Crazy case",
29
+ "alphanumName": "CrazyCase",
30
+ "file": "05 - Crazy case.txt"
31
+ },
32
+ {
33
+ "name": "Lots of noise",
34
+ "alphanumName": "LotsOfNoise",
35
+ "file": "06 - Lots of noise.txt"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,17 @@
1
+ RNBQKP
2
+ RNBQKBNR
3
+ PPPPPPPP
4
+ ........
5
+ ........
6
+ ........
7
+ ........
8
+ pppppppp
9
+ rnbqkbnr
10
+ RNBQKBNR
11
+ PPPPPPPP
12
+ ........
13
+ ........
14
+ ........
15
+ ....p...
16
+ pppp.ppp
17
+ rnbqkbnr