@cyrilverloop/codingame-configuration 1.25.0 → 1.27.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 +15 -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/easy/PyramidStacker/code/CGCode.cpp +20 -0
- package/config/easy/PyramidStacker/code/CGCode.java +18 -0
- package/config/easy/PyramidStacker/code/CGCode.js +9 -0
- package/config/easy/PyramidStacker/code/CGCode.php +8 -0
- package/config/easy/PyramidStacker/code/CGCode.ts +9 -0
- package/config/easy/PyramidStacker/config.json +63 -0
- package/config/easy/PyramidStacker/input/01 - Full (Example).txt +2 -0
- package/config/easy/PyramidStacker/input/02 - Partial (Example).txt +2 -0
- package/config/easy/PyramidStacker/input/03 - One Cube.txt +2 -0
- package/config/easy/PyramidStacker/input/04 - Patchy.txt +2 -0
- package/config/easy/PyramidStacker/input/05 - Repeat.txt +2 -0
- package/config/easy/PyramidStacker/input/06 - Cut.txt +2 -0
- package/config/easy/PyramidStacker/input/07 - Full.txt +2 -0
- package/config/easy/PyramidStacker/input/08 - Sparse.txt +2 -0
- package/config/easy/PyramidStacker/input/09 - Tall.txt +2 -0
- package/config/easy/PyramidStacker/input/10 - Limit.txt +2 -0
- package/config/easy/PyramidStacker/input/11 - Empty.txt +2 -0
- package/config/easy/PyramidStacker/output/01 - Full (Example).txt +3 -0
- package/config/easy/PyramidStacker/output/02 - Partial (Example).txt +3 -0
- package/config/easy/PyramidStacker/output/03 - One Cube.txt +1 -0
- package/config/easy/PyramidStacker/output/04 - Patchy.txt +4 -0
- package/config/easy/PyramidStacker/output/05 - Repeat.txt +5 -0
- package/config/easy/PyramidStacker/output/06 - Cut.txt +5 -0
- package/config/easy/PyramidStacker/output/07 - Full.txt +7 -0
- package/config/easy/PyramidStacker/output/08 - Sparse.txt +7 -0
- package/config/easy/PyramidStacker/output/09 - Tall.txt +9 -0
- package/config/easy/PyramidStacker/output/10 - Limit.txt +10 -0
- package/config/easy/PyramidStacker/output/11 - Empty.txt +10 -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/hard/XthLexicographicallySmallestNumber/code/CGCode.cpp +20 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.java +19 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.js +10 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.php +7 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.ts +10 -0
- package/config/hard/XthLexicographicallySmallestNumber/config.json +68 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/01 - test 1.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/02 - test 2.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/03 - test 3.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/04 - test 4.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/05 - test 5.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/06 - test 6.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/07 - test 7.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/08 - test 8.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/09 - test 9.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/10 - test 10.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/11 - test 11.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/12 - test 12.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/01 - test 1.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/02 - test 2.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/03 - test 3.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/04 - test 4.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/05 - test 5.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/06 - test 6.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/07 - test 7.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/08 - test 8.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/09 - test 9.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/10 - test 10.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/11 - test 11.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/12 - test 12.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.cpp +20 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.java +18 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.js +9 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.php +8 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.ts +9 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/config.json +43 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/01 - Base case.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/02 - 2 digits long ans.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/03 - With 7.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/04 - With more digits (21).txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/05 - Still ok 100 digits!.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/06 - 250 NO WAY!.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/07 - 500.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/01 - Base case.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/02 - 2 digits long ans.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/03 - With 7.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/04 - With more digits (21).txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/05 - Still ok 100 digits!.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/06 - 250 NO WAY!.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/07 - 500.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/medium/TheHoleTruth/code/CGCode.cpp +22 -0
- package/config/medium/TheHoleTruth/code/CGCode.java +23 -0
- package/config/medium/TheHoleTruth/code/CGCode.js +11 -0
- package/config/medium/TheHoleTruth/code/CGCode.php +11 -0
- package/config/medium/TheHoleTruth/code/CGCode.ts +11 -0
- package/config/medium/TheHoleTruth/config.json +58 -0
- package/config/medium/TheHoleTruth/input/01 - Simple ring.txt +6 -0
- package/config/medium/TheHoleTruth/input/02 - Two holes.txt +6 -0
- package/config/medium/TheHoleTruth/input/03 - No holes.txt +6 -0
- package/config/medium/TheHoleTruth/input/04 - Nested rings.txt +10 -0
- package/config/medium/TheHoleTruth/input/05 - Border-touching shapes.txt +12 -0
- package/config/medium/TheHoleTruth/input/06 - Smiley face.txt +13 -0
- package/config/medium/TheHoleTruth/input/07 - Tall grid with irregular hole.txt +14 -0
- package/config/medium/TheHoleTruth/input/08 - Nested blobs with winding walls.txt +41 -0
- package/config/medium/TheHoleTruth/input/09 - Concentric rings and L-shaped enclosures.txt +41 -0
- package/config/medium/TheHoleTruth/input/10 - Stress test.txt +58 -0
- package/config/medium/TheHoleTruth/output/01 - Simple ring.txt +1 -0
- package/config/medium/TheHoleTruth/output/02 - Two holes.txt +1 -0
- package/config/medium/TheHoleTruth/output/03 - No holes.txt +1 -0
- package/config/medium/TheHoleTruth/output/04 - Nested rings.txt +1 -0
- package/config/medium/TheHoleTruth/output/05 - Border-touching shapes.txt +1 -0
- package/config/medium/TheHoleTruth/output/06 - Smiley face.txt +1 -0
- package/config/medium/TheHoleTruth/output/07 - Tall grid with irregular hole.txt +1 -0
- package/config/medium/TheHoleTruth/output/08 - Nested blobs with winding walls.txt +1 -0
- package/config/medium/TheHoleTruth/output/09 - Concentric rings and L-shaped enclosures.txt +1 -0
- package/config/medium/TheHoleTruth/output/10 - Stress test.txt +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
15
|
|
2
|
+
6
|
|
3
|
+
M
|
|
4
|
+
\fr
|
|
5
|
+
r
|
|
6
|
+
6
|
|
7
|
+
M
|
|
8
|
+
\rf
|
|
9
|
+
r
|
|
10
|
+
6
|
|
11
|
+
M
|
|
12
|
+
\rr
|
|
13
|
+
f
|
|
14
|
+
6
|
|
15
|
+
M
|
|
16
|
+
f\r
|
|
17
|
+
r
|
|
18
|
+
6
|
|
19
|
+
M
|
|
20
|
+
fr\
|
|
21
|
+
r
|
|
22
|
+
6
|
|
23
|
+
M
|
|
24
|
+
frr
|
|
25
|
+
\
|
|
26
|
+
6
|
|
27
|
+
M
|
|
28
|
+
r\f
|
|
29
|
+
r
|
|
30
|
+
6
|
|
31
|
+
M
|
|
32
|
+
r\r
|
|
33
|
+
f
|
|
34
|
+
6
|
|
35
|
+
M
|
|
36
|
+
rf\
|
|
37
|
+
r
|
|
38
|
+
6
|
|
39
|
+
M
|
|
40
|
+
rfr
|
|
41
|
+
\
|
|
42
|
+
6
|
|
43
|
+
M
|
|
44
|
+
rr\
|
|
45
|
+
f
|
|
46
|
+
6
|
|
47
|
+
M
|
|
48
|
+
rrf
|
|
49
|
+
\
|
|
50
|
+
6
|
|
51
|
+
\
|
|
52
|
+
fMr
|
|
53
|
+
r
|
|
54
|
+
6
|
|
55
|
+
\
|
|
56
|
+
rMf
|
|
57
|
+
r
|
|
58
|
+
6
|
|
59
|
+
\
|
|
60
|
+
rMr
|
|
61
|
+
f
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
15
|
|
2
|
+
3
|
|
3
|
+
DP
|
|
4
|
+
YY
|
|
5
|
+
x
|
|
6
|
+
3
|
|
7
|
+
DP
|
|
8
|
+
Yx
|
|
9
|
+
Y
|
|
10
|
+
3
|
|
11
|
+
DP
|
|
12
|
+
xY
|
|
13
|
+
Y
|
|
14
|
+
3
|
|
15
|
+
DY
|
|
16
|
+
PY
|
|
17
|
+
x
|
|
18
|
+
3
|
|
19
|
+
DY
|
|
20
|
+
Px
|
|
21
|
+
Y
|
|
22
|
+
3
|
|
23
|
+
DY
|
|
24
|
+
YP
|
|
25
|
+
x
|
|
26
|
+
3
|
|
27
|
+
DY
|
|
28
|
+
Yx
|
|
29
|
+
P
|
|
30
|
+
3
|
|
31
|
+
DY
|
|
32
|
+
xP
|
|
33
|
+
Y
|
|
34
|
+
3
|
|
35
|
+
DY
|
|
36
|
+
xY
|
|
37
|
+
P
|
|
38
|
+
3
|
|
39
|
+
Dx
|
|
40
|
+
PY
|
|
41
|
+
Y
|
|
42
|
+
3
|
|
43
|
+
Dx
|
|
44
|
+
YP
|
|
45
|
+
Y
|
|
46
|
+
3
|
|
47
|
+
Dx
|
|
48
|
+
YY
|
|
49
|
+
P
|
|
50
|
+
3
|
|
51
|
+
PY
|
|
52
|
+
DY
|
|
53
|
+
x
|
|
54
|
+
3
|
|
55
|
+
PY
|
|
56
|
+
Dx
|
|
57
|
+
Y
|
|
58
|
+
3
|
|
59
|
+
Px
|
|
60
|
+
DY
|
|
61
|
+
Y
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0
|
|
@@ -0,0 +1,20 @@
|
|
|
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 m;
|
|
11
|
+
long long n;
|
|
12
|
+
int b;
|
|
13
|
+
long long x;
|
|
14
|
+
cin >> m >> n >> b >> x; cin.ignore();
|
|
15
|
+
|
|
16
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
17
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
18
|
+
|
|
19
|
+
cout << "answer" << endl;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 m = in.nextLong();
|
|
10
|
+
long n = in.nextLong();
|
|
11
|
+
int b = in.nextInt();
|
|
12
|
+
long x = in.nextLong();
|
|
13
|
+
|
|
14
|
+
// Write an answer using System.out.println()
|
|
15
|
+
// To debug: System.err.println("Debug messages...");
|
|
16
|
+
|
|
17
|
+
System.out.println("answer");
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var inputs = readline().split(' ');
|
|
2
|
+
const m = parseInt(inputs[0]);
|
|
3
|
+
const n = parseInt(inputs[1]);
|
|
4
|
+
const b = parseInt(inputs[2]);
|
|
5
|
+
const x = parseInt(inputs[3]);
|
|
6
|
+
|
|
7
|
+
// Write an answer using console.log()
|
|
8
|
+
// To debug: console.error('Debug messages...');
|
|
9
|
+
|
|
10
|
+
console.log('answer');
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
|
2
|
+
const m: number = parseInt(inputs[0]);
|
|
3
|
+
const n: number = parseInt(inputs[1]);
|
|
4
|
+
const b: number = parseInt(inputs[2]);
|
|
5
|
+
const x: number = parseInt(inputs[3]);
|
|
6
|
+
|
|
7
|
+
// Write an answer using console.log()
|
|
8
|
+
// To debug: console.error('Debug messages...');
|
|
9
|
+
|
|
10
|
+
console.log('answer');
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "hard/XthLexicographicallySmallestNumber",
|
|
3
|
+
"name": "Xth Lexicographically Smallest Number",
|
|
4
|
+
"alphanumName": "XthLexicographicallySmallestNumber",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/xth-lexicographically-smallest-number",
|
|
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
|
+
"name": "Test 6",
|
|
34
|
+
"alphanumName": "test6",
|
|
35
|
+
"file": "06 - test 6.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": "Test 9",
|
|
49
|
+
"alphanumName": "test9",
|
|
50
|
+
"file": "09 - test 9.txt"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Test 10",
|
|
54
|
+
"alphanumName": "test10",
|
|
55
|
+
"file": "10 - test 10.txt"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "Test 11",
|
|
59
|
+
"alphanumName": "test11",
|
|
60
|
+
"file": "11 - test 11.txt"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Test 12",
|
|
64
|
+
"alphanumName": "test12",
|
|
65
|
+
"file": "12 - test 12.txt"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2 15 3 8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6 8 8 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
70 149 2 48
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
851 950 31 89
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1208 7380 2 803
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2 100000000 10 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4421 87412 5 62080
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1 100000000 2 50000000
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1 100000000 10 100000000
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
818218 64845924 12 57752258
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
66097362 104618756 16 32740764
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8921838386 9999999999 23 101867282
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
14
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
95
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
939
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4630
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
60697
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
92108858
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
99999999
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
30039084
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
98838125
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9023705667
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
int a;
|
|
13
|
+
int b;
|
|
14
|
+
cin >> a >> b; cin.ignore();
|
|
15
|
+
|
|
16
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
17
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
18
|
+
|
|
19
|
+
cout << "answer" << endl;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
int a = in.nextInt();
|
|
11
|
+
int b = in.nextInt();
|
|
12
|
+
|
|
13
|
+
// Write an answer using System.out.println()
|
|
14
|
+
// To debug: System.err.println("Debug messages...");
|
|
15
|
+
|
|
16
|
+
System.out.println("answer");
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const n: number = parseInt(readline());
|
|
2
|
+
var inputs: string[] = readline().split(' ');
|
|
3
|
+
const a: number = parseInt(inputs[0]);
|
|
4
|
+
const b: number = parseInt(inputs[1]);
|
|
5
|
+
|
|
6
|
+
// Write an answer using console.log()
|
|
7
|
+
// To debug: console.error('Debug messages...');
|
|
8
|
+
|
|
9
|
+
console.log('answer');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/NumbersWithOnlyTwoDistinctDigits",
|
|
3
|
+
"name": "Numbers with only two distinct digits",
|
|
4
|
+
"alphanumName": "NumbersWithOnlyTwoDistinctDigits",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/numbers-with-only-two-distinct-digits",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Base case",
|
|
9
|
+
"alphanumName": "BaseCase",
|
|
10
|
+
"file": "01 - Base case.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "2 digits long ans",
|
|
14
|
+
"alphanumName": "TwoDigitsLongAns",
|
|
15
|
+
"file": "02 - 2 digits long ans.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "With 7?",
|
|
19
|
+
"alphanumName": "With7",
|
|
20
|
+
"file": "03 - With 7.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "With more digits (21)",
|
|
24
|
+
"alphanumName": "WithMoreDigits21",
|
|
25
|
+
"file": "04 - With more digits (21).txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Still ok? 100 digits!",
|
|
29
|
+
"alphanumName": "StillOk100Digits",
|
|
30
|
+
"file": "05 - Still ok 100 digits!.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "250? NO WAY!",
|
|
34
|
+
"alphanumName": "Two50NOWAY",
|
|
35
|
+
"file": "06 - 250 NO WAY!.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "500??",
|
|
39
|
+
"alphanumName": "Five00",
|
|
40
|
+
"file": "07 - 500.txt"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
44
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4444544
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
777777777666766667776
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4999999449449999994999449944944994449499994444449494944949944994494999944449444499949499449494994944
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2112112222112221212111112121221221121211221111121212111111121212222212211222122122212112211221221112222121221212121121112111222221122221221121111212121211211211221121211211121122122211212221112122111122212112212121112121121122111112111211111212122112
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
72727722222777772272722777727227277772277272727272277222722227227772222722727722727227777772277227727227277277222272777222777722722777772772722722777772227277272772277722772277772727772277777272772277722272227772222272777722277777277777777777777277777277772272227777727272222772772727772227772777272777772722777222777727222227722272277227772722222722727222222772772222277222777722227722777777727727227272727272727722772277777272277777277277277772272777227777222727272222772727727727272277772727222272
|
|
@@ -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');
|