@cyrilverloop/codingame-configuration 1.17.0 → 1.17.1

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ 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
+ ## [Unreleased]
8
+ ### Added
9
+ - configuration for "Takuzu Solver (Easy mode)".
10
+
11
+ ## [1.17.1] - 2025-07-31
12
+ ### Fixed
13
+ - name of test "Syntax: «me» and «you»" for "CG Chat Interpreter".
14
+
7
15
  ## [1.17.0] - 2025-07-31
8
16
  ### Added
9
17
  - configuration for "Button Mash".
@@ -0,0 +1,27 @@
1
+ #include <iostream>
2
+ #include <string>
3
+ #include <vector>
4
+ #include <algorithm>
5
+
6
+ using namespace std;
7
+
8
+ /**
9
+ * Takuzu Solver (Easy mode)
10
+ * No row or column may contain a sequence of three or more repeating digits
11
+ * e.g. 1 1 0 is valid but 1 1 1 is invalid
12
+ **/
13
+
14
+ int main()
15
+ {
16
+ int n;
17
+ cin >> n; cin.ignore();
18
+ for (int i = 0; i < n; i++) {
19
+ string row;
20
+ getline(cin, row);
21
+ }
22
+
23
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
24
+ // To debug: cerr << "Debug messages..." << endl;
25
+
26
+ cout << "Completed board" << endl;
27
+ }
@@ -0,0 +1,27 @@
1
+ import java.util.*;
2
+ import java.io.*;
3
+ import java.math.*;
4
+
5
+ /**
6
+ * Takuzu Solver (Easy mode)
7
+ * No row or column may contain a sequence of three or more repeating digits
8
+ * e.g. 1 1 0 is valid but 1 1 1 is invalid
9
+ **/
10
+ class Solution {
11
+
12
+ public static void main(String args[]) {
13
+ Scanner in = new Scanner(System.in);
14
+ int n = in.nextInt();
15
+ if (in.hasNextLine()) {
16
+ in.nextLine();
17
+ }
18
+ for (int i = 0; i < n; i++) {
19
+ String row = in.nextLine();
20
+ }
21
+
22
+ // Write an answer using System.out.println()
23
+ // To debug: System.err.println("Debug messages...");
24
+
25
+ System.out.println("Completed board");
26
+ }
27
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Takuzu Solver (Easy mode)
3
+ * No row or column may contain a sequence of three or more repeating digits
4
+ * e.g. 1 1 0 is valid but 1 1 1 is invalid
5
+ **/
6
+
7
+ const n = parseInt(readline());
8
+ for (let i = 0; i < n; i++) {
9
+ const row = readline();
10
+ }
11
+
12
+ // Write an answer using console.log()
13
+ // To debug: console.error('Debug messages...');
14
+
15
+ console.log('Completed board');
@@ -0,0 +1,17 @@
1
+ <?php
2
+ /**
3
+ * Takuzu Solver (Easy mode)
4
+ * No row or column may contain a sequence of three or more repeating digits
5
+ * e.g. 1 1 0 is valid but 1 1 1 is invalid
6
+ **/
7
+
8
+ fscanf(STDIN, "%d", $n);
9
+ for ($i = 0; $i < $n; $i++)
10
+ {
11
+ $row = stream_get_line(STDIN, $n + 1, "\n");
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("Completed board\n");
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Takuzu Solver (Easy mode)
3
+ * No row or column may contain a sequence of three or more repeating digits
4
+ * e.g. 1 1 0 is valid but 1 1 1 is invalid
5
+ **/
6
+
7
+ const n: number = parseInt(readline());
8
+ for (let i = 0; i < n; i++) {
9
+ const row: string = readline();
10
+ }
11
+
12
+ // Write an answer using console.log()
13
+ // To debug: console.error('Debug messages...');
14
+
15
+ console.log('Completed board');
@@ -0,0 +1,33 @@
1
+ {
2
+ "path": "easy/TakuzuSolverEasyMode",
3
+ "name": "Takuzu Solver (Easy mode)",
4
+ "alphanumName": "TakuzuSolverEasyMode",
5
+ "link": "https://www.codingame.com/ide/puzzle/takuzu-solver-easy-mode",
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,7 @@
1
+ 6
2
+ .0...1
3
+ 0.11..
4
+ ..1..0
5
+ .1...0
6
+ ....1.
7
+ 11.0.0
@@ -0,0 +1,9 @@
1
+ 8
2
+ .....00.
3
+ .1......
4
+ 11.0..0.
5
+ ..0....1
6
+ .1...0..
7
+ 0.0..0..
8
+ ....1..0
9
+ 0.11.11.
@@ -0,0 +1,11 @@
1
+ 10
2
+ .......1..
3
+ .00..0..1.
4
+ .0..1..0.0
5
+ ..1...1...
6
+ 1.1......1
7
+ .......1..
8
+ .0..1...0.
9
+ ....11...0
10
+ .0.0..1..0
11
+ 0...0...1.
@@ -0,0 +1,13 @@
1
+ 12
2
+ 0.0.0..1...0
3
+ ....1...0...
4
+ .0.......1..
5
+ 10.01.1...0.
6
+ ..1.....0...
7
+ ....1.0....0
8
+ .1....0...1.
9
+ .....1...0..
10
+ ..1...0....1
11
+ 1......1..0.
12
+ .00..00.0...
13
+ .1.1..1..1.0
@@ -0,0 +1,15 @@
1
+ 14
2
+ 01.1.10.....1.
3
+ 1.......1.1.10
4
+ ..11..1...1..0
5
+ 1...1..0......
6
+ ...1.0..1....0
7
+ 11....0....0..
8
+ ....0.....1..1
9
+ 1.1...0.00...1
10
+ 1...0..1....0.
11
+ .1..0...0.0...
12
+ ......1.0..1..
13
+ ..1....1.....1
14
+ 00.0.0....1..1
15
+ .0..1...11..0.
@@ -0,0 +1,6 @@
1
+ 100101
2
+ 001101
3
+ 011010
4
+ 110100
5
+ 001011
6
+ 110010
@@ -0,0 +1,8 @@
1
+ 10011001
2
+ 01100110
3
+ 11001001
4
+ 10010101
5
+ 01101010
6
+ 01010011
7
+ 10101100
8
+ 00110110
@@ -0,0 +1,10 @@
1
+ 0110010101
2
+ 1001100110
3
+ 1001101010
4
+ 0110011001
5
+ 1010100101
6
+ 0101010110
7
+ 1001101001
8
+ 0110110100
9
+ 1010011010
10
+ 0101001011
@@ -0,0 +1,12 @@
1
+ 010101011010
2
+ 011010100101
3
+ 100101010110
4
+ 101010101001
5
+ 011001100101
6
+ 100110011010
7
+ 011010010110
8
+ 100101101001
9
+ 011001001011
10
+ 101010110100
11
+ 100110010011
12
+ 010101101100
@@ -0,0 +1,14 @@
1
+ 01010101010011
2
+ 11001001101010
3
+ 00110110101100
4
+ 10101010010011
5
+ 01011001101100
6
+ 11010100110010
7
+ 00100110011011
8
+ 10101001001101
9
+ 11010101100100
10
+ 01100110010011
11
+ 10011011001100
12
+ 01100101100101
13
+ 00101010011011
14
+ 10011010110100
@@ -35,7 +35,7 @@
35
35
  "file": "06 - Syntax Squares.txt"
36
36
  },
37
37
  {
38
- "name": "Syntax: \"me\" and \"you\"",
38
+ "name": "Syntax: «me» and «you»",
39
39
  "alphanumName": "SyntaxMeAndYou",
40
40
  "file": "07 - Syntax me and you.txt"
41
41
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyrilverloop/codingame-configuration",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "A project that contains CodinGame input, output and default code.",
5
5
  "repository": {
6
6
  "type": "git",