@cyrilverloop/codingame-configuration 1.23.0 → 1.24.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.
- package/CHANGELOG.md +7 -0
- package/config/easy/MiniCPUInstructionDecoder/code/CGCode.cpp +19 -0
- package/config/easy/MiniCPUInstructionDecoder/code/CGCode.java +18 -0
- package/config/easy/MiniCPUInstructionDecoder/code/CGCode.js +8 -0
- package/config/easy/MiniCPUInstructionDecoder/code/CGCode.php +9 -0
- package/config/easy/MiniCPUInstructionDecoder/code/CGCode.ts +8 -0
- package/config/easy/MiniCPUInstructionDecoder/config.json +63 -0
- package/config/easy/MiniCPUInstructionDecoder/input/01 - Boot Sequence.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/02 - Multiply Core.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/03 - INC and DEC.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/04 - INC Overflow.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/05 - DEC Underflow.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/06 - ADD Overflow.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/07 - SUB Underflow.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/08 - MUL Overflow.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/09 - Mixed Operations.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/10 - Immediate Halt.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/input/11 - MOV Overwrite.txt +1 -0
- package/config/easy/MiniCPUInstructionDecoder/output/01 - Boot Sequence.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/02 - Multiply Core.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/03 - INC and DEC.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/04 - INC Overflow.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/05 - DEC Underflow.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/06 - ADD Overflow.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/07 - SUB Underflow.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/08 - MUL Overflow.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/09 - Mixed Operations.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/10 - Immediate Halt.txt +4 -0
- package/config/easy/MiniCPUInstructionDecoder/output/11 - MOV Overwrite.txt +4 -0
- package/config/easy/Snap/code/CGCode.cpp +28 -0
- package/config/easy/Snap/code/CGCode.java +24 -0
- package/config/easy/Snap/code/CGCode.js +14 -0
- package/config/easy/Snap/code/CGCode.php +17 -0
- package/config/easy/Snap/code/CGCode.ts +14 -0
- package/config/easy/Snap/config.json +93 -0
- package/config/easy/Snap/input/01 - Player 1 Win.txt +10 -0
- package/config/easy/Snap/input/02 - Player 2 Win.txt +12 -0
- package/config/easy/Snap/input/03 - Snapless.txt +22 -0
- package/config/easy/Snap/input/04 - Clutch Save.txt +30 -0
- package/config/easy/Snap/input/05 - Almost Clutch Save.txt +54 -0
- package/config/easy/Snap/input/06 - Quick Game.txt +4 -0
- package/config/easy/Snap/input/07 - Very Quick Game.txt +3 -0
- package/config/easy/Snap/input/08 - Lucky Shuffle.txt +22 -0
- package/config/easy/Snap/input/09 - Unfair Shuffle 1.txt +24 -0
- package/config/easy/Snap/input/10 - Unfair Shuffle 2.txt +25 -0
- package/config/easy/Snap/input/11 - Unfair Shuffle 3.txt +54 -0
- package/config/easy/Snap/input/12 - Standard Deck 1.txt +54 -0
- package/config/easy/Snap/input/13 - Standard Deck 2.txt +54 -0
- package/config/easy/Snap/input/14 - Standard Deck 3.txt +54 -0
- package/config/easy/Snap/input/15 - Standard Deck 4.txt +54 -0
- package/config/easy/Snap/input/16 - Standard Deck 5.txt +54 -0
- package/config/easy/Snap/input/17 - Standard Deck 6.txt +54 -0
- package/config/easy/Snap/output/01 - Player 1 Win.txt +2 -0
- package/config/easy/Snap/output/02 - Player 2 Win.txt +2 -0
- package/config/easy/Snap/output/03 - Snapless.txt +2 -0
- package/config/easy/Snap/output/04 - Clutch Save.txt +2 -0
- package/config/easy/Snap/output/05 - Almost Clutch Save.txt +2 -0
- package/config/easy/Snap/output/06 - Quick Game.txt +2 -0
- package/config/easy/Snap/output/07 - Very Quick Game.txt +2 -0
- package/config/easy/Snap/output/08 - Lucky Shuffle.txt +2 -0
- package/config/easy/Snap/output/09 - Unfair Shuffle 1.txt +2 -0
- package/config/easy/Snap/output/10 - Unfair Shuffle 2.txt +2 -0
- package/config/easy/Snap/output/11 - Unfair Shuffle 3.txt +2 -0
- package/config/easy/Snap/output/12 - Standard Deck 1.txt +2 -0
- package/config/easy/Snap/output/13 - Standard Deck 2.txt +2 -0
- package/config/easy/Snap/output/14 - Standard Deck 3.txt +2 -0
- package/config/easy/Snap/output/15 - Standard Deck 4.txt +2 -0
- package/config/easy/Snap/output/16 - Standard Deck 5.txt +2 -0
- package/config/easy/Snap/output/17 - Standard Deck 6.txt +2 -0
- package/config/easy/WhatADessert/code/CGCode.cpp +20 -0
- package/config/easy/WhatADessert/code/CGCode.java +19 -0
- package/config/easy/WhatADessert/code/CGCode.js +10 -0
- package/config/easy/WhatADessert/code/CGCode.php +7 -0
- package/config/easy/WhatADessert/code/CGCode.ts +10 -0
- package/config/easy/WhatADessert/config.json +33 -0
- package/config/easy/WhatADessert/input/01 - test 1.txt +1 -0
- package/config/easy/WhatADessert/input/02 - test 2.txt +1 -0
- package/config/easy/WhatADessert/input/03 - test 3.txt +1 -0
- package/config/easy/WhatADessert/input/04 - test 4.txt +1 -0
- package/config/easy/WhatADessert/input/05 - test 5.txt +1 -0
- package/config/easy/WhatADessert/output/01 - test 1.txt +1 -0
- package/config/easy/WhatADessert/output/02 - test 2.txt +1 -0
- package/config/easy/WhatADessert/output/03 - test 3.txt +1 -0
- package/config/easy/WhatADessert/output/04 - test 4.txt +1 -0
- package/config/easy/WhatADessert/output/05 - test 5.txt +1 -0
- package/config/medium/PolygonEquilibrium/code/CGCode.cpp +23 -0
- package/config/medium/PolygonEquilibrium/code/CGCode.java +21 -0
- package/config/medium/PolygonEquilibrium/code/CGCode.js +12 -0
- package/config/medium/PolygonEquilibrium/code/CGCode.php +12 -0
- package/config/medium/PolygonEquilibrium/code/CGCode.ts +12 -0
- package/config/medium/PolygonEquilibrium/config.json +73 -0
- package/config/medium/PolygonEquilibrium/input/01 - Simple triangle.txt +4 -0
- package/config/medium/PolygonEquilibrium/input/02 - Tipping triangle.txt +4 -0
- package/config/medium/PolygonEquilibrium/input/03 - Trapezoid.txt +5 -0
- package/config/medium/PolygonEquilibrium/input/04 - Regular Octogon.txt +9 -0
- package/config/medium/PolygonEquilibrium/input/05 - An L-shape.txt +7 -0
- package/config/medium/PolygonEquilibrium/input/06 - A T-shape.txt +9 -0
- package/config/medium/PolygonEquilibrium/input/07 - test 7.txt +12 -0
- package/config/medium/PolygonEquilibrium/input/08 - test 8.txt +18 -0
- package/config/medium/PolygonEquilibrium/input/09 - Centroid outside of polygon.txt +19 -0
- package/config/medium/PolygonEquilibrium/input/10 - Multiple vertices supporting segment.txt +7 -0
- package/config/medium/PolygonEquilibrium/input/11 - Weird shape.txt +12 -0
- package/config/medium/PolygonEquilibrium/input/12 - Barely balanced.txt +5 -0
- package/config/medium/PolygonEquilibrium/input/13 - CG.txt +43 -0
- package/config/medium/PolygonEquilibrium/output/01 - Simple triangle.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/02 - Tipping triangle.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/03 - Trapezoid.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/04 - Regular Octogon.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/05 - An L-shape.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/06 - A T-shape.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/07 - test 7.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/08 - test 8.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/09 - Centroid outside of polygon.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/10 - Multiple vertices supporting segment.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/11 - Weird shape.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/12 - Barely balanced.txt +2 -0
- package/config/medium/PolygonEquilibrium/output/13 - CG.txt +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/PolygonEquilibrium",
|
|
3
|
+
"name": "Polygon equilibrium",
|
|
4
|
+
"alphanumName": "PolygonEquilibrium",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/polygon-equilibrium",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Simple triangle",
|
|
9
|
+
"alphanumName": "SimpleTriangle",
|
|
10
|
+
"file": "01 - Simple triangle.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Tipping triangle",
|
|
14
|
+
"alphanumName": "TippingTriangle",
|
|
15
|
+
"file": "02 - Tipping triangle.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Trapezoid",
|
|
19
|
+
"alphanumName": "Trapezoid",
|
|
20
|
+
"file": "03 - Trapezoid.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Regular Octogon",
|
|
24
|
+
"alphanumName": "RegularOctogon",
|
|
25
|
+
"file": "04 - Regular Octogon.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "An L-shape",
|
|
29
|
+
"alphanumName": "AnLShape",
|
|
30
|
+
"file": "05 - An L-shape.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "A T-shape",
|
|
34
|
+
"alphanumName": "ATShape",
|
|
35
|
+
"file": "06 - A T-shape.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": "Centroid outside of polygon",
|
|
49
|
+
"alphanumName": "CentroidOutsideOfPolygon",
|
|
50
|
+
"file": "09 - Centroid outside of polygon.txt"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Multiple vertices supporting segment",
|
|
54
|
+
"alphanumName": "MultipleVerticesSupportingSegment",
|
|
55
|
+
"file": "10 - Multiple vertices supporting segment.txt"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "Weird shape",
|
|
59
|
+
"alphanumName": "WeirdShape",
|
|
60
|
+
"file": "11 - Weird shape.txt"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Barely balanced",
|
|
64
|
+
"alphanumName": "BarelyBalanced",
|
|
65
|
+
"file": "12 - Barely balanced.txt"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "CG",
|
|
69
|
+
"alphanumName": "CG",
|
|
70
|
+
"file": "13 - CG.txt"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
42
|
|
2
|
+
9 11
|
|
3
|
+
11 11
|
|
4
|
+
11 13
|
|
5
|
+
9 15
|
|
6
|
+
4 15
|
|
7
|
+
2 13
|
|
8
|
+
2 4
|
|
9
|
+
4 2
|
|
10
|
+
9 2
|
|
11
|
+
11 4
|
|
12
|
+
12 4
|
|
13
|
+
14 2
|
|
14
|
+
19 2
|
|
15
|
+
21 4
|
|
16
|
+
21 8
|
|
17
|
+
18 8
|
|
18
|
+
18 6
|
|
19
|
+
19 6
|
|
20
|
+
19 5
|
|
21
|
+
18 4
|
|
22
|
+
15 4
|
|
23
|
+
14 5
|
|
24
|
+
14 12
|
|
25
|
+
15 13
|
|
26
|
+
18 13
|
|
27
|
+
19 12
|
|
28
|
+
19 11
|
|
29
|
+
21 11
|
|
30
|
+
21 13
|
|
31
|
+
19 15
|
|
32
|
+
14 15
|
|
33
|
+
12 13
|
|
34
|
+
12 6
|
|
35
|
+
9 6
|
|
36
|
+
9 5
|
|
37
|
+
8 4
|
|
38
|
+
5 4
|
|
39
|
+
4 5
|
|
40
|
+
4 12
|
|
41
|
+
5 13
|
|
42
|
+
8 13
|
|
43
|
+
9 12
|