@cyrilverloop/codingame-configuration 1.18.0 → 1.19.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 (153) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.cpp +17 -0
  3. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.java +16 -0
  4. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.js +6 -0
  5. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.php +7 -0
  6. package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.ts +6 -0
  7. package/config/hard/BeautifulBaseIsABeautifulSum/config.json +33 -0
  8. package/config/hard/BeautifulBaseIsABeautifulSum/input/01 - test 1.txt +1 -0
  9. package/config/hard/BeautifulBaseIsABeautifulSum/input/02 - test 2.txt +1 -0
  10. package/config/hard/BeautifulBaseIsABeautifulSum/input/03 - test 3.txt +1 -0
  11. package/config/hard/BeautifulBaseIsABeautifulSum/input/04 - test 4.txt +1 -0
  12. package/config/hard/BeautifulBaseIsABeautifulSum/input/05 - test 5.txt +1 -0
  13. package/config/hard/BeautifulBaseIsABeautifulSum/output/01 - test 1.txt +1 -0
  14. package/config/hard/BeautifulBaseIsABeautifulSum/output/02 - test 2.txt +1 -0
  15. package/config/hard/BeautifulBaseIsABeautifulSum/output/03 - test 3.txt +1 -0
  16. package/config/hard/BeautifulBaseIsABeautifulSum/output/04 - test 4.txt +1 -0
  17. package/config/hard/BeautifulBaseIsABeautifulSum/output/05 - test 5.txt +1 -0
  18. package/config/hard/UnfloodTheWorld/code/CGCode.cpp +24 -0
  19. package/config/hard/UnfloodTheWorld/code/CGCode.java +22 -0
  20. package/config/hard/UnfloodTheWorld/code/CGCode.js +14 -0
  21. package/config/hard/UnfloodTheWorld/code/CGCode.php +15 -0
  22. package/config/hard/UnfloodTheWorld/code/CGCode.ts +14 -0
  23. package/config/hard/UnfloodTheWorld/config.json +48 -0
  24. package/config/hard/UnfloodTheWorld/input/01 - One drain.txt +5 -0
  25. package/config/hard/UnfloodTheWorld/input/02 - Hill.txt +6 -0
  26. package/config/hard/UnfloodTheWorld/input/03 - Wall.txt +4 -0
  27. package/config/hard/UnfloodTheWorld/input/04 - Flat field.txt +4 -0
  28. package/config/hard/UnfloodTheWorld/input/05 - Chess board.txt +6 -0
  29. package/config/hard/UnfloodTheWorld/input/06 - Fractal.txt +10 -0
  30. package/config/hard/UnfloodTheWorld/input/07 - Maze.txt +10 -0
  31. package/config/hard/UnfloodTheWorld/input/08 - Plateaus.txt +7 -0
  32. package/config/hard/UnfloodTheWorld/output/01 - One drain.txt +1 -0
  33. package/config/hard/UnfloodTheWorld/output/02 - Hill.txt +1 -0
  34. package/config/hard/UnfloodTheWorld/output/03 - Wall.txt +1 -0
  35. package/config/hard/UnfloodTheWorld/output/04 - Flat field.txt +1 -0
  36. package/config/hard/UnfloodTheWorld/output/05 - Chess board.txt +1 -0
  37. package/config/hard/UnfloodTheWorld/output/06 - Fractal.txt +1 -0
  38. package/config/hard/UnfloodTheWorld/output/07 - Maze.txt +1 -0
  39. package/config/hard/UnfloodTheWorld/output/08 - Plateaus.txt +1 -0
  40. package/config/{hard → medium}/Hangman/config.json +1 -1
  41. package/config/medium/HillNotationAndHillOrder/code/CGCode.cpp +26 -0
  42. package/config/medium/HillNotationAndHillOrder/code/CGCode.java +26 -0
  43. package/config/medium/HillNotationAndHillOrder/code/CGCode.js +9 -0
  44. package/config/medium/HillNotationAndHillOrder/code/CGCode.php +11 -0
  45. package/config/medium/HillNotationAndHillOrder/code/CGCode.ts +9 -0
  46. package/config/medium/HillNotationAndHillOrder/config.json +33 -0
  47. package/config/medium/HillNotationAndHillOrder/input/01 - Simple Sort.txt +4 -0
  48. package/config/medium/HillNotationAndHillOrder/input/02 - Quantity Sort.txt +7 -0
  49. package/config/medium/HillNotationAndHillOrder/input/03 - Duplicates.txt +4 -0
  50. package/config/medium/HillNotationAndHillOrder/input/04 - Bigger Sort.txt +11 -0
  51. package/config/medium/HillNotationAndHillOrder/input/05 - Parenthesis.txt +4 -0
  52. package/config/medium/HillNotationAndHillOrder/output/01 - Simple Sort.txt +3 -0
  53. package/config/medium/HillNotationAndHillOrder/output/02 - Quantity Sort.txt +6 -0
  54. package/config/medium/HillNotationAndHillOrder/output/03 - Duplicates.txt +1 -0
  55. package/config/medium/HillNotationAndHillOrder/output/04 - Bigger Sort.txt +10 -0
  56. package/config/medium/HillNotationAndHillOrder/output/05 - Parenthesis.txt +3 -0
  57. package/config/medium/InequalityOverlapArea/code/CGCode.cpp +23 -0
  58. package/config/medium/InequalityOverlapArea/code/CGCode.java +24 -0
  59. package/config/medium/InequalityOverlapArea/code/CGCode.js +11 -0
  60. package/config/medium/InequalityOverlapArea/code/CGCode.php +13 -0
  61. package/config/medium/InequalityOverlapArea/code/CGCode.ts +11 -0
  62. package/config/medium/InequalityOverlapArea/config.json +68 -0
  63. package/config/medium/InequalityOverlapArea/input/01 - Simple Overlap.txt +4 -0
  64. package/config/medium/InequalityOverlapArea/input/02 - Floating.txt +5 -0
  65. package/config/medium/InequalityOverlapArea/input/03 - Pentagon.txt +6 -0
  66. package/config/medium/InequalityOverlapArea/input/04 - NO.txt +9 -0
  67. package/config/medium/InequalityOverlapArea/input/05 - Infinite.txt +7 -0
  68. package/config/medium/InequalityOverlapArea/input/06 - NoOverlap.txt +10 -0
  69. package/config/medium/InequalityOverlapArea/input/07 - Not Finite.txt +10 -0
  70. package/config/medium/InequalityOverlapArea/input/08 - Same Graph.txt +6 -0
  71. package/config/medium/InequalityOverlapArea/input/09 - One Line.txt +7 -0
  72. package/config/medium/InequalityOverlapArea/input/10 - One Point.txt +11 -0
  73. package/config/medium/InequalityOverlapArea/input/11 - Quadrilateral.txt +5 -0
  74. package/config/medium/InequalityOverlapArea/input/12 - Rectangle.txt +5 -0
  75. package/config/medium/InequalityOverlapArea/output/01 - Simple Overlap.txt +1 -0
  76. package/config/medium/InequalityOverlapArea/output/02 - Floating.txt +1 -0
  77. package/config/medium/InequalityOverlapArea/output/03 - Pentagon.txt +1 -0
  78. package/config/medium/InequalityOverlapArea/output/04 - NO.txt +1 -0
  79. package/config/medium/InequalityOverlapArea/output/05 - Infinite.txt +1 -0
  80. package/config/medium/InequalityOverlapArea/output/06 - NoOverlap.txt +1 -0
  81. package/config/medium/InequalityOverlapArea/output/07 - Not Finite.txt +1 -0
  82. package/config/medium/InequalityOverlapArea/output/08 - Same Graph.txt +1 -0
  83. package/config/medium/InequalityOverlapArea/output/09 - One Line.txt +1 -0
  84. package/config/medium/InequalityOverlapArea/output/10 - One Point.txt +1 -0
  85. package/config/medium/InequalityOverlapArea/output/11 - Quadrilateral.txt +1 -0
  86. package/config/medium/InequalityOverlapArea/output/12 - Rectangle.txt +1 -0
  87. package/config/medium/SwappingElements/code/CGCode.cpp +21 -0
  88. package/config/medium/SwappingElements/code/CGCode.java +22 -0
  89. package/config/medium/SwappingElements/code/CGCode.js +9 -0
  90. package/config/medium/SwappingElements/code/CGCode.php +11 -0
  91. package/config/medium/SwappingElements/code/CGCode.ts +9 -0
  92. package/config/medium/SwappingElements/config.json +83 -0
  93. package/config/medium/SwappingElements/input/01 - Kindergarten.txt +4 -0
  94. package/config/medium/SwappingElements/input/02 - ABC.txt +8 -0
  95. package/config/medium/SwappingElements/input/03 - Thread.txt +5 -0
  96. package/config/medium/SwappingElements/input/04 - Bob.txt +8 -0
  97. package/config/medium/SwappingElements/input/05 - Not Bob.txt +4 -0
  98. package/config/medium/SwappingElements/input/06 - Vacuum of the Space Key.txt +7 -0
  99. package/config/medium/SwappingElements/input/07 - Periodic Table.txt +19 -0
  100. package/config/medium/SwappingElements/input/08 - Chemical Compounds.txt +28 -0
  101. package/config/medium/SwappingElements/input/09 - Gibberish.txt +14 -0
  102. package/config/medium/SwappingElements/input/10 - Negative.txt +40 -0
  103. package/config/medium/SwappingElements/input/11 - How/342/200/231s your day going.txt" +19 -0
  104. package/config/medium/SwappingElements/input/12 - The World Ends.txt +117 -0
  105. package/config/medium/SwappingElements/input/13 - Numbering the Last One.txt +30 -0
  106. package/config/medium/SwappingElements/input/14 - Random.txt +19 -0
  107. package/config/medium/SwappingElements/input/15 - Coding.txt +10 -0
  108. package/config/medium/SwappingElements/output/01 - Kindergarten.txt +1 -0
  109. package/config/medium/SwappingElements/output/02 - ABC.txt +1 -0
  110. package/config/medium/SwappingElements/output/03 - Thread.txt +1 -0
  111. package/config/medium/SwappingElements/output/04 - Bob.txt +1 -0
  112. package/config/medium/SwappingElements/output/05 - Not Bob.txt +1 -0
  113. package/config/medium/SwappingElements/output/06 - Vacuum of the Space Key.txt +1 -0
  114. package/config/medium/SwappingElements/output/07 - Periodic Table.txt +1 -0
  115. package/config/medium/SwappingElements/output/08 - Chemical Compounds.txt +1 -0
  116. package/config/medium/SwappingElements/output/09 - Gibberish.txt +1 -0
  117. package/config/medium/SwappingElements/output/10 - Negative.txt +1 -0
  118. package/config/medium/SwappingElements/output/11 - How/342/200/231s your day going.txt" +1 -0
  119. package/config/medium/SwappingElements/output/12 - The World Ends.txt +1 -0
  120. package/config/medium/SwappingElements/output/13 - Numbering the Last One.txt +1 -0
  121. package/config/medium/SwappingElements/output/14 - Random.txt +1 -0
  122. package/config/medium/SwappingElements/output/15 - Coding.txt +1 -0
  123. package/config/medium/TableSolver/code/CGCode.cpp +21 -0
  124. package/config/medium/TableSolver/code/CGCode.java +22 -0
  125. package/config/medium/TableSolver/code/CGCode.js +9 -0
  126. package/config/medium/TableSolver/code/CGCode.php +11 -0
  127. package/config/medium/TableSolver/code/CGCode.ts +9 -0
  128. package/config/medium/TableSolver/config.json +43 -0
  129. package/config/medium/TableSolver/input/01 - Addition.txt +8 -0
  130. package/config/medium/TableSolver/input/02 - Subtraction.txt +8 -0
  131. package/config/medium/TableSolver/input/03 - Multiplication.txt +10 -0
  132. package/config/medium/TableSolver/input/04 - small.txt +4 -0
  133. package/config/medium/TableSolver/input/05 - BIG.txt +15 -0
  134. package/config/medium/TableSolver/input/06 - CG.txt +24 -0
  135. package/config/medium/TableSolver/input/07 - 0.txt +10 -0
  136. package/config/medium/TableSolver/output/01 - Addition.txt +7 -0
  137. package/config/medium/TableSolver/output/02 - Subtraction.txt +7 -0
  138. package/config/medium/TableSolver/output/03 - Multiplication.txt +9 -0
  139. package/config/medium/TableSolver/output/04 - small.txt +3 -0
  140. package/config/medium/TableSolver/output/05 - BIG.txt +15 -0
  141. package/config/medium/TableSolver/output/06 - CG.txt +23 -0
  142. package/config/medium/TableSolver/output/07 - 0.txt +9 -0
  143. package/package.json +1 -1
  144. /package/config/{hard → medium}/Hangman/code/CGCode.js +0 -0
  145. /package/config/{hard → medium}/Hangman/code/CGCode.php +0 -0
  146. /package/config/{hard → medium}/Hangman/input/01 - Solution found.txt +0 -0
  147. /package/config/{hard → medium}/Hangman/input/02 - Wrong answer.txt +0 -0
  148. /package/config/{hard → medium}/Hangman/input/03 - White space.txt +0 -0
  149. /package/config/{hard → medium}/Hangman/input/04 - Same letter.txt +0 -0
  150. /package/config/{hard → medium}/Hangman/output/01 - Solution found.txt +0 -0
  151. /package/config/{hard → medium}/Hangman/output/02 - Wrong answer.txt +0 -0
  152. /package/config/{hard → medium}/Hangman/output/03 - White space.txt +0 -0
  153. /package/config/{hard → medium}/Hangman/output/04 - Same letter.txt +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.19.0] - 2025-09-30
8
+ ### Added
9
+ - configuration for "Swapping Elements".
10
+ - configuration for "Table Solver".
11
+ - configuration for "Hill Notation and Hill Order".
12
+ - configuration for "Unflood The World".
13
+ - configuration for "Beautiful base : Is a beautiful sum ?".
14
+ - configuration for "Inequality Overlap Area".
15
+
16
+ ### Changed
17
+ - difficulty of "Hangman" from hard to medium.
18
+
7
19
  ## [1.18.0] - 2025-08-31
8
20
  ### Added
9
21
  - configuration for "Takuzu Solver (Easy mode)".
@@ -0,0 +1,17 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ long long n;
11
+ cin >> n; cin.ignore();
12
+
13
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
14
+ // To debug: cerr << "Debug messages..." << endl;
15
+
16
+ cout << "Good luck." << endl;
17
+ }
@@ -0,0 +1,16 @@
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
+ long n = in.nextLong();
10
+
11
+ // Write an answer using System.out.println()
12
+ // To debug: System.err.println("Debug messages...");
13
+
14
+ System.out.println("Good luck.");
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ const n = parseInt(readline());
2
+
3
+ // Write an answer using console.log()
4
+ // To debug: console.error('Debug messages...');
5
+
6
+ console.log('Good luck.');
@@ -0,0 +1,7 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $n);
3
+
4
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
5
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
6
+
7
+ echo("Good luck.\n");
@@ -0,0 +1,6 @@
1
+ const n: number = parseInt(readline());
2
+
3
+ // Write an answer using console.log()
4
+ // To debug: console.error('Debug messages...');
5
+
6
+ console.log('Good luck.');
@@ -0,0 +1,33 @@
1
+ {
2
+ "path": "hard/BeautifulBaseIsABeautifulSum",
3
+ "name": "Beautiful base : Is a beautiful sum ?",
4
+ "alphanumName": "BeautifulBaseIsABeautifulSum",
5
+ "link": "https://www.codingame.com/ide/puzzle/beautiful-base-is-a-beautiful-sum",
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
+ }
@@ -0,0 +1 @@
1
+ 1010195 500051044657
@@ -0,0 +1,24 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int w;
11
+ int h;
12
+ cin >> w >> h; cin.ignore();
13
+ for (int i = 0; i < h; i++) {
14
+ for (int j = 0; j < w; j++) {
15
+ int square_h;
16
+ cin >> square_h; cin.ignore();
17
+ }
18
+ }
19
+
20
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
21
+ // To debug: cerr << "Debug messages..." << endl;
22
+
23
+ cout << "0" << endl;
24
+ }
@@ -0,0 +1,22 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int 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 squareH = in.nextInt();
14
+ }
15
+ }
16
+
17
+ // Write an answer using System.out.println()
18
+ // To debug: System.err.println("Debug messages...");
19
+
20
+ System.out.println("0");
21
+ }
22
+ }
@@ -0,0 +1,14 @@
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 squareH = parseInt(inputs[j]);
8
+ }
9
+ }
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('0');
@@ -0,0 +1,15 @@
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
+ $squareH = intval($inputs[$j]);
9
+ }
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("0\n");
@@ -0,0 +1,14 @@
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 squareH: number = parseInt(inputs[j]);
8
+ }
9
+ }
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('0');
@@ -0,0 +1,48 @@
1
+ {
2
+ "path": "hard/UnfloodTheWorld",
3
+ "name": "Unflood The World",
4
+ "alphanumName": "UnfloodTheWorld",
5
+ "link": "https://www.codingame.com/ide/puzzle/unflood-the-world",
6
+ "tests": [
7
+ {
8
+ "name": "One drain",
9
+ "alphanumName": "OneDrain",
10
+ "file": "01 - One drain.txt"
11
+ },
12
+ {
13
+ "name": "Hill",
14
+ "alphanumName": "Hill",
15
+ "file": "02 - Hill.txt"
16
+ },
17
+ {
18
+ "name": "Wall",
19
+ "alphanumName": "Wall",
20
+ "file": "03 - Wall.txt"
21
+ },
22
+ {
23
+ "name": "Flat field",
24
+ "alphanumName": "FlatField",
25
+ "file": "04 - Flat field.txt"
26
+ },
27
+ {
28
+ "name": "Chess board",
29
+ "alphanumName": "ChessBoard",
30
+ "file": "05 - Chess board.txt"
31
+ },
32
+ {
33
+ "name": "Fractal",
34
+ "alphanumName": "Fractal",
35
+ "file": "06 - Fractal.txt"
36
+ },
37
+ {
38
+ "name": "Maze",
39
+ "alphanumName": "Maze",
40
+ "file": "07 - Maze.txt"
41
+ },
42
+ {
43
+ "name": "Plateaus",
44
+ "alphanumName": "Plateaus",
45
+ "file": "08 - Plateaus.txt"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,5 @@
1
+ 5 4
2
+ 5 5 5 5 5
3
+ 5 4 4 4 5
4
+ 5 3 2 1 5
5
+ 5 5 5 5 5
@@ -0,0 +1,6 @@
1
+ 7 5
2
+ 1 1 1 1 1 1 1
3
+ 1 2 2 2 2 2 1
4
+ 1 2 3 9 3 2 1
5
+ 1 2 2 2 2 2 1
6
+ 1 1 1 1 1 1 1
@@ -0,0 +1,4 @@
1
+ 5 3
2
+ 1 1 9 1 1
3
+ 1 1 9 1 1
4
+ 1 1 9 1 1
@@ -0,0 +1,4 @@
1
+ 3 3
2
+ 1 1 1
3
+ 1 1 1
4
+ 1 1 1
@@ -0,0 +1,6 @@
1
+ 5 5
2
+ 1 2 1 2 1
3
+ 2 1 2 1 2
4
+ 1 2 1 2 1
5
+ 2 1 2 1 2
6
+ 1 2 1 2 1
@@ -0,0 +1,10 @@
1
+ 9 9
2
+ 2 2 2 2 2 2 2 2 2
3
+ 2 1 2 2 1 2 2 1 2
4
+ 2 2 2 2 2 2 2 2 2
5
+ 2 2 2 1 1 1 2 2 2
6
+ 2 1 2 1 1 1 2 1 2
7
+ 2 2 2 1 1 1 2 2 2
8
+ 2 2 2 2 2 2 2 2 2
9
+ 2 1 2 2 1 2 2 1 2
10
+ 2 2 2 2 2 2 2 2 2
@@ -0,0 +1,10 @@
1
+ 9 9
2
+ 1 2 3 4 5 6 7 8 9
3
+ 999 999 999 999 999 999 999 999 10
4
+ 31 32 33 34 35 36 37 999 11
5
+ 30 999 999 999 999 999 38 999 12
6
+ 29 999 47 48 49 999 39 999 13
7
+ 28 999 46 999 999 999 40 999 14
8
+ 27 999 45 44 43 42 41 999 15
9
+ 26 999 999 999 999 999 999 999 16
10
+ 25 24 23 22 21 20 19 18 17
@@ -0,0 +1,7 @@
1
+ 6 6
2
+ 1 1 2 2 3 3
3
+ 1 1 2 2 3 3
4
+ 6 6 5 5 4 4
5
+ 6 6 5 5 4 4
6
+ 7 7 8 8 9 9
7
+ 7 7 8 8 9 9
@@ -1,5 +1,5 @@
1
1
  {
2
- "path": "hard/Hangman",
2
+ "path": "medium/Hangman",
3
3
  "name": "Hangman",
4
4
  "alphanumName": "Hangman",
5
5
  "link": "https://www.codingame.com/ide/puzzle/hangman",
@@ -0,0 +1,26 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ /**
9
+ * Auto-generated code below aims at helping you parse
10
+ * the standard input according to the problem statement.
11
+ **/
12
+
13
+ int main()
14
+ {
15
+ int num_compounds;
16
+ cin >> num_compounds; cin.ignore();
17
+ for (int i = 0; i < num_compounds; i++) {
18
+ string compound;
19
+ getline(cin, compound);
20
+ }
21
+
22
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
23
+ // To debug: cerr << "Debug messages..." << endl;
24
+
25
+ cout << "answer" << endl;
26
+ }
@@ -0,0 +1,26 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ /**
6
+ * Auto-generated code below aims at helping you parse
7
+ * the standard input according to the problem statement.
8
+ **/
9
+ class Solution {
10
+
11
+ public static void main(String args[]) {
12
+ Scanner in = new Scanner(System.in);
13
+ int numCompounds = in.nextInt();
14
+ if (in.hasNextLine()) {
15
+ in.nextLine();
16
+ }
17
+ for (int i = 0; i < numCompounds; i++) {
18
+ String compound = in.nextLine();
19
+ }
20
+
21
+ // Write an answer using System.out.println()
22
+ // To debug: System.err.println("Debug messages...");
23
+
24
+ System.out.println("answer");
25
+ }
26
+ }
@@ -0,0 +1,9 @@
1
+ const numCompounds = parseInt(readline());
2
+ for (let i = 0; i < numCompounds; i++) {
3
+ const compound = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('answer');
@@ -0,0 +1,11 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $numCompounds);
3
+ for ($i = 0; $i < $numCompounds; $i++)
4
+ {
5
+ $compound = stream_get_line(STDIN, 128 + 1, "\n");
6
+ }
7
+
8
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
9
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
10
+
11
+ echo("answer\n");
@@ -0,0 +1,9 @@
1
+ const numCompounds: number = parseInt(readline());
2
+ for (let i = 0; i < numCompounds; i++) {
3
+ const compound: string = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('answer');
@@ -0,0 +1,33 @@
1
+ {
2
+ "path": "medium/HillNotationAndHillOrder",
3
+ "name": "Hill Notation and Hill Order",
4
+ "alphanumName": "HillNotationAndHillOrder",
5
+ "link": "https://www.codingame.com/ide/puzzle/hill-notation-and-hill-order",
6
+ "tests": [
7
+ {
8
+ "name": "Simple Sort",
9
+ "alphanumName": "SimpleSort",
10
+ "file": "01 - Simple Sort.txt"
11
+ },
12
+ {
13
+ "name": "Quantity Sort",
14
+ "alphanumName": "QuantitySort",
15
+ "file": "02 - Quantity Sort.txt"
16
+ },
17
+ {
18
+ "name": "Duplicates",
19
+ "alphanumName": "Duplicates",
20
+ "file": "03 - Duplicates.txt"
21
+ },
22
+ {
23
+ "name": "Bigger Sort",
24
+ "alphanumName": "BiggerSort",
25
+ "file": "04 - Bigger Sort.txt"
26
+ },
27
+ {
28
+ "name": "Parenthesis",
29
+ "alphanumName": "Parenthesis",
30
+ "file": "05 - Parenthesis.txt"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,7 @@
1
+ 6
2
+ C5H8O2
3
+ CHNO
4
+ CCl4
5
+ C2H4
6
+ CHCl3
7
+ C8H5NO2
@@ -0,0 +1,11 @@
1
+ 10
2
+ BrH
3
+ CHCl3
4
+ CHNO
5
+ H2O4S
6
+ H4Sn
7
+ C2H4BrCl
8
+ B2O3
9
+ CCl4
10
+ CaO3Ti
11
+ Al6Ca5O14
@@ -0,0 +1,4 @@
1
+ 3
2
+ H3C(CH2)8CH2NH2
3
+ Zn3(PO4)2
4
+ H2C2O4
@@ -0,0 +1,6 @@
1
+ CCl4
2
+ CHCl3
3
+ CHNO
4
+ C2H4
5
+ C5H8O2
6
+ C8H5NO2
@@ -0,0 +1,10 @@
1
+ Al6Ca5O14
2
+ B2O3
3
+ BrH
4
+ CCl4
5
+ CHCl3
6
+ CHNO
7
+ C2H4BrCl
8
+ CaO3Ti
9
+ H2O4S
10
+ H4Sn
@@ -0,0 +1,3 @@
1
+ C2H2O4
2
+ C10H23N
3
+ O8P2Zn3
@@ -0,0 +1,23 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ int main()
9
+ {
10
+ int n;
11
+ cin >> n; cin.ignore();
12
+ for (int i = 0; i < n; i++) {
13
+ string s;
14
+ getline(cin, s);
15
+ }
16
+
17
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
18
+ // To debug: cerr << "Debug messages..." << endl;
19
+
20
+ cout << "The area" << endl;
21
+ cout << "Overlap, But Infinite" << endl;
22
+ cout << "No Overlap" << endl;
23
+ }
@@ -0,0 +1,24 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ class Solution {
6
+
7
+ public static void main(String args[]) {
8
+ Scanner in = new Scanner(System.in);
9
+ int n = in.nextInt();
10
+ if (in.hasNextLine()) {
11
+ in.nextLine();
12
+ }
13
+ for (int i = 0; i < n; i++) {
14
+ String s = 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("The area");
21
+ System.out.println("Overlap, But Infinite");
22
+ System.out.println("No Overlap");
23
+ }
24
+ }
@@ -0,0 +1,11 @@
1
+ const n = parseInt(readline());
2
+ for (let i = 0; i < n; i++) {
3
+ const s = readline();
4
+ }
5
+
6
+ // Write an answer using console.log()
7
+ // To debug: console.error('Debug messages...');
8
+
9
+ console.log('The area');
10
+ console.log('Overlap, But Infinite');
11
+ console.log('No Overlap');