@cyrilverloop/codingame-configuration 1.28.0 → 1.30.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 (217) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/config/easy/ASCIIAbacus/code/CGCode.cpp +19 -0
  3. package/config/easy/ASCIIAbacus/code/CGCode.java +18 -0
  4. package/config/easy/ASCIIAbacus/code/CGCode.js +8 -0
  5. package/config/easy/ASCIIAbacus/code/CGCode.php +10 -0
  6. package/config/easy/ASCIIAbacus/code/CGCode.ts +8 -0
  7. package/config/easy/ASCIIAbacus/config.json +68 -0
  8. package/config/easy/ASCIIAbacus/input/01 - 12345.6789.txt +11 -0
  9. package/config/easy/ASCIIAbacus/input/02 - 9987065.403321.txt +11 -0
  10. package/config/easy/ASCIIAbacus/input/03 - 23006.1103.txt +11 -0
  11. package/config/easy/ASCIIAbacus/input/04 - 10.8192453.txt +11 -0
  12. package/config/easy/ASCIIAbacus/input/05 - 159489.0007.txt +11 -0
  13. package/config/easy/ASCIIAbacus/input/06 - 482.03882048.txt +11 -0
  14. package/config/easy/ASCIIAbacus/input/07 - 0.0628.txt +11 -0
  15. package/config/easy/ASCIIAbacus/input/08 - 0.000000034.txt +11 -0
  16. package/config/easy/ASCIIAbacus/input/09 - 849200478.txt +11 -0
  17. package/config/easy/ASCIIAbacus/input/10 - 9999999999999.txt +11 -0
  18. package/config/easy/ASCIIAbacus/input/11 - 0.000000000001.txt +11 -0
  19. package/config/easy/ASCIIAbacus/input/12 - 0.txt +11 -0
  20. package/config/easy/ASCIIAbacus/output/01 - 12345.6789.txt +1 -0
  21. package/config/easy/ASCIIAbacus/output/02 - 9987065.403321.txt +1 -0
  22. package/config/easy/ASCIIAbacus/output/03 - 23006.1103.txt +1 -0
  23. package/config/easy/ASCIIAbacus/output/04 - 10.8192453.txt +1 -0
  24. package/config/easy/ASCIIAbacus/output/05 - 159489.0007.txt +1 -0
  25. package/config/easy/ASCIIAbacus/output/06 - 482.03882048.txt +1 -0
  26. package/config/easy/ASCIIAbacus/output/07 - 0.0628.txt +1 -0
  27. package/config/easy/ASCIIAbacus/output/08 - 0.000000034.txt +1 -0
  28. package/config/easy/ASCIIAbacus/output/09 - 849200478.txt +1 -0
  29. package/config/easy/ASCIIAbacus/output/10 - 9999999999999.txt +1 -0
  30. package/config/easy/ASCIIAbacus/output/11 - 0.000000000001.txt +1 -0
  31. package/config/easy/ASCIIAbacus/output/12 - 0.txt +1 -0
  32. package/config/easy/HagridSpeaking/code/CGCode.cpp +21 -0
  33. package/config/easy/HagridSpeaking/code/CGCode.java +22 -0
  34. package/config/easy/HagridSpeaking/code/CGCode.js +9 -0
  35. package/config/easy/HagridSpeaking/code/CGCode.php +11 -0
  36. package/config/easy/HagridSpeaking/code/CGCode.ts +9 -0
  37. package/config/easy/HagridSpeaking/config.json +48 -0
  38. package/config/easy/HagridSpeaking/input/01 - Simple sentences.txt +3 -0
  39. package/config/easy/HagridSpeaking/input/02 - Does Hagrid speak.txt +6 -0
  40. package/config/easy/HagridSpeaking/input/03 - t,f, d and g replacement.txt +8 -0
  41. package/config/easy/HagridSpeaking/input/04 - Word replacement.txt +2 -0
  42. package/config/easy/HagridSpeaking/input/05 - Do yeh forge/342/200/231 the case.txt" +3 -0
  43. package/config/easy/HagridSpeaking/input/06 - Compound Words.txt +2 -0
  44. package/config/easy/HagridSpeaking/input/07 - Edge cases.txt +11 -0
  45. package/config/easy/HagridSpeaking/input/08 - Very long talk.txt +12 -0
  46. package/config/easy/HagridSpeaking/output/01 - Simple sentences.txt +2 -0
  47. package/config/easy/HagridSpeaking/output/02 - Does Hagrid speak.txt +5 -0
  48. package/config/easy/HagridSpeaking/output/03 - t,f, d and g replacement.txt +7 -0
  49. package/config/easy/HagridSpeaking/output/04 - Word replacement.txt +1 -0
  50. package/config/easy/HagridSpeaking/output/05 - Do yeh forge/342/200/231 the case.txt" +2 -0
  51. package/config/easy/HagridSpeaking/output/06 - Compound Words.txt +1 -0
  52. package/config/easy/HagridSpeaking/output/07 - Edge cases.txt +10 -0
  53. package/config/easy/HagridSpeaking/output/08 - Very long talk.txt +11 -0
  54. package/config/easy/SignalCascade/code/CGCode.cpp +25 -0
  55. package/config/easy/SignalCascade/code/CGCode.java +22 -0
  56. package/config/easy/SignalCascade/code/CGCode.js +14 -0
  57. package/config/easy/SignalCascade/code/CGCode.php +12 -0
  58. package/config/easy/SignalCascade/code/CGCode.ts +14 -0
  59. package/config/easy/SignalCascade/config.json +48 -0
  60. package/config/easy/SignalCascade/input/01 - Example.txt +7 -0
  61. package/config/easy/SignalCascade/input/02 - Full Overload.txt +6 -0
  62. package/config/easy/SignalCascade/input/03 - Chain Reaction.txt +7 -0
  63. package/config/easy/SignalCascade/input/04 - Diagonal Chain.txt +7 -0
  64. package/config/easy/SignalCascade/input/05 - No Overload +5 -0
  65. package/config/easy/SignalCascade/input/06 - Large Calm Zone.txt +7 -0
  66. package/config/easy/SignalCascade/input/07 - Random 1.txt +10 -0
  67. package/config/easy/SignalCascade/input/08 - Random 2.txt +12 -0
  68. package/config/easy/SignalCascade/output/01 - Example.txt +5 -0
  69. package/config/easy/SignalCascade/output/02 - Full Overload.txt +4 -0
  70. package/config/easy/SignalCascade/output/03 - Chain Reaction.txt +5 -0
  71. package/config/easy/SignalCascade/output/04 - Diagonal Chain.txt +5 -0
  72. package/config/easy/SignalCascade/output/05 - No Overload +3 -0
  73. package/config/easy/SignalCascade/output/06 - Large Calm Zone.txt +5 -0
  74. package/config/easy/SignalCascade/output/07 - Random 1.txt +8 -0
  75. package/config/easy/SignalCascade/output/08 - Random 2.txt +10 -0
  76. package/config/easy/YouHaveBeenHacked/code/CGCode.cpp +29 -0
  77. package/config/easy/YouHaveBeenHacked/code/CGCode.java +31 -0
  78. package/config/easy/YouHaveBeenHacked/code/CGCode.js +15 -0
  79. package/config/easy/YouHaveBeenHacked/code/CGCode.php +19 -0
  80. package/config/easy/YouHaveBeenHacked/code/CGCode.ts +15 -0
  81. package/config/easy/YouHaveBeenHacked/config.json +38 -0
  82. package/config/easy/YouHaveBeenHacked/input/01 - Basic Scenario.txt +10 -0
  83. package/config/easy/YouHaveBeenHacked/input/02 - All Firewall Levels.txt +26 -0
  84. package/config/easy/YouHaveBeenHacked/input/03 - Accumulated Strengths - All Blocked.txt +37 -0
  85. package/config/easy/YouHaveBeenHacked/input/04 - Interleaved Attacks.txt +46 -0
  86. package/config/easy/YouHaveBeenHacked/input/05 - Complex Interleaving.txt +78 -0
  87. package/config/easy/YouHaveBeenHacked/input/06 - Total Disorder.txt +104 -0
  88. package/config/easy/YouHaveBeenHacked/output/01 - Basic Scenario.txt +2 -0
  89. package/config/easy/YouHaveBeenHacked/output/02 - All Firewall Levels.txt +6 -0
  90. package/config/easy/YouHaveBeenHacked/output/03 - Accumulated Strengths - All Blocked.txt +5 -0
  91. package/config/easy/YouHaveBeenHacked/output/04 - Interleaved Attacks.txt +4 -0
  92. package/config/easy/YouHaveBeenHacked/output/05 - Complex Interleaving.txt +6 -0
  93. package/config/easy/YouHaveBeenHacked/output/06 - Total Disorder.txt +8 -0
  94. package/config/hard/{SimonsOracle → SimonsExOracle}/config.json +4 -4
  95. package/config/medium/DecimationSequence/code/CGCode.cpp +22 -0
  96. package/config/medium/DecimationSequence/code/CGCode.java +20 -0
  97. package/config/medium/DecimationSequence/code/CGCode.js +12 -0
  98. package/config/medium/DecimationSequence/code/CGCode.php +12 -0
  99. package/config/medium/DecimationSequence/code/CGCode.ts +12 -0
  100. package/config/medium/DecimationSequence/config.json +58 -0
  101. package/config/medium/DecimationSequence/input/01 - 4 terms sequence, easy case.txt +2 -0
  102. package/config/medium/DecimationSequence/input/02 - 4 terms sequence, medium case.txt +2 -0
  103. package/config/medium/DecimationSequence/input/03 - 4 terms sequence, hard case.txt +2 -0
  104. package/config/medium/DecimationSequence/input/04 - Classical sequence, easy case.txt +2 -0
  105. package/config/medium/DecimationSequence/input/05 - Classical sequence, medium case.txt +2 -0
  106. package/config/medium/DecimationSequence/input/06 - Classical sequence, hard case.txt +2 -0
  107. package/config/medium/DecimationSequence/input/07 - Classical sequence, extreme case.txt +2 -0
  108. package/config/medium/DecimationSequence/input/08 - Random sequence, medium case.txt +2 -0
  109. package/config/medium/DecimationSequence/input/09 - Random sequence, hard case.txt +2 -0
  110. package/config/medium/DecimationSequence/input/10 - Random sequence, extreme case.txt +2 -0
  111. package/config/medium/DecimationSequence/output/01 - 4 terms sequence, easy case.txt +1 -0
  112. package/config/medium/DecimationSequence/output/02 - 4 terms sequence, medium case.txt +1 -0
  113. package/config/medium/DecimationSequence/output/03 - 4 terms sequence, hard case.txt +1 -0
  114. package/config/medium/DecimationSequence/output/04 - Classical sequence, easy case.txt +1 -0
  115. package/config/medium/DecimationSequence/output/05 - Classical sequence, medium case.txt +1 -0
  116. package/config/medium/DecimationSequence/output/06 - Classical sequence, hard case.txt +1 -0
  117. package/config/medium/DecimationSequence/output/07 - Classical sequence, extreme case.txt +1 -0
  118. package/config/medium/DecimationSequence/output/08 - Random sequence, medium case.txt +1 -0
  119. package/config/medium/DecimationSequence/output/09 - Random sequence, hard case.txt +1 -0
  120. package/config/medium/DecimationSequence/output/10 - Random sequence, extreme case.txt +1 -0
  121. package/config/medium/RubiksCubeStickers/code/CGCode.cpp +44 -0
  122. package/config/medium/RubiksCubeStickers/code/CGCode.java +43 -0
  123. package/config/medium/RubiksCubeStickers/code/CGCode.js +31 -0
  124. package/config/medium/RubiksCubeStickers/code/CGCode.php +29 -0
  125. package/config/medium/RubiksCubeStickers/code/CGCode.ts +31 -0
  126. package/config/medium/RubiksCubeStickers/config.json +48 -0
  127. package/config/medium/RubiksCubeStickers/input/01 - 1 center sticker.txt +12 -0
  128. package/config/medium/RubiksCubeStickers/input/02 - 1 sidesticker.txt +12 -0
  129. package/config/medium/RubiksCubeStickers/input/03 - 1 corner sticker.txt +12 -0
  130. package/config/medium/RubiksCubeStickers/input/04 - 4 center stickers.txt +12 -0
  131. package/config/medium/RubiksCubeStickers/input/05 - 4 side stickers.txt +12 -0
  132. package/config/medium/RubiksCubeStickers/input/06 - 4 corner stickers.txt +12 -0
  133. package/config/medium/RubiksCubeStickers/input/07 - C O D I N G.txt +12 -0
  134. package/config/medium/RubiksCubeStickers/input/08 - S H A K E D.txt +12 -0
  135. package/config/medium/RubiksCubeStickers/output/01 - 1 center sticker.txt +11 -0
  136. package/config/medium/RubiksCubeStickers/output/02 - 1 sidesticker.txt +11 -0
  137. package/config/medium/RubiksCubeStickers/output/03 - 1 corner sticker.txt +11 -0
  138. package/config/medium/RubiksCubeStickers/output/04 - 4 center stickers.txt +11 -0
  139. package/config/medium/RubiksCubeStickers/output/05 - 4 side stickers.txt +11 -0
  140. package/config/medium/RubiksCubeStickers/output/06 - 4 corner stickers.txt +11 -0
  141. package/config/medium/RubiksCubeStickers/output/07 - C O D I N G.txt +11 -0
  142. package/config/medium/RubiksCubeStickers/output/08 - S H A K E D.txt +11 -0
  143. package/config/medium/SimpleMakefiles/code/CGCode.cpp +34 -0
  144. package/config/medium/SimpleMakefiles/code/CGCode.java +31 -0
  145. package/config/medium/SimpleMakefiles/code/CGCode.js +20 -0
  146. package/config/medium/SimpleMakefiles/code/CGCode.php +22 -0
  147. package/config/medium/SimpleMakefiles/code/CGCode.ts +20 -0
  148. package/config/medium/SimpleMakefiles/config.json +83 -0
  149. package/config/medium/SimpleMakefiles/input/01 - Problem statement example.txt +12 -0
  150. package/config/medium/SimpleMakefiles/input/02 - Up-to-date check and partial rebuild.txt +13 -0
  151. package/config/medium/SimpleMakefiles/input/03 - Single rule with no actions.txt +6 -0
  152. package/config/medium/SimpleMakefiles/input/04 - Up-to-date ages.txt +14 -0
  153. package/config/medium/SimpleMakefiles/input/05 - Multiple goal targets.txt +16 -0
  154. package/config/medium/SimpleMakefiles/input/06 - No-action intermediates and unused rules.txt +19 -0
  155. package/config/medium/SimpleMakefiles/input/07 - Multiple targets with identical prerequisites.txt +18 -0
  156. package/config/medium/SimpleMakefiles/input/08 - Built-in macros and comments.txt +19 -0
  157. package/config/medium/SimpleMakefiles/input/09 - Same target in multiple rules.txt +23 -0
  158. package/config/medium/SimpleMakefiles/input/10 - Large partial rebuild.txt +25 -0
  159. package/config/medium/SimpleMakefiles/input/11 - Cycle detection.txt +22 -0
  160. package/config/medium/SimpleMakefiles/input/12 - Unreachable cycle detection.txt +22 -0
  161. package/config/medium/SimpleMakefiles/input/13 - All rebuild features combined.txt +40 -0
  162. package/config/medium/SimpleMakefiles/input/14 - Multiple action lines per rule.txt +25 -0
  163. package/config/medium/SimpleMakefiles/input/15 - Kitchen sink.txt +56 -0
  164. package/config/medium/SimpleMakefiles/output/01 - Problem statement example.txt +4 -0
  165. package/config/medium/SimpleMakefiles/output/02 - Up-to-date check and partial rebuild.txt +3 -0
  166. package/config/medium/SimpleMakefiles/output/03 - Single rule with no actions.txt +1 -0
  167. package/config/medium/SimpleMakefiles/output/04 - Up-to-date ages.txt +1 -0
  168. package/config/medium/SimpleMakefiles/output/05 - Multiple goal targets.txt +4 -0
  169. package/config/medium/SimpleMakefiles/output/06 - No-action intermediates and unused rules.txt +3 -0
  170. package/config/medium/SimpleMakefiles/output/07 - Multiple targets with identical prerequisites.txt +4 -0
  171. package/config/medium/SimpleMakefiles/output/08 - Built-in macros and comments.txt +6 -0
  172. package/config/medium/SimpleMakefiles/output/09 - Same target in multiple rules.txt +5 -0
  173. package/config/medium/SimpleMakefiles/output/10 - Large partial rebuild.txt +4 -0
  174. package/config/medium/SimpleMakefiles/output/11 - Cycle detection.txt +1 -0
  175. package/config/medium/SimpleMakefiles/output/12 - Unreachable cycle detection.txt +1 -0
  176. package/config/medium/SimpleMakefiles/output/13 - All rebuild features combined.txt +8 -0
  177. package/config/medium/SimpleMakefiles/output/14 - Multiple action lines per rule.txt +11 -0
  178. package/config/medium/SimpleMakefiles/output/15 - Kitchen sink.txt +14 -0
  179. package/config/medium/Squares/code/CGCode.cpp +30 -0
  180. package/config/medium/Squares/code/CGCode.java +27 -0
  181. package/config/medium/Squares/code/CGCode.js +20 -0
  182. package/config/medium/Squares/code/CGCode.php +15 -0
  183. package/config/medium/Squares/code/CGCode.ts +20 -0
  184. package/config/medium/Squares/config.json +38 -0
  185. package/config/medium/Squares/input/01 - Example.txt +10 -0
  186. package/config/medium/Squares/input/02 - Overlap.txt +17 -0
  187. package/config/medium/Squares/input/03 - Fat Squares.txt +15 -0
  188. package/config/medium/Squares/input/04 - Black Hole.txt +20 -0
  189. package/config/medium/Squares/input/05 - Venn.txt +28 -0
  190. package/config/medium/Squares/input/06 - Dartboard.txt +51 -0
  191. package/config/medium/Squares/output/01 - Example.txt +7 -0
  192. package/config/medium/Squares/output/02 - Overlap.txt +12 -0
  193. package/config/medium/Squares/output/03 - Fat Squares.txt +10 -0
  194. package/config/medium/Squares/output/04 - Black Hole.txt +15 -0
  195. package/config/medium/Squares/output/05 - Venn.txt +23 -0
  196. package/config/medium/Squares/output/06 - Dartboard.txt +46 -0
  197. package/package.json +1 -1
  198. /package/config/hard/{SimonsOracle → SimonsExOracle}/code/CGCode.js +0 -0
  199. /package/config/hard/{SimonsOracle → SimonsExOracle}/code/CGCode.php +0 -0
  200. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/01 - Example.txt +0 -0
  201. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/02 - Repetition.txt +0 -0
  202. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/03 - Continuation.txt +0 -0
  203. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/04 - Secrecy.txt +0 -0
  204. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/05 - Saturation.txt +0 -0
  205. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/06 - Coincidence.txt +0 -0
  206. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/07 - Perpetuity.txt +0 -0
  207. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/08 - Structure.txt +0 -0
  208. /package/config/hard/{SimonsOracle → SimonsExOracle}/input/09 - Genius.txt +0 -0
  209. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/01 - Example.txt +0 -0
  210. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/02 - Repetition.txt +0 -0
  211. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/03 - Continuation.txt +0 -0
  212. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/04 - Secrecy.txt +0 -0
  213. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/05 - Saturation.txt +0 -0
  214. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/06 - Coincidence.txt +0 -0
  215. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/07 - Perpetuity.txt +0 -0
  216. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/08 - Structure.txt +0 -0
  217. /package/config/hard/{SimonsOracle → SimonsExOracle}/output/09 - Genius.txt +0 -0
@@ -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
+ int h;
11
+ int w;
12
+ cin >> h >> w; cin.ignore();
13
+ for (int i = 0; i < h; i++) {
14
+ string row;
15
+ cin >> row; cin.ignore();
16
+ }
17
+ int r;
18
+ int c;
19
+ cin >> r >> c; cin.ignore();
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
+ int H = in.nextInt();
10
+ int W = in.nextInt();
11
+ for (int i = 0; i < H; i++) {
12
+ String ROW = in.next();
13
+ }
14
+ int R = in.nextInt();
15
+ int C = in.nextInt();
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,14 @@
1
+ var inputs = readline().split(' ');
2
+ const H = parseInt(inputs[0]);
3
+ const W = parseInt(inputs[1]);
4
+ for (let i = 0; i < H; i++) {
5
+ const ROW = readline();
6
+ }
7
+ var inputs = readline().split(' ');
8
+ const R = parseInt(inputs[0]);
9
+ const C = parseInt(inputs[1]);
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('answer');
@@ -0,0 +1,12 @@
1
+ <?php
2
+ fscanf(STDIN, "%d %d", $H, $W);
3
+ for ($i = 0; $i < $H; $i++)
4
+ {
5
+ fscanf(STDIN, "%s", $ROW);
6
+ }
7
+ fscanf(STDIN, "%d %d", $R, $C);
8
+
9
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
10
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
11
+
12
+ echo("answer\n");
@@ -0,0 +1,14 @@
1
+ var inputs: string[] = readline().split(' ');
2
+ const H: number = parseInt(inputs[0]);
3
+ const W: number = parseInt(inputs[1]);
4
+ for (let i = 0; i < H; i++) {
5
+ const ROW: string = readline();
6
+ }
7
+ var inputs: string[] = readline().split(' ');
8
+ const R: number = parseInt(inputs[0]);
9
+ const C: number = parseInt(inputs[1]);
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('answer');
@@ -0,0 +1,48 @@
1
+ {
2
+ "path": "easy/SignalCascade",
3
+ "name": "Signal Cascade",
4
+ "alphanumName": "SignalCascade",
5
+ "link": "https://www.codingame.com/ide/puzzle/signal-cascade",
6
+ "tests": [
7
+ {
8
+ "name": "Example",
9
+ "alphanumName": "Example",
10
+ "file": "01 - Example.txt"
11
+ },
12
+ {
13
+ "name": "Full Overload",
14
+ "alphanumName": "FullOverload",
15
+ "file": "02 - Full Overload.txt"
16
+ },
17
+ {
18
+ "name": "Chain Reaction",
19
+ "alphanumName": "ChainReaction",
20
+ "file": "03 - Chain Reaction.txt"
21
+ },
22
+ {
23
+ "name": "Diagonal Chain",
24
+ "alphanumName": "DiagonalChain",
25
+ "file": "04 - Diagonal Chain.txt"
26
+ },
27
+ {
28
+ "name": "No Overload",
29
+ "alphanumName": "NoOverload",
30
+ "file": "05 - No Overload.txt"
31
+ },
32
+ {
33
+ "name": "Large Calm Zone",
34
+ "alphanumName": "LargeCalmZone",
35
+ "file": "06 - Large Calm Zone.txt"
36
+ },
37
+ {
38
+ "name": "Random 1",
39
+ "alphanumName": "Random1",
40
+ "file": "07 - Random 1.txt"
41
+ },
42
+ {
43
+ "name": "Random 2",
44
+ "alphanumName": "Random2",
45
+ "file": "08 - Random 2.txt"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,7 @@
1
+ 5 5
2
+ 00000
3
+ 08120
4
+ 07930
5
+ 06540
6
+ 00000
7
+ 2 2
@@ -0,0 +1,6 @@
1
+ 4 4
2
+ 9999
3
+ 9999
4
+ 9999
5
+ 9999
6
+ 1 1
@@ -0,0 +1,7 @@
1
+ 5 5
2
+ 98989
3
+ 89998
4
+ 98989
5
+ 89998
6
+ 98989
7
+ 2 2
@@ -0,0 +1,7 @@
1
+ 5 4
2
+ 9090
3
+ 0909
4
+ 9090
5
+ 0909
6
+ 9090
7
+ 0 2
@@ -0,0 +1,5 @@
1
+ 3 5
2
+ 09009
3
+ 34567
4
+ 89012
5
+ 0 0
@@ -0,0 +1,7 @@
1
+ 5 5
2
+ 12345
3
+ 67890
4
+ 12345
5
+ 67890
6
+ 12345
7
+ 4 4
@@ -0,0 +1,10 @@
1
+ 8 8
2
+ 56216539
3
+ 28904942
4
+ 76568587
5
+ 24998868
6
+ 63199871
7
+ 03091281
8
+ 12013239
9
+ 13388564
10
+ 5 3
@@ -0,0 +1,12 @@
1
+ 10 10
2
+ 4581127663
3
+ 9799142986
4
+ 9658750657
5
+ 2982872404
6
+ 9198961697
7
+ 9025567179
8
+ 5144016596
9
+ 1082733427
10
+ 1284893165
11
+ 5929552222
12
+ 4 2
@@ -0,0 +1,5 @@
1
+ 00000
2
+ 09230
3
+ 08040
4
+ 07650
5
+ 00000
@@ -0,0 +1,4 @@
1
+ 0000
2
+ 0000
3
+ 0000
4
+ 0000
@@ -0,0 +1,5 @@
1
+ 00000
2
+ 00000
3
+ 00000
4
+ 00000
5
+ 00000
@@ -0,0 +1,5 @@
1
+ 0302
2
+ 3040
3
+ 0403
4
+ 3040
5
+ 0302
@@ -0,0 +1,3 @@
1
+ 19009
2
+ 34567
3
+ 89012
@@ -0,0 +1,5 @@
1
+ 12345
2
+ 67890
3
+ 12345
4
+ 67890
5
+ 12346
@@ -0,0 +1,8 @@
1
+ 57327649
2
+ 29038084
3
+ 78900000
4
+ 25000000
5
+ 64500005
6
+ 03205604
7
+ 12124350
8
+ 13388575
@@ -0,0 +1,10 @@
1
+ 6904227663
2
+ 0000452986
3
+ 0000081657
4
+ 6000003404
5
+ 0600092697
6
+ 0348777179
7
+ 6244016596
8
+ 1082733427
9
+ 1284893165
10
+ 5929552222
@@ -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 n;
11
+ cin >> n; cin.ignore();
12
+ for (int i = 0; i < n; i++) {
13
+ string company;
14
+ getline(cin, company);
15
+ }
16
+ int a;
17
+ cin >> a; cin.ignore();
18
+ for (int i = 0; i < a; i++) {
19
+ string attack;
20
+ getline(cin, attack);
21
+ }
22
+ for (int i = 0; i < n; i++) {
23
+
24
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
25
+ // To debug: cerr << "Debug messages..." << endl;
26
+
27
+ cout << "company:status" << endl;
28
+ }
29
+ }
@@ -0,0 +1,31 @@
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 company = in.nextLine();
15
+ }
16
+ int a = in.nextInt();
17
+ if (in.hasNextLine()) {
18
+ in.nextLine();
19
+ }
20
+ for (int i = 0; i < a; i++) {
21
+ String attack = in.nextLine();
22
+ }
23
+ for (int i = 0; i < n; i++) {
24
+
25
+ // Write an answer using System.out.println()
26
+ // To debug: System.err.println("Debug messages...");
27
+
28
+ System.out.println("company:status");
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,15 @@
1
+ const n = parseInt(readline());
2
+ for (let i = 0; i < n; i++) {
3
+ const company = readline();
4
+ }
5
+ const a = parseInt(readline());
6
+ for (let i = 0; i < a; i++) {
7
+ const attack = readline();
8
+ }
9
+ for (let i = 0; i < n; i++) {
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('company:status');
15
+ }
@@ -0,0 +1,19 @@
1
+ <?php
2
+ fscanf(STDIN, "%d", $n);
3
+ for ($i = 0; $i < $n; $i++)
4
+ {
5
+ $company = stream_get_line(STDIN, 50 + 1, "\n");
6
+ }
7
+ fscanf(STDIN, "%d", $a);
8
+ for ($i = 0; $i < $a; $i++)
9
+ {
10
+ $attack = stream_get_line(STDIN, 50 + 1, "\n");
11
+ }
12
+ for ($i = 0; $i < $n; $i++)
13
+ {
14
+
15
+ // Write an answer using echo(). DON'T FORGET THE TRAILING \n
16
+ // To debug: error_log(var_export($var, true)); (equivalent to var_dump)
17
+
18
+ echo("company:status\n");
19
+ }
@@ -0,0 +1,15 @@
1
+ const n: number = parseInt(readline());
2
+ for (let i = 0; i < n; i++) {
3
+ const company: string = readline();
4
+ }
5
+ const a: number = parseInt(readline());
6
+ for (let i = 0; i < a; i++) {
7
+ const attack: string = readline();
8
+ }
9
+ for (let i = 0; i < n; i++) {
10
+
11
+ // Write an answer using console.log()
12
+ // To debug: console.error('Debug messages...');
13
+
14
+ console.log('company:status');
15
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "path": "easy/YouHaveBeenHacked",
3
+ "name": "You have been Hacked!",
4
+ "alphanumName": "YouHaveBeenHacked",
5
+ "link": "https://www.codingame.com/ide/puzzle/you-have-been-hacked",
6
+ "tests": [
7
+ {
8
+ "name": "Basic Scenario",
9
+ "alphanumName": "BasicScenario",
10
+ "file": "01 - Basic Scenario.txt"
11
+ },
12
+ {
13
+ "name": "All Firewall Levels",
14
+ "alphanumName": "AllFirewallLevels",
15
+ "file": "02 - All Firewall Levels.txt"
16
+ },
17
+ {
18
+ "name": "Accumulated Strengths - All Blocked",
19
+ "alphanumName": "AccumulatedStrengthsAllBlocked",
20
+ "file": "03 - Accumulated Strengths - All Blocked.txt"
21
+ },
22
+ {
23
+ "name": "Interleaved Attacks",
24
+ "alphanumName": "InterleavedAttacks",
25
+ "file": "04 - Interleaved Attacks.txt"
26
+ },
27
+ {
28
+ "name": "Complex Interleaving",
29
+ "alphanumName": "ComplexInterleaving",
30
+ "file": "05 - Complex Interleaving.txt"
31
+ },
32
+ {
33
+ "name": "Total Disorder",
34
+ "alphanumName": "TotalDisorder",
35
+ "file": "06 - Total Disorder.txt"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,10 @@
1
+ 2
2
+ AeroCorp:9
3
+ BioPulse:3
4
+ 6
5
+ AeroCorp:ps:4350
6
+ AeroCorp:bf:120
7
+ AeroCorp:mi:95
8
+ BioPulse:ps:320
9
+ BioPulse:bf:740
10
+ BioPulse:mi:1260
@@ -0,0 +1,26 @@
1
+ 6
2
+ EchoWave:7
3
+ FluxCore:7
4
+ GigaByte:5
5
+ HeliosIT:6
6
+ IronGate:4
7
+ JadeWorks:3
8
+ 18
9
+ EchoWave:ps:9999
10
+ EchoWave:bf:15
11
+ EchoWave:mi:25
12
+ FluxCore:ps:10000
13
+ FluxCore:bf:45
14
+ FluxCore:mi:30
15
+ GigaByte:ps:85
16
+ GigaByte:bf:4999
17
+ GigaByte:mi:2999
18
+ HeliosIT:ps:340
19
+ HeliosIT:bf:5000
20
+ HeliosIT:mi:3000
21
+ IronGate:ps:1200
22
+ IronGate:bf:499
23
+ IronGate:mi:999
24
+ JadeWorks:ps:65
25
+ JadeWorks:bf:500
26
+ JadeWorks:mi:1000
@@ -0,0 +1,37 @@
1
+ 5
2
+ SolarisNet:5
3
+ UltraData:3
4
+ QuantumSec:9
5
+ TitanWorks:4
6
+ RiftLogic:6
7
+ 30
8
+ QuantumSec:ps:6200
9
+ QuantumSec:ps:5300
10
+ QuantumSec:bf:75
11
+ QuantumSec:bf:40
12
+ QuantumSec:mi:65
13
+ QuantumSec:mi:85
14
+ RiftLogic:ps:140
15
+ RiftLogic:ps:210
16
+ RiftLogic:bf:2150
17
+ RiftLogic:bf:1350
18
+ RiftLogic:mi:1800
19
+ RiftLogic:mi:1211
20
+ SolarisNet:ps:80
21
+ SolarisNet:ps:120
22
+ SolarisNet:bf:2400
23
+ SolarisNet:bf:9506
24
+ SolarisNet:mi:1600
25
+ SolarisNet:mi:1300
26
+ TitanWorks:ps:95
27
+ TitanWorks:ps:105
28
+ TitanWorks:bf:478
29
+ TitanWorks:bf:270
30
+ TitanWorks:mi:450
31
+ TitanWorks:mi:450
32
+ UltraData:ps:35
33
+ UltraData:ps:70
34
+ UltraData:bf:220
35
+ UltraData:bf:230
36
+ UltraData:mi:803
37
+ UltraData:mi:420
@@ -0,0 +1,46 @@
1
+ 4
2
+ AlphaBit:6
3
+ BravoCloud:5
4
+ CharlieHost:6
5
+ DeltaSec:5
6
+ 40
7
+ AlphaBit:ps:85
8
+ BravoCloud:ps:40
9
+ CharlieHost:ps:120
10
+ DeltaSec:ps:90
11
+ AlphaBit:ps:65
12
+ BravoCloud:ps:110
13
+ CharlieHost:ps:75
14
+ DeltaSec:ps:130
15
+ AlphaBit:ps:150
16
+ BravoCloud:ps:80
17
+ CharlieHost:ps:95
18
+ DeltaSec:ps:60
19
+ AlphaBit:bf:1400
20
+ BravoCloud:bf:1350
21
+ CharlieHost:bf:13350
22
+ DeltaSec:bf:420
23
+ AlphaBit:bf:850
24
+ BravoCloud:bf:920
25
+ CharlieHost:bf:12280
26
+ DeltaSec:bf:310
27
+ AlphaBit:bf:1150
28
+ BravoCloud:bf:1280
29
+ CharlieHost:bf:14410
30
+ DeltaSec:bf:290
31
+ AlphaBit:bf:950
32
+ BravoCloud:bf:850
33
+ CharlieHost:bf:16660
34
+ DeltaSec:bf:3980
35
+ AlphaBit:mi:1100
36
+ BravoCloud:mi:1350
37
+ CharlieHost:mi:450
38
+ DeltaSec:mi:720
39
+ AlphaBit:mi:750
40
+ BravoCloud:mi:950
41
+ CharlieHost:mi:320
42
+ DeltaSec:mi:680
43
+ AlphaBit:mi:650
44
+ BravoCloud:mi:850
45
+ CharlieHost:mi:430
46
+ DeltaSec:mi:1600
@@ -0,0 +1,78 @@
1
+ 6
2
+ AeroDynamics:5
3
+ BlueShift:8
4
+ CipherGate:7
5
+ DeepDive:4
6
+ ElevateIT:6
7
+ FrontierSys:3
8
+ 70
9
+ FrontierSys:ps:130
10
+ CipherGate:ps:7800
11
+ AeroDynamics:ps:90
12
+ DeepDive:ps:85
13
+ ElevateIT:ps:95
14
+ BlueShift:ps:3200
15
+ ElevateIT:ps:120
16
+ CipherGate:ps:10000
17
+ FrontierSys:ps:60
18
+ BlueShift:ps:2800
19
+ CipherGate:ps:400
20
+ DeepDive:ps:110
21
+ ElevateIT:ps:65
22
+ CipherGate:ps:1100
23
+ AeroDynamics:ps:45
24
+ FrontierSys:ps:75
25
+ ElevateIT:bf:600
26
+ FrontierSys:bf:90
27
+ BlueShift:bf:190
28
+ AeroDynamics:bf:1600
29
+ CipherGate:bf:130
30
+ DeepDive:bf:140
31
+ BlueShift:bf:350
32
+ ElevateIT:bf:2840
33
+ CipherGate:bf:210
34
+ AeroDynamics:bf:1200
35
+ FrontierSys:bf:75
36
+ DeepDive:bf:160
37
+ CipherGate:bf:160
38
+ BlueShift:bf:140
39
+ FrontierSys:bf:110
40
+ ElevateIT:bf:250
41
+ CipherGate:bf:180
42
+ AeroDynamics:bf:1400
43
+ DeepDive:bf:120
44
+ ElevateIT:bf:110
45
+ BlueShift:bf:220
46
+ ElevateIT:bf:1200
47
+ FrontierSys:bf:85
48
+ FrontierSys:mi:210
49
+ CipherGate:mi:140
50
+ DeepDive:mi:160
51
+ ElevateIT:mi:90
52
+ BlueShift:mi:110
53
+ AeroDynamics:mi:4836
54
+ FrontierSys:mi:16528
55
+ ElevateIT:mi:1
56
+ CipherGate:mi:180
57
+ BlueShift:mi:160
58
+ AeroDynamics:mi:9460
59
+ DeepDive:mi:280
60
+ FrontierSys:mi:80
61
+ ElevateIT:mi:85
62
+ FrontierSys:mi:120
63
+ DeepDive:mi:140
64
+ CipherGate:mi:90
65
+ BlueShift:mi:120
66
+ AeroDynamics:mi:6
67
+ FrontierSys:mi:60
68
+ DeepDive:mi:310
69
+ ElevateIT:mi:2703
70
+ FrontierSys:mi:1000
71
+ BlueShift:mi:80
72
+ CipherGate:mi:130
73
+ AeroDynamics:mi:15027
74
+ FrontierSys:mi:250
75
+ FrontierSys:mi:45
76
+ ElevateIT:mi:120
77
+ DeepDive:mi:90
78
+ AeroDynamics:mi:3122