@cyrilverloop/codingame-configuration 1.13.2 → 1.14.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 +40 -0
- package/README.md +1 -1
- package/config/easy/ASCIIArt/code/CGCode.cpp +25 -0
- package/config/easy/ASCIIArt/code/CGCode.java +24 -0
- package/config/easy/ASCIIArt/code/CGCode.ts +11 -0
- package/config/easy/Defibrillators/code/CGCode.cpp +25 -0
- package/config/easy/Defibrillators/code/CGCode.java +24 -0
- package/config/easy/Defibrillators/code/CGCode.ts +11 -0
- package/config/easy/HorseRacingDuals/code/CGCode.cpp +21 -0
- package/config/easy/HorseRacingDuals/code/CGCode.java +19 -0
- package/config/easy/HorseRacingDuals/code/CGCode.ts +9 -0
- package/config/easy/MIMEType/code/CGCode.cpp +30 -0
- package/config/easy/MIMEType/code/CGCode.java +27 -0
- package/config/easy/MIMEType/code/CGCode.ts +17 -0
- package/config/easy/Temperatures/code/CGCode.cpp +21 -0
- package/config/easy/Temperatures/code/CGCode.java +19 -0
- package/config/easy/Temperatures/code/CGCode.ts +10 -0
- package/config/easy/Unary/code/CGCode.cpp +17 -0
- package/config/easy/Unary/code/CGCode.java +16 -0
- package/config/easy/Unary/code/CGCode.ts +6 -0
- package/config/expert/MusicScores/code/CGCode.cpp +20 -0
- package/config/expert/MusicScores/code/CGCode.java +21 -0
- package/config/expert/MusicScores/code/CGCode.ts +9 -0
- package/config/expert/NintendoSponsoredChallenge/code/CGCode.cpp +19 -0
- package/config/expert/NintendoSponsoredChallenge/config.json +38 -0
- package/config/expert/NintendoSponsoredChallenge/input/01 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/input/02 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/input/03 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/input/04 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/input/05 - 128 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/input/06 - 256 bits (for mega NERD only).txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/output/01 - 32 bits.txt +4 -0
- package/config/expert/NintendoSponsoredChallenge/output/02 - 32 bits.txt +4 -0
- package/config/expert/NintendoSponsoredChallenge/output/03 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/output/04 - 32 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/output/05 - 128 bits.txt +2 -0
- package/config/expert/NintendoSponsoredChallenge/output/06 - 256 bits (for mega NERD only).txt +2 -0
- package/config/expert/TheResistance/code/CGCode.cpp +23 -0
- package/config/expert/TheResistance/code/CGCode.java +20 -0
- package/config/expert/TheResistance/code/CGCode.ts +10 -0
- package/config/hard/BalancedLevers/code/CGCode.js +11 -0
- package/config/hard/BalancedLevers/code/CGCode.php +13 -0
- package/config/hard/BalancedLevers/config.json +83 -0
- package/config/hard/BalancedLevers/input/01 - 3w #1.txt +3 -0
- package/config/hard/BalancedLevers/input/02 - 3w #2.txt +3 -0
- package/config/hard/BalancedLevers/input/03 - 3w #3.txt +3 -0
- package/config/hard/BalancedLevers/input/04 - 4w #1.txt +3 -0
- package/config/hard/BalancedLevers/input/05 - 4w #2.txt +3 -0
- package/config/hard/BalancedLevers/input/06 - 4w #3.txt +3 -0
- package/config/hard/BalancedLevers/input/07 - 5w #1.txt +3 -0
- package/config/hard/BalancedLevers/input/08 - 5w #2.txt +3 -0
- package/config/hard/BalancedLevers/input/09 - 5w #3.txt +3 -0
- package/config/hard/BalancedLevers/input/10 - 6w #1.txt +3 -0
- package/config/hard/BalancedLevers/input/11 - 6w #2.txt +3 -0
- package/config/hard/BalancedLevers/input/12 - 6w #3.txt +3 -0
- package/config/hard/BalancedLevers/input/13 - Single.txt +3 -0
- package/config/hard/BalancedLevers/input/14 - Tiny room.txt +3 -0
- package/config/hard/BalancedLevers/input/15 - Twins.txt +3 -0
- package/config/hard/BalancedLevers/output/01 - 3w #1.txt +1 -0
- package/config/hard/BalancedLevers/output/02 - 3w #2.txt +1 -0
- package/config/hard/BalancedLevers/output/03 - 3w #3.txt +1 -0
- package/config/hard/BalancedLevers/output/04 - 4w #1.txt +1 -0
- package/config/hard/BalancedLevers/output/05 - 4w #2.txt +1 -0
- package/config/hard/BalancedLevers/output/06 - 4w #3.txt +1 -0
- package/config/hard/BalancedLevers/output/07 - 5w #1.txt +1 -0
- package/config/hard/BalancedLevers/output/08 - 5w #2.txt +1 -0
- package/config/hard/BalancedLevers/output/09 - 5w #3.txt +1 -0
- package/config/hard/BalancedLevers/output/10 - 6w #1.txt +1 -0
- package/config/hard/BalancedLevers/output/11 - 6w #2.txt +1 -0
- package/config/hard/BalancedLevers/output/12 - 6w #3.txt +1 -0
- package/config/hard/BalancedLevers/output/13 - Single.txt +1 -0
- package/config/hard/BalancedLevers/output/14 - Tiny room.txt +1 -0
- package/config/hard/BalancedLevers/output/15 - Twins.txt +1 -0
- package/config/hard/BasicDecisionTree1/code/CGCode.js +9 -0
- package/config/hard/BasicDecisionTree1/code/CGCode.php +11 -0
- package/config/hard/BasicDecisionTree1/config.json +28 -0
- package/config/hard/BasicDecisionTree1/input/01 - test 1.txt +3 -0
- package/config/hard/BasicDecisionTree1/input/02 - test 2.txt +7 -0
- package/config/hard/BasicDecisionTree1/input/03 - test 3.txt +7 -0
- package/config/hard/BasicDecisionTree1/input/04 - test 4.txt +5 -0
- package/config/hard/BasicDecisionTree1/output/01 - test 1.txt +1 -0
- package/config/hard/BasicDecisionTree1/output/02 - test 2.txt +1 -0
- package/config/hard/BasicDecisionTree1/output/03 - test 3.txt +1 -0
- package/config/hard/BasicDecisionTree1/output/04 - test 4.txt +1 -0
- package/config/hard/BasicDecisionTree2/code/CGCode.js +11 -0
- package/config/hard/BasicDecisionTree2/code/CGCode.php +13 -0
- package/config/hard/BasicDecisionTree2/config.json +33 -0
- package/config/hard/BasicDecisionTree2/input/01 - test 1.txt +5 -0
- package/config/hard/BasicDecisionTree2/input/02 - test 2.txt +9 -0
- package/config/hard/BasicDecisionTree2/input/03 - test 3.txt +9 -0
- package/config/hard/BasicDecisionTree2/input/04 - test 4.txt +9 -0
- package/config/hard/BasicDecisionTree2/input/05 - test 5.txt +12 -0
- package/config/hard/BasicDecisionTree2/output/01 - test 1.txt +1 -0
- package/config/hard/BasicDecisionTree2/output/02 - test 2.txt +1 -0
- package/config/hard/BasicDecisionTree2/output/03 - test 3.txt +1 -0
- package/config/hard/BasicDecisionTree2/output/04 - test 4.txt +1 -0
- package/config/hard/BasicDecisionTree2/output/05 - test 5.txt +1 -0
- package/config/hard/BlunderEpisode2/code/CGCode.cpp +21 -0
- package/config/hard/BlunderEpisode2/code/CGCode.java +22 -0
- package/config/hard/BlunderEpisode2/code/CGCode.ts +9 -0
- package/config/hard/BlunderEpisode3/code/CGCode.cpp +22 -0
- package/config/hard/BlunderEpisode3/code/CGCode.java +20 -0
- package/config/hard/BlunderEpisode3/code/CGCode.ts +11 -0
- package/config/hard/CGXFormatter/code/CGCode.cpp +21 -0
- package/config/hard/CGXFormatter/code/CGCode.java +22 -0
- package/config/hard/CGXFormatter/code/CGCode.ts +9 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/code/CGCode.js +9 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/code/CGCode.php +11 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/config.json +33 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/input/01 - Simple example.txt +4 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/input/02 - Real case.txt +73 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/input/03 - Changing tree.txt +7 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/input/04 - Infinite loop.txt +6 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/input/05 - Border line cases.txt +6 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/output/01 - Simple example.txt +1 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/output/02 - Real case.txt +15 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/output/03 - Changing tree.txt +3 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/output/04 - Infinite loop.txt +1 -0
- package/config/hard/CodeYourOwnAutomaton2000Step1/output/05 - Border line cases.txt +3 -0
- package/config/hard/Cryptarithm/code/CGCode.js +10 -0
- package/config/hard/Cryptarithm/code/CGCode.php +12 -0
- package/config/hard/Cryptarithm/config.json +28 -0
- package/config/hard/Cryptarithm/input/01 - Example.txt +4 -0
- package/config/hard/Cryptarithm/input/02 - 9846+2+648=10496.txt +5 -0
- package/config/hard/Cryptarithm/input/03 - Sum of 5 values.txt +7 -0
- package/config/hard/Cryptarithm/input/04 - 85+15=100.txt +4 -0
- package/config/hard/Cryptarithm/output/01 - Example.txt +6 -0
- package/config/hard/Cryptarithm/output/02 - 9846+2+648=10496.txt +7 -0
- package/config/hard/Cryptarithm/output/03 - Sum of 5 values.txt +4 -0
- package/config/hard/Cryptarithm/output/04 - 85+15=100.txt +4 -0
- package/config/hard/DiscreteLogProblem/code/CGCode.js +9 -0
- package/config/hard/DiscreteLogProblem/code/CGCode.php +7 -0
- package/config/hard/DiscreteLogProblem/config.json +38 -0
- package/config/hard/DiscreteLogProblem/input/01 - test 1.txt +1 -0
- package/config/hard/DiscreteLogProblem/input/02 - test 2.txt +1 -0
- package/config/hard/DiscreteLogProblem/input/03 - test 3.txt +1 -0
- package/config/hard/DiscreteLogProblem/input/04 - test 4.txt +1 -0
- package/config/hard/DiscreteLogProblem/input/05 - Big test.txt +1 -0
- package/config/hard/DiscreteLogProblem/input/06 - Yet another big test.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/01 - test 1.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/02 - test 2.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/03 - test 3.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/04 - test 4.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/05 - Big test.txt +1 -0
- package/config/hard/DiscreteLogProblem/output/06 - Yet another big test.txt +1 -0
- package/config/hard/EncounterSurface/code/CGCode.js +17 -0
- package/config/hard/EncounterSurface/code/CGCode.php +16 -0
- package/config/hard/EncounterSurface/config.json +38 -0
- package/config/hard/EncounterSurface/input/01 - First contact.txt +11 -0
- package/config/hard/EncounterSurface/input/02 - Real case.txt +15 -0
- package/config/hard/EncounterSurface/input/03 - Great battle.txt +22 -0
- package/config/hard/EncounterSurface/input/04 - Huge area.txt +28 -0
- package/config/hard/EncounterSurface/input/05 - No contact.txt +12 -0
- package/config/hard/EncounterSurface/input/06 - Side superposition.txt +10 -0
- package/config/hard/EncounterSurface/output/01 - First contact.txt +1 -0
- package/config/hard/EncounterSurface/output/02 - Real case.txt +1 -0
- package/config/hard/EncounterSurface/output/03 - Great battle.txt +1 -0
- package/config/hard/EncounterSurface/output/04 - Huge area.txt +1 -0
- package/config/hard/EncounterSurface/output/05 - No contact.txt +1 -0
- package/config/hard/EncounterSurface/output/06 - Side superposition.txt +1 -0
- package/config/hard/FlowerBeds/code/CGCode.js +11 -0
- package/config/hard/FlowerBeds/code/CGCode.php +11 -0
- package/config/hard/FlowerBeds/config.json +28 -0
- package/config/hard/FlowerBeds/input/01 - Small with few edges.txt +10 -0
- package/config/hard/FlowerBeds/input/02 - Small with many edges.txt +25 -0
- package/config/hard/FlowerBeds/input/03 - Big with few edges.txt +5 -0
- package/config/hard/FlowerBeds/input/04 - Versaille.txt +51 -0
- package/config/hard/FlowerBeds/output/01 - Small with few edges.txt +1 -0
- package/config/hard/FlowerBeds/output/02 - Small with many edges.txt +1 -0
- package/config/hard/FlowerBeds/output/03 - Big with few edges.txt +1 -0
- package/config/hard/FlowerBeds/output/04 - Versaille.txt +1 -0
- package/config/hard/GenomeSequencing/code/CGCode.cpp +21 -0
- package/config/hard/GenomeSequencing/code/CGCode.java +19 -0
- package/config/hard/GenomeSequencing/code/CGCode.ts +9 -0
- package/config/hard/Hangman/code/CGCode.js +7 -0
- package/config/hard/Hangman/code/CGCode.php +8 -0
- package/config/hard/Hangman/config.json +28 -0
- package/config/hard/Hangman/input/01 - Solution found.txt +2 -0
- package/config/hard/Hangman/input/02 - Wrong answer.txt +2 -0
- package/config/hard/Hangman/input/03 - White space.txt +2 -0
- package/config/hard/Hangman/input/04 - Same letter.txt +2 -0
- package/config/hard/Hangman/output/01 - Solution found.txt +5 -0
- package/config/hard/Hangman/output/02 - Wrong answer.txt +5 -0
- package/config/hard/Hangman/output/03 - White space.txt +5 -0
- package/config/hard/Hangman/output/04 - Same letter.txt +5 -0
- package/config/hard/HarmlessRooks/code/CGCode.js +9 -0
- package/config/hard/HarmlessRooks/code/CGCode.php +11 -0
- package/config/hard/HarmlessRooks/config.json +73 -0
- package/config/hard/HarmlessRooks/input/01 - Size 5.txt +6 -0
- package/config/hard/HarmlessRooks/input/02 - Size 7.txt +8 -0
- package/config/hard/HarmlessRooks/input/03 - Size 8.txt +9 -0
- package/config/hard/HarmlessRooks/input/04 - Size 10.txt +11 -0
- package/config/hard/HarmlessRooks/input/05 - Size 11.txt +12 -0
- package/config/hard/HarmlessRooks/input/06 - Size 16.txt +17 -0
- package/config/hard/HarmlessRooks/input/07 - Size 30.txt +31 -0
- package/config/hard/HarmlessRooks/input/08 - Size 50.txt +51 -0
- package/config/hard/HarmlessRooks/input/09 - Size 99 (1).txt +100 -0
- package/config/hard/HarmlessRooks/input/10 - Size 99 (2).txt +100 -0
- package/config/hard/HarmlessRooks/input/11 - Size 99 (3).txt +100 -0
- package/config/hard/HarmlessRooks/input/12 - Size 99 (4).txt +100 -0
- package/config/hard/HarmlessRooks/input/13 - Size 1.txt +2 -0
- package/config/hard/HarmlessRooks/output/01 - Size 5.txt +1 -0
- package/config/hard/HarmlessRooks/output/02 - Size 7.txt +1 -0
- package/config/hard/HarmlessRooks/output/03 - Size 8.txt +1 -0
- package/config/hard/HarmlessRooks/output/04 - Size 10.txt +1 -0
- package/config/hard/HarmlessRooks/output/05 - Size 11.txt +1 -0
- package/config/hard/HarmlessRooks/output/06 - Size 16.txt +1 -0
- package/config/hard/HarmlessRooks/output/07 - Size 30.txt +1 -0
- package/config/hard/HarmlessRooks/output/08 - Size 50.txt +1 -0
- package/config/hard/HarmlessRooks/output/09 - Size 99 (1).txt +1 -0
- package/config/hard/HarmlessRooks/output/10 - Size 99 (2).txt +1 -0
- package/config/hard/HarmlessRooks/output/11 - Size 99 (3).txt +1 -0
- package/config/hard/HarmlessRooks/output/12 - Size 99 (4).txt +1 -0
- package/config/hard/HarmlessRooks/output/13 - Size 1.txt +1 -0
- package/config/hard/Kgood/code/CGCode.js +7 -0
- package/config/hard/Kgood/code/CGCode.php +8 -0
- package/config/hard/Kgood/config.json +33 -0
- package/config/hard/Kgood/input/01 - test 1.txt +2 -0
- package/config/hard/Kgood/input/02 - test 2.txt +2 -0
- package/config/hard/Kgood/input/03 - test 3.txt +2 -0
- package/config/hard/Kgood/input/04 - test 4.txt +2 -0
- package/config/hard/Kgood/input/05 - test 5.txt +2 -0
- package/config/hard/Kgood/output/01 - test 1.txt +1 -0
- package/config/hard/Kgood/output/02 - test 2.txt +1 -0
- package/config/hard/Kgood/output/03 - test 3.txt +1 -0
- package/config/hard/Kgood/output/04 - test 4.txt +1 -0
- package/config/hard/Kgood/output/05 - test 5.txt +1 -0
- package/config/hard/LaserAndMirrors/code/CGCode.js +8 -0
- package/config/hard/LaserAndMirrors/code/CGCode.php +7 -0
- package/config/hard/LaserAndMirrors/config.json +38 -0
- package/config/hard/LaserAndMirrors/input/01 - Square.txt +1 -0
- package/config/hard/LaserAndMirrors/input/02 - Small rectangle.txt +1 -0
- package/config/hard/LaserAndMirrors/input/03 - Multiple bounces.txt +1 -0
- package/config/hard/LaserAndMirrors/input/04 - Big but feasible.txt +1 -0
- package/config/hard/LaserAndMirrors/input/05 - Too big.txt +1 -0
- package/config/hard/LaserAndMirrors/input/06 - Very very big room.txt +1 -0
- package/config/hard/LaserAndMirrors/output/01 - Square.txt +1 -0
- package/config/hard/LaserAndMirrors/output/02 - Small rectangle.txt +1 -0
- package/config/hard/LaserAndMirrors/output/03 - Multiple bounces.txt +1 -0
- package/config/hard/LaserAndMirrors/output/04 - Big but feasible.txt +1 -0
- package/config/hard/LaserAndMirrors/output/05 - Too big.txt +1 -0
- package/config/hard/LaserAndMirrors/output/06 - Very very big room.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/code/CGCode.js +12 -0
- package/config/hard/LegendaryArcherOctavius/code/CGCode.php +11 -0
- package/config/hard/LegendaryArcherOctavius/config.json +48 -0
- package/config/hard/LegendaryArcherOctavius/input/01 - Trivial.txt +3 -0
- package/config/hard/LegendaryArcherOctavius/input/02 - Zipline Action.txt +4 -0
- package/config/hard/LegendaryArcherOctavius/input/03 - Chug, chug, chug!.txt +5 -0
- package/config/hard/LegendaryArcherOctavius/input/04 - Haste makes waste.txt +4 -0
- package/config/hard/LegendaryArcherOctavius/input/05 - Noclipping UFOs.txt +7 -0
- package/config/hard/LegendaryArcherOctavius/input/06 - Reinforcements.txt +15 -0
- package/config/hard/LegendaryArcherOctavius/input/07 - Surrounded.txt +18 -0
- package/config/hard/LegendaryArcherOctavius/input/08 - Martian Invasion.txt +30 -0
- package/config/hard/LegendaryArcherOctavius/output/01 - Trivial.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/02 - Zipline Action.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/03 - Chug, chug, chug!.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/04 - Haste makes waste.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/05 - Noclipping UFOs.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/06 - Reinforcements.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/07 - Surrounded.txt +1 -0
- package/config/hard/LegendaryArcherOctavius/output/08 - Martian Invasion.txt +1 -0
- package/config/hard/LevenshteinDistance/code/CGCode.js +7 -0
- package/config/hard/LevenshteinDistance/code/CGCode.php +8 -0
- package/config/hard/LevenshteinDistance/config.json +43 -0
- package/config/hard/LevenshteinDistance/input/01 - Simple.txt +2 -0
- package/config/hard/LevenshteinDistance/input/02 - Normal.txt +2 -0
- package/config/hard/LevenshteinDistance/input/03 - Harder.txt +2 -0
- package/config/hard/LevenshteinDistance/input/04 - Long words.txt +2 -0
- package/config/hard/LevenshteinDistance/input/05 - Sentence.txt +2 -0
- package/config/hard/LevenshteinDistance/input/06 - No change.txt +2 -0
- package/config/hard/LevenshteinDistance/input/07 - One very long word.txt +2 -0
- package/config/hard/LevenshteinDistance/output/01 - Simple.txt +1 -0
- package/config/hard/LevenshteinDistance/output/02 - Normal.txt +1 -0
- package/config/hard/LevenshteinDistance/output/03 - Harder.txt +1 -0
- package/config/hard/LevenshteinDistance/output/04 - Long words.txt +1 -0
- package/config/hard/LevenshteinDistance/output/05 - Sentence.txt +1 -0
- package/config/hard/LevenshteinDistance/output/06 - No change.txt +1 -0
- package/config/hard/LevenshteinDistance/output/07 - One very long word.txt +1 -0
- package/config/hard/MaximisingIntegers/code/CGCode.js +6 -0
- package/config/hard/MaximisingIntegers/code/CGCode.php +7 -0
- package/config/hard/MaximisingIntegers/config.json +38 -0
- package/config/hard/MaximisingIntegers/input/01 - test 1.txt +1 -0
- package/config/hard/MaximisingIntegers/input/02 - test 2.txt +1 -0
- package/config/hard/MaximisingIntegers/input/03 - test 3.txt +1 -0
- package/config/hard/MaximisingIntegers/input/04 - test 4.txt +1 -0
- package/config/hard/MaximisingIntegers/input/05 - test 5.txt +1 -0
- package/config/hard/MaximisingIntegers/input/06 - test 6.txt +1 -0
- package/config/hard/MaximisingIntegers/output/01 - test 1.txt +1 -0
- package/config/hard/MaximisingIntegers/output/02 - test 2.txt +1 -0
- package/config/hard/MaximisingIntegers/output/03 - test 3.txt +1 -0
- package/config/hard/MaximisingIntegers/output/04 - test 4.txt +1 -0
- package/config/hard/MaximisingIntegers/output/05 - test 5.txt +1 -0
- package/config/hard/MaximisingIntegers/output/06 - test 6.txt +1 -0
- package/config/hard/MisereNim/code/CGCode.js +16 -0
- package/config/hard/MisereNim/code/CGCode.php +18 -0
- package/config/hard/MisereNim/config.json +48 -0
- package/config/hard/MisereNim/input/01 - One heap.txt +4 -0
- package/config/hard/MisereNim/input/02 - Two heaps, simple.txt +5 -0
- package/config/hard/MisereNim/input/03 - Two heaps.txt +4 -0
- package/config/hard/MisereNim/input/04 - Three heaps, simple.txt +6 -0
- package/config/hard/MisereNim/input/05 - Multiple possibilities.txt +6 -0
- package/config/hard/MisereNim/input/06 - Three heaps.txt +6 -0
- package/config/hard/MisereNim/input/07 - Hard.txt +6 -0
- package/config/hard/MisereNim/input/08 - Hard, multiple moves.txt +5 -0
- package/config/hard/MisereNim/output/01 - One heap.txt +3 -0
- package/config/hard/MisereNim/output/02 - Two heaps, simple.txt +4 -0
- package/config/hard/MisereNim/output/03 - Two heaps.txt +3 -0
- package/config/hard/MisereNim/output/04 - Three heaps, simple.txt +5 -0
- package/config/hard/MisereNim/output/05 - Multiple possibilities.txt +5 -0
- package/config/hard/MisereNim/output/06 - Three heaps.txt +5 -0
- package/config/hard/MisereNim/output/07 - Hard.txt +5 -0
- package/config/hard/MisereNim/output/08 - Hard, multiple moves.txt +4 -0
- package/config/hard/PascalTrapezoid/code/CGCode.js +10 -0
- package/config/hard/PascalTrapezoid/code/CGCode.php +8 -0
- package/config/hard/PascalTrapezoid/config.json +43 -0
- package/config/hard/PascalTrapezoid/input/01 - test 1.txt +2 -0
- package/config/hard/PascalTrapezoid/input/02 - test 2.txt +2 -0
- package/config/hard/PascalTrapezoid/input/03 - test 3.txt +2 -0
- package/config/hard/PascalTrapezoid/input/04 - test 4.txt +2 -0
- package/config/hard/PascalTrapezoid/input/05 - test 5.txt +2 -0
- package/config/hard/PascalTrapezoid/input/06 - test 6.txt +2 -0
- package/config/hard/PascalTrapezoid/input/07 - test 7.txt +2 -0
- package/config/hard/PascalTrapezoid/output/01 - test 1.txt +1 -0
- package/config/hard/PascalTrapezoid/output/02 - test 2.txt +1 -0
- package/config/hard/PascalTrapezoid/output/03 - test 3.txt +1 -0
- package/config/hard/PascalTrapezoid/output/04 - test 4.txt +1 -0
- package/config/hard/PascalTrapezoid/output/05 - test 5.txt +1 -0
- package/config/hard/PascalTrapezoid/output/06 - test 6.txt +1 -0
- package/config/hard/PascalTrapezoid/output/07 - test 7.txt +1 -0
- package/config/hard/RollerCoaster/code/CGCode.cpp +23 -0
- package/config/hard/RollerCoaster/code/CGCode.java +21 -0
- package/config/hard/RollerCoaster/code/CGCode.ts +12 -0
- package/config/hard/SevenSegmentDisplay/code/CGCode.js +8 -0
- package/config/hard/SevenSegmentDisplay/code/CGCode.php +9 -0
- package/config/hard/SevenSegmentDisplay/config.json +28 -0
- package/config/hard/SevenSegmentDisplay/input/01 - 8.txt +3 -0
- package/config/hard/SevenSegmentDisplay/input/02 - 256.txt +3 -0
- package/config/hard/SevenSegmentDisplay/input/03 - 333.txt +3 -0
- package/config/hard/SevenSegmentDisplay/input/04 - 14790.txt +3 -0
- package/config/hard/SevenSegmentDisplay/output/01 - 8.txt +7 -0
- package/config/hard/SevenSegmentDisplay/output/02 - 256.txt +13 -0
- package/config/hard/SevenSegmentDisplay/output/03 - 333.txt +9 -0
- package/config/hard/SevenSegmentDisplay/output/04 - 14790.txt +11 -0
- package/config/hard/SimpleSafecracking/code/CGCode.js +6 -0
- package/config/hard/SimpleSafecracking/code/CGCode.php +7 -0
- package/config/hard/SimpleSafecracking/config.json +28 -0
- package/config/hard/SimpleSafecracking/input/01 - test 1.txt +1 -0
- package/config/hard/SimpleSafecracking/input/02 - test 2.txt +1 -0
- package/config/hard/SimpleSafecracking/input/03 - test 3.txt +1 -0
- package/config/hard/SimpleSafecracking/input/04 - test 4.txt +1 -0
- package/config/hard/SimpleSafecracking/output/01 - test 1.txt +1 -0
- package/config/hard/SimpleSafecracking/output/02 - test 2.txt +1 -0
- package/config/hard/SimpleSafecracking/output/03 - test 3.txt +1 -0
- package/config/hard/SimpleSafecracking/output/04 - test 4.txt +1 -0
- package/config/hard/Staircases/code/CGCode.js +6 -0
- package/config/hard/Staircases/code/CGCode.php +7 -0
- package/config/hard/Staircases/config.json +33 -0
- package/config/hard/Staircases/input/01 - Exemple.txt +1 -0
- package/config/hard/Staircases/input/02 - 10.txt +1 -0
- package/config/hard/Staircases/input/03 - 25.txt +1 -0
- package/config/hard/Staircases/input/04 - 500.txt +1 -0
- package/config/hard/Staircases/input/05 - 4.txt +1 -0
- package/config/hard/Staircases/output/01 - Exemple.txt +1 -0
- package/config/hard/Staircases/output/02 - 10.txt +1 -0
- package/config/hard/Staircases/output/03 - 25.txt +1 -0
- package/config/hard/Staircases/output/04 - 500.txt +1 -0
- package/config/hard/Staircases/output/05 - 4.txt +1 -0
- package/config/hard/SuperComputer/code/CGCode.cpp +22 -0
- package/config/hard/SuperComputer/code/CGCode.java +20 -0
- package/config/hard/SuperComputer/code/CGCode.ts +11 -0
- package/config/hard/Surface/code/CGCode.cpp +32 -0
- package/config/hard/Surface/code/CGCode.java +30 -0
- package/config/hard/Surface/code/CGCode.ts +18 -0
- package/config/hard/TANNetwork/code/CGCode.cpp +31 -0
- package/config/hard/TANNetwork/code/CGCode.java +31 -0
- package/config/hard/TANNetwork/code/CGCode.ts +15 -0
- package/config/hard/TheGreatestNumber/code/CGCode.js +7 -0
- package/config/hard/TheGreatestNumber/code/CGCode.php +8 -0
- package/config/hard/TheGreatestNumber/config.json +43 -0
- package/config/hard/TheGreatestNumber/input/01 - Simple.txt +2 -0
- package/config/hard/TheGreatestNumber/input/02 - Positif.txt +2 -0
- package/config/hard/TheGreatestNumber/input/03 - Sans virgule.txt +2 -0
- package/config/hard/TheGreatestNumber/input/04 - G/303/251rer le z/303/251ro.txt" +2 -0
- package/config/hard/TheGreatestNumber/input/05 - G/303/251rer le z/303/251ro une 2/303/250me fois.txt" +2 -0
- package/config/hard/TheGreatestNumber/input/06 - Pleins de z/303/251ros.txt" +2 -0
- package/config/hard/TheGreatestNumber/input/07 - Retour aux bases.txt +2 -0
- package/config/hard/TheGreatestNumber/output/01 - Simple.txt +1 -0
- package/config/hard/TheGreatestNumber/output/02 - Positif.txt +1 -0
- package/config/hard/TheGreatestNumber/output/03 - Sans virgule.txt +1 -0
- package/config/hard/TheGreatestNumber/output/04 - G/303/251rer le z/303/251ro.txt" +1 -0
- package/config/hard/TheGreatestNumber/output/05 - G/303/251rer le z/303/251ro une 2/303/250me fois.txt" +1 -0
- package/config/hard/TheGreatestNumber/output/06 - Pleins de z/303/251ros.txt" +1 -0
- package/config/hard/TheGreatestNumber/output/07 - Retour aux bases.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/code/CGCode.js +6 -0
- package/config/hard/TheMaxSurfaceBox/code/CGCode.php +7 -0
- package/config/hard/TheMaxSurfaceBox/config.json +38 -0
- package/config/hard/TheMaxSurfaceBox/input/01 - test 1.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/input/02 - test 2.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/input/03 - test 3.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/input/04 - test 4.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/input/05 - test 5.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/input/06 - test 6.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/01 - test 1.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/02 - test 2.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/03 - test 3.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/04 - test 4.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/05 - test 5.txt +1 -0
- package/config/hard/TheMaxSurfaceBox/output/06 - test 6.txt +1 -0
- package/config/hard/TheTotalIsRightWeirdEdition/code/CGCode.js +7 -0
- package/config/hard/TheTotalIsRightWeirdEdition/code/CGCode.php +8 -0
- package/config/hard/TheTotalIsRightWeirdEdition/config.json +33 -0
- package/config/hard/TheTotalIsRightWeirdEdition/input/01 - test 1.txt +2 -0
- package/config/hard/TheTotalIsRightWeirdEdition/input/02 - test 2.txt +2 -0
- package/config/hard/TheTotalIsRightWeirdEdition/input/03 - test 3.txt +2 -0
- package/config/hard/TheTotalIsRightWeirdEdition/input/04 - test 4.txt +2 -0
- package/config/hard/TheTotalIsRightWeirdEdition/input/05 - test 5.txt +2 -0
- package/config/hard/TheTotalIsRightWeirdEdition/output/01 - test 1.txt +1 -0
- package/config/hard/TheTotalIsRightWeirdEdition/output/02 - test 2.txt +1 -0
- package/config/hard/TheTotalIsRightWeirdEdition/output/03 - test 3.txt +1 -0
- package/config/hard/TheTotalIsRightWeirdEdition/output/04 - test 4.txt +1 -0
- package/config/hard/TheTotalIsRightWeirdEdition/output/05 - test 5.txt +1 -0
- package/config/hard/Vortex/code/CGCode.js +15 -0
- package/config/hard/Vortex/code/CGCode.php +16 -0
- package/config/hard/Vortex/config.json +33 -0
- package/config/hard/Vortex/input/01 - Simplest.txt +5 -0
- package/config/hard/Vortex/input/02 - Example 7x5 matrix.txt +7 -0
- package/config/hard/Vortex/input/03 - Just an 8x12 matrix.txt +14 -0
- package/config/hard/Vortex/input/04 - Many pixels.txt +22 -0
- package/config/hard/Vortex/input/05 - INSANE!!!.txt +14 -0
- package/config/hard/Vortex/output/01 - Simplest.txt +3 -0
- package/config/hard/Vortex/output/02 - Example 7x5 matrix.txt +5 -0
- package/config/hard/Vortex/output/03 - Just an 8x12 matrix.txt +12 -0
- package/config/hard/Vortex/output/04 - Many pixels.txt +20 -0
- package/config/hard/Vortex/output/05 - INSANE!!!.txt +12 -0
- package/config/hard/Winamax/code/CGCode.cpp +17 -0
- package/config/medium/BlunderEpisode1/code/CGCode.cpp +22 -0
- package/config/medium/BlunderEpisode1/code/CGCode.java +23 -0
- package/config/medium/BlunderEpisode1/code/CGCode.ts +11 -0
- package/config/medium/ConwaySequence/code/CGCode.cpp +19 -0
- package/config/medium/ConwaySequence/code/CGCode.java +17 -0
- package/config/medium/ConwaySequence/code/CGCode.ts +7 -0
- package/config/medium/DwarfsStandingOnTheShouldersOfGiants/code/CGCode.cpp +24 -0
- package/config/medium/DwarfsStandingOnTheShouldersOfGiants/code/CGCode.java +22 -0
- package/config/medium/DwarfsStandingOnTheShouldersOfGiants/code/CGCode.ts +13 -0
- package/config/medium/FunctionNotation/code/CGCode.js +6 -0
- package/config/medium/FunctionNotation/code/CGCode.php +7 -0
- package/config/medium/FunctionNotation/config.json +93 -0
- package/config/medium/FunctionNotation/input/01 - test 1.txt +1 -0
- package/config/medium/FunctionNotation/input/02 - test 2.txt +1 -0
- package/config/medium/FunctionNotation/input/03 - test 3.txt +1 -0
- package/config/medium/FunctionNotation/input/04 - test 4.txt +1 -0
- package/config/medium/FunctionNotation/input/05 - test 5.txt +1 -0
- package/config/medium/FunctionNotation/input/06 - test 6.txt +1 -0
- package/config/medium/FunctionNotation/input/07 - test 7.txt +1 -0
- package/config/medium/FunctionNotation/input/08 - test 8.txt +1 -0
- package/config/medium/FunctionNotation/input/09 - test 9.txt +1 -0
- package/config/medium/FunctionNotation/input/10 - test 10.txt +1 -0
- package/config/medium/FunctionNotation/input/11 - test 11.txt +1 -0
- package/config/medium/FunctionNotation/input/12 - test 12.txt +1 -0
- package/config/medium/FunctionNotation/input/13 - test 13.txt +1 -0
- package/config/medium/FunctionNotation/input/14 - test 14.txt +1 -0
- package/config/medium/FunctionNotation/input/15 - test 15.txt +1 -0
- package/config/medium/FunctionNotation/input/16 - test 16.txt +1 -0
- package/config/medium/FunctionNotation/input/17 - test 17.txt +1 -0
- package/config/medium/FunctionNotation/output/01 - test 1.txt +1 -0
- package/config/medium/FunctionNotation/output/02 - test 2.txt +1 -0
- package/config/medium/FunctionNotation/output/03 - test 3.txt +1 -0
- package/config/medium/FunctionNotation/output/04 - test 4.txt +1 -0
- package/config/medium/FunctionNotation/output/05 - test 5.txt +1 -0
- package/config/medium/FunctionNotation/output/06 - test 6.txt +1 -0
- package/config/medium/FunctionNotation/output/07 - test 7.txt +1 -0
- package/config/medium/FunctionNotation/output/08 - test 8.txt +1 -0
- package/config/medium/FunctionNotation/output/09 - test 9.txt +1 -0
- package/config/medium/FunctionNotation/output/10 - test 10.txt +1 -0
- package/config/medium/FunctionNotation/output/11 - test 11.txt +1 -0
- package/config/medium/FunctionNotation/output/12 - test 12.txt +1 -0
- package/config/medium/FunctionNotation/output/13 - test 13.txt +1 -0
- package/config/medium/FunctionNotation/output/14 - test 14.txt +1 -0
- package/config/medium/FunctionNotation/output/15 - test 15.txt +1 -0
- package/config/medium/FunctionNotation/output/16 - test 16.txt +1 -0
- package/config/medium/FunctionNotation/output/17 - test 17.txt +1 -0
- package/config/medium/InsideArea/code/CGCode.js +11 -0
- package/config/medium/InsideArea/code/CGCode.php +11 -0
- package/config/medium/InsideArea/config.json +38 -0
- package/config/medium/InsideArea/input/01 - /345/217/243.txt" +5 -0
- package/config/medium/InsideArea/input/02 - /345/207/271.txt" +9 -0
- package/config/medium/InsideArea/input/03 - /345/207/270.txt" +9 -0
- package/config/medium/InsideArea/input/04 - arc de triomphe.txt +33 -0
- package/config/medium/InsideArea/input/05 - really large.txt +15 -0
- package/config/medium/InsideArea/input/06 - really really large.txt +603 -0
- package/config/medium/InsideArea/output/01 - /345/217/243.txt" +1 -0
- package/config/medium/InsideArea/output/02 - /345/207/271.txt" +1 -0
- package/config/medium/InsideArea/output/03 - /345/207/270.txt" +1 -0
- package/config/medium/InsideArea/output/04 - arc de triomphe.txt +1 -0
- package/config/medium/InsideArea/output/05 - really large.txt +1 -0
- package/config/medium/InsideArea/output/06 - really really large.txt +1 -0
- package/config/medium/MayanCalculation/code/CGCode.cpp +36 -0
- package/config/medium/MayanCalculation/code/CGCode.java +29 -0
- package/config/medium/MayanCalculation/code/CGCode.ts +20 -0
- package/config/medium/NetworkCabling/code/CGCode.cpp +22 -0
- package/config/medium/NetworkCabling/code/CGCode.java +20 -0
- package/config/medium/NetworkCabling/code/CGCode.ts +11 -0
- package/config/medium/Scrabble/code/CGCode.cpp +23 -0
- package/config/medium/Scrabble/code/CGCode.java +23 -0
- package/config/medium/Scrabble/code/CGCode.ts +10 -0
- package/config/medium/ShapeOutline/code/CGCode.js +11 -0
- package/config/medium/ShapeOutline/code/CGCode.php +13 -0
- package/config/medium/ShapeOutline/config.json +48 -0
- package/config/medium/ShapeOutline/input/01 - Triangle.txt +5 -0
- package/config/medium/ShapeOutline/input/02 - X.txt +8 -0
- package/config/medium/ShapeOutline/input/03 - Play.txt +8 -0
- package/config/medium/ShapeOutline/input/04 - Plus.txt +8 -0
- package/config/medium/ShapeOutline/input/05 - Heart.txt +14 -0
- package/config/medium/ShapeOutline/input/06 - Codin Game.txt +9 -0
- package/config/medium/ShapeOutline/input/07 - Maze.txt +22 -0
- package/config/medium/ShapeOutline/input/08 - Dark Night.txt +14 -0
- package/config/medium/ShapeOutline/output/01 - Triangle.txt +6 -0
- package/config/medium/ShapeOutline/output/02 - X.txt +28 -0
- package/config/medium/ShapeOutline/output/03 - Play.txt +12 -0
- package/config/medium/ShapeOutline/output/04 - Plus.txt +12 -0
- package/config/medium/ShapeOutline/output/05 - Heart.txt +44 -0
- package/config/medium/ShapeOutline/output/06 - Codin Game.txt +62 -0
- package/config/medium/ShapeOutline/output/07 - Maze.txt +136 -0
- package/config/medium/ShapeOutline/output/08 - Dark Night.txt +52 -0
- package/config/medium/StockExchangeLosses/code/CGCode.cpp +21 -0
- package/config/medium/StockExchangeLosses/code/CGCode.java +19 -0
- package/config/medium/StockExchangeLosses/code/CGCode.ts +10 -0
- package/config/medium/TelephoneNumbers/code/CGCode.cpp +23 -0
- package/config/medium/TelephoneNumbers/code/CGCode.java +21 -0
- package/config/medium/TelephoneNumbers/code/CGCode.ts +11 -0
- package/config/medium/TheGift/code/CGCode.cpp +23 -0
- package/config/medium/TheGift/code/CGCode.java +20 -0
- package/config/medium/TheGift/code/CGCode.ts +10 -0
- package/config/medium/War/code/CGCode.cpp +27 -0
- package/config/medium/War/code/CGCode.java +23 -0
- package/config/medium/War/code/CGCode.ts +13 -0
- package/config/medium/YeAnthrWrdSerch/code/CGCode.js +12 -0
- package/config/medium/YeAnthrWrdSerch/code/CGCode.php +12 -0
- package/config/medium/YeAnthrWrdSerch/config.json +63 -0
- package/config/medium/YeAnthrWrdSerch/input/01 - Horizontal Vertical Forward.txt +12 -0
- package/config/medium/YeAnthrWrdSerch/input/02 - Horizontal Vertical Backward.txt +12 -0
- package/config/medium/YeAnthrWrdSerch/input/03 - Diagonal Forward.txt +12 -0
- package/config/medium/YeAnthrWrdSerch/input/04 - Diagonal Backward.txt +12 -0
- package/config/medium/YeAnthrWrdSerch/input/05 - All Directions.txt +12 -0
- package/config/medium/YeAnthrWrdSerch/input/06 - Flower Power.txt +21 -0
- package/config/medium/YeAnthrWrdSerch/input/07 - Overlap.txt +9 -0
- package/config/medium/YeAnthrWrdSerch/input/08 - Dog Pound.txt +18 -0
- package/config/medium/YeAnthrWrdSerch/input/09 - Many Short Words.txt +18 -0
- package/config/medium/YeAnthrWrdSerch/input/10 - Tightly Packed.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/input/11 - Knuth/342/200/231s Mathematicians.txt" +14 -0
- package/config/medium/YeAnthrWrdSerch/output/01 - Horizontal Vertical Forward.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/output/02 - Horizontal Vertical Backward.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/output/03 - Diagonal Forward.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/output/04 - Diagonal Backward.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/output/05 - All Directions.txt +10 -0
- package/config/medium/YeAnthrWrdSerch/output/06 - Flower Power.txt +19 -0
- package/config/medium/YeAnthrWrdSerch/output/07 - Overlap.txt +7 -0
- package/config/medium/YeAnthrWrdSerch/output/08 - Dog Pound.txt +16 -0
- package/config/medium/YeAnthrWrdSerch/output/09 - Many Short Words.txt +16 -0
- package/config/medium/YeAnthrWrdSerch/output/10 - Tightly Packed.txt +8 -0
- package/config/medium/YeAnthrWrdSerch/output/11 - Knuth/342/200/231s Mathematicians.txt" +12 -0
- package/package.json +1 -1
@@ -0,0 +1,13 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%f", $lim);
|
3
|
+
fscanf(STDIN, "%d", $n);
|
4
|
+
$inputs = explode(" ", fgets(STDIN));
|
5
|
+
for ($i = 0; $i < $n; $i++)
|
6
|
+
{
|
7
|
+
$w = intval($inputs[$i]);
|
8
|
+
}
|
9
|
+
|
10
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
11
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
12
|
+
|
13
|
+
echo("ans\n");
|
@@ -0,0 +1,83 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/BalancedLevers",
|
3
|
+
"name": "Balanced Levers",
|
4
|
+
"alphanumName": "BalancedLevers",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/balanced-levers",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "3w #1",
|
9
|
+
"alphanumName": "3w1",
|
10
|
+
"file": "01 - 3w #1.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "3w #2",
|
14
|
+
"alphanumName": "3w2",
|
15
|
+
"file": "02 - 3w #2.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "3w #3",
|
19
|
+
"alphanumName": "3w3",
|
20
|
+
"file": "03 - 3w #3.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "4w #1",
|
24
|
+
"alphanumName": "4w1",
|
25
|
+
"file": "04 - 4w #1.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "4w #2",
|
29
|
+
"alphanumName": "4w2",
|
30
|
+
"file": "05 - 4w #2.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "4w #3",
|
34
|
+
"alphanumName": "4w3",
|
35
|
+
"file": "06 - 4w #3.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "5w #1",
|
39
|
+
"alphanumName": "5w1",
|
40
|
+
"file": "07 - 5w #1.txt"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "5w #2",
|
44
|
+
"alphanumName": "5w2",
|
45
|
+
"file": "08 - 5w #2.txt"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "5w #3",
|
49
|
+
"alphanumName": "5w3",
|
50
|
+
"file": "09 - 5w #3.txt"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "6w #1",
|
54
|
+
"alphanumName": "6w1",
|
55
|
+
"file": "10 - 6w #1.txt"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "6w #2",
|
59
|
+
"alphanumName": "6w2",
|
60
|
+
"file": "11 - 6w #2.txt"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"name": "6w #3",
|
64
|
+
"alphanumName": "6w3",
|
65
|
+
"file": "12 - 6w #3.txt"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"name": "Single",
|
69
|
+
"alphanumName": "Single",
|
70
|
+
"file": "13 - Single.txt"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"name": "Tiny room",
|
74
|
+
"alphanumName": "TinyRoom",
|
75
|
+
"file": "14 - Tiny room.txt"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"name": "Twins",
|
79
|
+
"alphanumName": "Twins",
|
80
|
+
"file": "15 - Twins.txt"
|
81
|
+
}
|
82
|
+
]
|
83
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
1.8000
|
@@ -0,0 +1 @@
|
|
1
|
+
1.5112
|
@@ -0,0 +1 @@
|
|
1
|
+
1.3804
|
@@ -0,0 +1 @@
|
|
1
|
+
1.4969
|
@@ -0,0 +1 @@
|
|
1
|
+
1.9332
|
@@ -0,0 +1 @@
|
|
1
|
+
2.4039
|
@@ -0,0 +1 @@
|
|
1
|
+
2.5363
|
@@ -0,0 +1 @@
|
|
1
|
+
2.1196
|
@@ -0,0 +1 @@
|
|
1
|
+
1.6476
|
@@ -0,0 +1 @@
|
|
1
|
+
2.5049
|
@@ -0,0 +1 @@
|
|
1
|
+
2.8199
|
@@ -0,0 +1 @@
|
|
1
|
+
2.5997
|
@@ -0,0 +1 @@
|
|
1
|
+
0.0000
|
@@ -0,0 +1 @@
|
|
1
|
+
-1
|
@@ -0,0 +1 @@
|
|
1
|
+
1.0000
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $N);
|
3
|
+
for ($i = 0; $i < $N; $i++)
|
4
|
+
{
|
5
|
+
$dataPoint = stream_get_line(STDIN, 1024 + 1, "\n");
|
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,28 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/BasicDecisionTree1",
|
3
|
+
"name": "Basic Decision Tree - 1",
|
4
|
+
"alphanumName": "BasicDecisionTree1",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/basic-decision-tree---1",
|
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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
1
|
@@ -0,0 +1 @@
|
|
1
|
+
1
|
@@ -0,0 +1 @@
|
|
1
|
+
4
|
@@ -0,0 +1 @@
|
|
1
|
+
3
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const PN = parseInt(readline());
|
2
|
+
const FN = parseInt(readline());
|
3
|
+
const FM = parseInt(readline());
|
4
|
+
for (let i = 0; i < PN; i++) {
|
5
|
+
const ROW = readline();
|
6
|
+
}
|
7
|
+
|
8
|
+
// Write an answer using console.log()
|
9
|
+
// To debug: console.error('Debug messages...');
|
10
|
+
|
11
|
+
console.log('answer');
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $PN);
|
3
|
+
fscanf(STDIN, "%d", $FN);
|
4
|
+
fscanf(STDIN, "%d", $FM);
|
5
|
+
for ($i = 0; $i < $PN; $i++)
|
6
|
+
{
|
7
|
+
$ROW = stream_get_line(STDIN, 256 + 1, "\n");
|
8
|
+
}
|
9
|
+
|
10
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
11
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
12
|
+
|
13
|
+
echo("answer\n");
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/BasicDecisionTree2",
|
3
|
+
"name": "Basic Decision Tree - 2",
|
4
|
+
"alphanumName": "BasicDecisionTree2",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/basic-decision-tree---2",
|
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 @@
|
|
1
|
+
2
|
@@ -0,0 +1 @@
|
|
1
|
+
1 3
|
@@ -0,0 +1 @@
|
|
1
|
+
1 3
|
@@ -0,0 +1 @@
|
|
1
|
+
1 2 4
|
@@ -0,0 +1 @@
|
|
1
|
+
1 2 3
|
@@ -0,0 +1,21 @@
|
|
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 room;
|
14
|
+
getline(cin, room);
|
15
|
+
}
|
16
|
+
|
17
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
18
|
+
// To debug: cerr << "Debug messages..." << endl;
|
19
|
+
|
20
|
+
cout << "answer" << endl;
|
21
|
+
}
|
@@ -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 N = in.nextInt();
|
10
|
+
if (in.hasNextLine()) {
|
11
|
+
in.nextLine();
|
12
|
+
}
|
13
|
+
for (int i = 0; i < N; i++) {
|
14
|
+
String room = in.nextLine();
|
15
|
+
}
|
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,22 @@
|
|
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
|
+
int num;
|
14
|
+
int t;
|
15
|
+
cin >> num >> t; cin.ignore();
|
16
|
+
}
|
17
|
+
|
18
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
19
|
+
// To debug: cerr << "Debug messages..." << endl;
|
20
|
+
|
21
|
+
cout << "answer" << endl;
|
22
|
+
}
|
@@ -0,0 +1,20 @@
|
|
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
|
+
for (int i = 0; i < N; i++) {
|
11
|
+
int num = in.nextInt();
|
12
|
+
int t = in.nextInt();
|
13
|
+
}
|
14
|
+
|
15
|
+
// Write an answer using System.out.println()
|
16
|
+
// To debug: System.err.println("Debug messages...");
|
17
|
+
|
18
|
+
System.out.println("answer");
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const N: number = parseInt(readline());
|
2
|
+
for (let i = 0; i < N; i++) {
|
3
|
+
var inputs: string[] = readline().split(' ');
|
4
|
+
const num: number = parseInt(inputs[0]);
|
5
|
+
const t: number = parseInt(inputs[1]);
|
6
|
+
}
|
7
|
+
|
8
|
+
// Write an answer using console.log()
|
9
|
+
// To debug: console.error('Debug messages...');
|
10
|
+
|
11
|
+
console.log('answer');
|
@@ -0,0 +1,21 @@
|
|
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 cgxline;
|
14
|
+
getline(cin, cgxline);
|
15
|
+
}
|
16
|
+
|
17
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
18
|
+
// To debug: cerr << "Debug messages..." << endl;
|
19
|
+
|
20
|
+
cout << "answer" << endl;
|
21
|
+
}
|
@@ -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 N = in.nextInt();
|
10
|
+
if (in.hasNextLine()) {
|
11
|
+
in.nextLine();
|
12
|
+
}
|
13
|
+
for (int i = 0; i < N; i++) {
|
14
|
+
String cgxLine = in.nextLine();
|
15
|
+
}
|
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,11 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $n);
|
3
|
+
for ($i = 0; $i < $n; $i++)
|
4
|
+
{
|
5
|
+
$line = stream_get_line(STDIN, 1024 + 1, "\n");
|
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");
|