@cyrilverloop/codingame-configuration 1.26.0 → 1.28.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 +12 -0
- package/config/easy/CistercianAddition/code/CGCode.cpp +23 -0
- package/config/easy/CistercianAddition/code/CGCode.java +21 -0
- package/config/easy/CistercianAddition/code/CGCode.js +11 -0
- package/config/easy/CistercianAddition/code/CGCode.php +14 -0
- package/config/easy/CistercianAddition/code/CGCode.ts +11 -0
- package/config/easy/CistercianAddition/config.json +68 -0
- package/config/easy/CistercianAddition/input/01 - Units.txt +10 -0
- package/config/easy/CistercianAddition/input/02 - Tens.txt +10 -0
- package/config/easy/CistercianAddition/input/03 - Hundreds.txt +10 -0
- package/config/easy/CistercianAddition/input/04 - Thousands.txt +10 -0
- package/config/easy/CistercianAddition/input/05 - Limit.txt +10 -0
- package/config/easy/CistercianAddition/input/06 - Missing tens.txt +10 -0
- package/config/easy/CistercianAddition/input/07 - Missing numbers.txt +10 -0
- package/config/easy/CistercianAddition/input/08 - Change of multiples.txt +10 -0
- package/config/easy/CistercianAddition/input/09 - Basic symbols.txt +10 -0
- package/config/easy/CistercianAddition/input/10 - Repetitive numbers.txt +10 -0
- package/config/easy/CistercianAddition/input/11 - Random number 1.txt +10 -0
- package/config/easy/CistercianAddition/input/12 - Random number 2.txt +10 -0
- package/config/easy/CistercianAddition/output/01 - Units.txt +5 -0
- package/config/easy/CistercianAddition/output/02 - Tens.txt +5 -0
- package/config/easy/CistercianAddition/output/03 - Hundreds.txt +5 -0
- package/config/easy/CistercianAddition/output/04 - Thousands.txt +5 -0
- package/config/easy/CistercianAddition/output/05 - Limit.txt +5 -0
- package/config/easy/CistercianAddition/output/06 - Missing tens.txt +5 -0
- package/config/easy/CistercianAddition/output/07 - Missing numbers.txt +5 -0
- package/config/easy/CistercianAddition/output/08 - Change of multiples.txt +5 -0
- package/config/easy/CistercianAddition/output/09 - Basic symbols.txt +5 -0
- package/config/easy/CistercianAddition/output/10 - Repetitive numbers.txt +5 -0
- package/config/easy/CistercianAddition/output/11 - Random number 1.txt +5 -0
- package/config/easy/CistercianAddition/output/12 - Random number 2.txt +5 -0
- package/config/easy/JumpTheQueue/code/CGCode.cpp +26 -0
- package/config/easy/JumpTheQueue/code/CGCode.java +26 -0
- package/config/easy/JumpTheQueue/code/CGCode.js +15 -0
- package/config/easy/JumpTheQueue/code/CGCode.php +16 -0
- package/config/easy/JumpTheQueue/code/CGCode.ts +15 -0
- package/config/easy/JumpTheQueue/config.json +48 -0
- package/config/easy/JumpTheQueue/input/01 - Example.txt +4 -0
- package/config/easy/JumpTheQueue/input/02 - Incomplete dequeue.txt +6 -0
- package/config/easy/JumpTheQueue/input/03 - Interlacing events.txt +6 -0
- package/config/easy/JumpTheQueue/input/04 - Rejoining the queue.txt +10 -0
- package/config/easy/JumpTheQueue/input/05 - Busy queue.txt +14 -0
- package/config/easy/JumpTheQueue/input/06 - Bigger friend groups.txt +5 -0
- package/config/easy/JumpTheQueue/input/07 - Large pack of lone wolves.txt +4 -0
- package/config/easy/JumpTheQueue/input/08 - Long queue.txt +22 -0
- package/config/easy/JumpTheQueue/output/01 - Example.txt +7 -0
- package/config/easy/JumpTheQueue/output/02 - Incomplete dequeue.txt +14 -0
- package/config/easy/JumpTheQueue/output/03 - Interlacing events.txt +18 -0
- package/config/easy/JumpTheQueue/output/04 - Rejoining the queue.txt +29 -0
- package/config/easy/JumpTheQueue/output/05 - Busy queue.txt +47 -0
- package/config/easy/JumpTheQueue/output/06 - Bigger friend groups.txt +64 -0
- package/config/easy/JumpTheQueue/output/07 - Large pack of lone wolves.txt +105 -0
- package/config/easy/JumpTheQueue/output/08 - Long queue.txt +160 -0
- package/config/easy/LeapOfSheep/code/CGCode.cpp +21 -0
- package/config/easy/LeapOfSheep/code/CGCode.java +19 -0
- package/config/easy/LeapOfSheep/code/CGCode.js +10 -0
- package/config/easy/LeapOfSheep/code/CGCode.php +12 -0
- package/config/easy/LeapOfSheep/code/CGCode.ts +10 -0
- package/config/easy/LeapOfSheep/config.json +88 -0
- package/config/easy/LeapOfSheep/input/01 - Example.txt +2 -0
- package/config/easy/LeapOfSheep/input/02 - Highest is not best.txt +2 -0
- package/config/easy/LeapOfSheep/input/03 - Only 1 valid.txt +2 -0
- package/config/easy/LeapOfSheep/input/04 - Increasing then decreasing.txt +2 -0
- package/config/easy/LeapOfSheep/input/05 - Hills.txt +2 -0
- package/config/easy/LeapOfSheep/input/06 - Symmetric field.txt +2 -0
- package/config/easy/LeapOfSheep/input/07 - Fluctuations.txt +2 -0
- package/config/easy/LeapOfSheep/input/08 - Small step.txt +2 -0
- package/config/easy/LeapOfSheep/input/09 - Big heights.txt +2 -0
- package/config/easy/LeapOfSheep/input/10 - So high!.txt +2 -0
- package/config/easy/LeapOfSheep/input/11 - Giant leap.txt +2 -0
- package/config/easy/LeapOfSheep/input/12 - Bigger.txt +2 -0
- package/config/easy/LeapOfSheep/input/13 - Lots of similar.txt +2 -0
- package/config/easy/LeapOfSheep/input/14 - Leap of faith.txt +2 -0
- package/config/easy/LeapOfSheep/input/15 - Similar heights.txt +2 -0
- package/config/easy/LeapOfSheep/input/16 - So many piles.txt +2 -0
- package/config/easy/LeapOfSheep/output/01 - Example.txt +1 -0
- package/config/easy/LeapOfSheep/output/02 - Highest is not best.txt +1 -0
- package/config/easy/LeapOfSheep/output/03 - Only 1 valid.txt +1 -0
- package/config/easy/LeapOfSheep/output/04 - Increasing then decreasing.txt +1 -0
- package/config/easy/LeapOfSheep/output/05 - Hills.txt +1 -0
- package/config/easy/LeapOfSheep/output/06 - Symmetric field.txt +1 -0
- package/config/easy/LeapOfSheep/output/07 - Fluctuations.txt +1 -0
- package/config/easy/LeapOfSheep/output/08 - Small step.txt +1 -0
- package/config/easy/LeapOfSheep/output/09 - Big heights.txt +1 -0
- package/config/easy/LeapOfSheep/output/10 - So high!.txt +1 -0
- package/config/easy/LeapOfSheep/output/11 - Giant leap.txt +1 -0
- package/config/easy/LeapOfSheep/output/12 - Bigger.txt +1 -0
- package/config/easy/LeapOfSheep/output/13 - Lots of similar.txt +1 -0
- package/config/easy/LeapOfSheep/output/14 - Leap of faith.txt +1 -0
- package/config/easy/LeapOfSheep/output/15 - Similar heights.txt +1 -0
- package/config/easy/LeapOfSheep/output/16 - So many piles.txt +1 -0
- package/config/hard/BuildADie/code/CGCode.cpp +30 -0
- package/config/hard/BuildADie/code/CGCode.java +31 -0
- package/config/hard/BuildADie/code/CGCode.js +16 -0
- package/config/hard/BuildADie/code/CGCode.php +17 -0
- package/config/hard/BuildADie/code/CGCode.ts +16 -0
- package/config/hard/BuildADie/config.json +133 -0
- package/config/hard/BuildADie/input/01 - Example.txt +12 -0
- package/config/hard/BuildADie/input/02 - Corners.txt +11 -0
- package/config/hard/BuildADie/input/03 - Side Profile.txt +10 -0
- package/config/hard/BuildADie/input/04 - Front Face.txt +11 -0
- package/config/hard/BuildADie/input/05 - Mix.txt +12 -0
- package/config/hard/BuildADie/input/06 - Repeat.txt +11 -0
- package/config/hard/BuildADie/input/07 - Cryptic.txt +12 -0
- package/config/hard/BuildADie/input/08 - Missing Images.txt +11 -0
- package/config/hard/BuildADie/input/09 - No Solution.txt +12 -0
- package/config/hard/BuildADie/input/10 - Multiple.txt +12 -0
- package/config/hard/BuildADie/input/11 - More.txt +12 -0
- package/config/hard/BuildADie/input/12 - Duplicate.txt +13 -0
- package/config/hard/BuildADie/input/13 - Identical.txt +11 -0
- package/config/hard/BuildADie/input/14 - Net 1.txt +11 -0
- package/config/hard/BuildADie/input/15 - Net 2.txt +11 -0
- package/config/hard/BuildADie/input/16 - Net 3.txt +11 -0
- package/config/hard/BuildADie/input/17 - Net 4.txt +11 -0
- package/config/hard/BuildADie/input/18 - Net 5.txt +12 -0
- package/config/hard/BuildADie/input/19 - Net 6.txt +11 -0
- package/config/hard/BuildADie/input/20 - Net 7.txt +12 -0
- package/config/hard/BuildADie/input/21 - Net 8.txt +12 -0
- package/config/hard/BuildADie/input/22 - Net 9.txt +11 -0
- package/config/hard/BuildADie/input/23 - Net 10.txt +12 -0
- package/config/hard/BuildADie/input/24 - Net 11.txt +13 -0
- package/config/hard/BuildADie/input/25 - Nothing.txt +12 -0
- package/config/hard/BuildADie/output/01 - Example.txt +5 -0
- package/config/hard/BuildADie/output/02 - Corners.txt +4 -0
- package/config/hard/BuildADie/output/03 - Side Profile.txt +3 -0
- package/config/hard/BuildADie/output/04 - Front Face.txt +4 -0
- package/config/hard/BuildADie/output/05 - Mix.txt +17 -0
- package/config/hard/BuildADie/output/06 - Repeat.txt +19 -0
- package/config/hard/BuildADie/output/07 - Cryptic.txt +97 -0
- package/config/hard/BuildADie/output/08 - Missing Images.txt +91 -0
- package/config/hard/BuildADie/output/09 - No Solution.txt +1 -0
- package/config/hard/BuildADie/output/10 - Multiple.txt +25 -0
- package/config/hard/BuildADie/output/11 - More.txt +13 -0
- package/config/hard/BuildADie/output/12 - Duplicate.txt +6 -0
- package/config/hard/BuildADie/output/13 - Identical.txt +4 -0
- package/config/hard/BuildADie/output/14 - Net 1.txt +10 -0
- package/config/hard/BuildADie/output/15 - Net 2.txt +10 -0
- package/config/hard/BuildADie/output/16 - Net 3.txt +10 -0
- package/config/hard/BuildADie/output/17 - Net 4.txt +13 -0
- package/config/hard/BuildADie/output/18 - Net 5.txt +61 -0
- package/config/hard/BuildADie/output/19 - Net 6.txt +13 -0
- package/config/hard/BuildADie/output/20 - Net 7.txt +13 -0
- package/config/hard/BuildADie/output/21 - Net 8.txt +9 -0
- package/config/hard/BuildADie/output/22 - Net 9.txt +25 -0
- package/config/hard/BuildADie/output/23 - Net 10.txt +61 -0
- package/config/hard/BuildADie/output/24 - Net 11.txt +11 -0
- package/config/hard/BuildADie/output/25 - Nothing.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/code/CGCode.cpp +23 -0
- package/config/medium/OrbitalLogisticsExactLoad/code/CGCode.java +21 -0
- package/config/medium/OrbitalLogisticsExactLoad/code/CGCode.js +13 -0
- package/config/medium/OrbitalLogisticsExactLoad/code/CGCode.php +11 -0
- package/config/medium/OrbitalLogisticsExactLoad/code/CGCode.ts +13 -0
- package/config/medium/OrbitalLogisticsExactLoad/config.json +73 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/01 - Baby/342/200/231s First Cargo Run.txt" +5 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/02 - The Cargo Bay Says No.txt +5 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/03 - All Hands on Deck.txt +8 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/04 - Nothing Fits Today.txt +11 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/05 - Many Roads to the Same Dock.txt +6 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/06 - One Perfect Container.txt +14 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/07 - Bigger Beats Better.txt +18 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/08 - Many Roads to Orbit.txt +25 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/09 - Insufficient Payload.txt +31 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/10 - Tight Schedule.txt +33 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/11 - Full Capacity Pressure.txt +41 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/12 - Deep Space Logistics.txt +41 -0
- package/config/medium/OrbitalLogisticsExactLoad/input/13 - Mission Constraints.txt +41 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/01 - Baby/342/200/231s First Cargo Run.txt" +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/02 - The Cargo Bay Says No.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/03 - All Hands on Deck.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/04 - Nothing Fits Today.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/05 - Many Roads to the Same Dock.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/06 - One Perfect Container.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/07 - Bigger Beats Better.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/08 - Many Roads to Orbit.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/09 - Insufficient Payload.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/10 - Tight Schedule.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/11 - Full Capacity Pressure.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/12 - Deep Space Logistics.txt +1 -0
- package/config/medium/OrbitalLogisticsExactLoad/output/13 - Mission Constraints.txt +1 -0
- package/config/{easy → medium}/RemoveInsertStatements/config.json +1 -1
- package/package.json +1 -1
- /package/config/{easy → medium}/RemoveInsertStatements/code/CGCode.js +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/code/CGCode.php +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/01 - simple insert statement.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/02 - simple commented statement.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/03 - insert + comment.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/04 - with function.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/05 - many insert statements.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/06 - functions + inserts.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/07 - multi-line INSERT instructions.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/input/08 - many insert on same line.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/01 - simple insert statement.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/02 - simple commented statement.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/03 - insert + comment.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/04 - with function.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/05 - many insert statements.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/06 - functions + inserts.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/07 - multi-line INSERT instructions.txt +0 -0
- /package/config/{easy → medium}/RemoveInsertStatements/output/08 - many insert on same line.txt +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
24
|
|
2
|
+
3
|
|
3
|
+
7;
|
|
4
|
+
I^
|
|
5
|
+
y
|
|
6
|
+
3
|
|
7
|
+
7;
|
|
8
|
+
Iy
|
|
9
|
+
^
|
|
10
|
+
3
|
|
11
|
+
7;
|
|
12
|
+
^I
|
|
13
|
+
y
|
|
14
|
+
3
|
|
15
|
+
7;
|
|
16
|
+
^y
|
|
17
|
+
I
|
|
18
|
+
3
|
|
19
|
+
7;
|
|
20
|
+
yI
|
|
21
|
+
^
|
|
22
|
+
3
|
|
23
|
+
7;
|
|
24
|
+
y^
|
|
25
|
+
I
|
|
26
|
+
3
|
|
27
|
+
7I
|
|
28
|
+
;^
|
|
29
|
+
y
|
|
30
|
+
3
|
|
31
|
+
7I
|
|
32
|
+
^;
|
|
33
|
+
y
|
|
34
|
+
3
|
|
35
|
+
7I
|
|
36
|
+
^y
|
|
37
|
+
;
|
|
38
|
+
3
|
|
39
|
+
7I
|
|
40
|
+
y^
|
|
41
|
+
;
|
|
42
|
+
3
|
|
43
|
+
7^
|
|
44
|
+
;I
|
|
45
|
+
y
|
|
46
|
+
3
|
|
47
|
+
7^
|
|
48
|
+
I;
|
|
49
|
+
y
|
|
50
|
+
3
|
|
51
|
+
7^
|
|
52
|
+
Iy
|
|
53
|
+
;
|
|
54
|
+
3
|
|
55
|
+
7^
|
|
56
|
+
yI
|
|
57
|
+
;
|
|
58
|
+
3
|
|
59
|
+
7y
|
|
60
|
+
;I
|
|
61
|
+
^
|
|
62
|
+
3
|
|
63
|
+
7y
|
|
64
|
+
;^
|
|
65
|
+
I
|
|
66
|
+
3
|
|
67
|
+
7y
|
|
68
|
+
I;
|
|
69
|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
54
|
+
3
|
|
55
|
+
PY
|
|
56
|
+
Dx
|
|
57
|
+
Y
|
|
58
|
+
3
|
|
59
|
+
Px
|
|
60
|
+
DY
|
|
61
|
+
Y
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0
|
|
@@ -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 capacity;
|
|
11
|
+
int item_count;
|
|
12
|
+
cin >> capacity >> item_count; cin.ignore();
|
|
13
|
+
for (int i = 0; i < item_count; i++) {
|
|
14
|
+
int weight;
|
|
15
|
+
int value;
|
|
16
|
+
cin >> weight >> value; cin.ignore();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
20
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
21
|
+
|
|
22
|
+
cout << "answer" << endl;
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 capacity = in.nextInt();
|
|
10
|
+
int itemCount = in.nextInt();
|
|
11
|
+
for (int i = 0; i < itemCount; i++) {
|
|
12
|
+
int weight = in.nextInt();
|
|
13
|
+
int value = in.nextInt();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Write an answer using System.out.println()
|
|
17
|
+
// To debug: System.err.println("Debug messages...");
|
|
18
|
+
|
|
19
|
+
System.out.println("answer");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var inputs = readline().split(' ');
|
|
2
|
+
const capacity = parseInt(inputs[0]);
|
|
3
|
+
const itemCount = parseInt(inputs[1]);
|
|
4
|
+
for (let i = 0; i < itemCount; i++) {
|
|
5
|
+
var inputs = readline().split(' ');
|
|
6
|
+
const weight = parseInt(inputs[0]);
|
|
7
|
+
const value = parseInt(inputs[1]);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Write an answer using console.log()
|
|
11
|
+
// To debug: console.error('Debug messages...');
|
|
12
|
+
|
|
13
|
+
console.log('answer');
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d %d", $capacity, $itemCount);
|
|
3
|
+
for ($i = 0; $i < $itemCount; $i++)
|
|
4
|
+
{
|
|
5
|
+
fscanf(STDIN, "%d %d", $weight, $value);
|
|
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,13 @@
|
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
|
2
|
+
const capacity: number = parseInt(inputs[0]);
|
|
3
|
+
const itemCount: number = parseInt(inputs[1]);
|
|
4
|
+
for (let i = 0; i < itemCount; i++) {
|
|
5
|
+
var inputs: string[] = readline().split(' ');
|
|
6
|
+
const weight: number = parseInt(inputs[0]);
|
|
7
|
+
const value: number = parseInt(inputs[1]);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Write an answer using console.log()
|
|
11
|
+
// To debug: console.error('Debug messages...');
|
|
12
|
+
|
|
13
|
+
console.log('answer');
|