@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 @@
|
|
1
|
+
4
|
@@ -0,0 +1 @@
|
|
1
|
+
3993973953933913893873853833813793773753733713693673653633613593573553533513493473453433413393373353333313293273253233213193173153133113093073053033012992972952932912892872852832812792772752732712692672652632612592572552532512492472452432412392372352332312292272252232212192172152132112092072052032011991971951931911891871851831811791771751731711691671651631611591571551531511491471451431411391371351331311291271251231211191171151131111091071051031019997959391898785838179777573716967656361595755535149474543413937353331292725232119171513119753b
|
@@ -0,0 +1 @@
|
|
1
|
+
148865
|
@@ -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 l;
|
11
|
+
int c;
|
12
|
+
int n;
|
13
|
+
cin >> l >> c >> n; cin.ignore();
|
14
|
+
for (int i = 0; i < n; i++) {
|
15
|
+
int pi;
|
16
|
+
cin >> pi; 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 L = in.nextInt();
|
10
|
+
int C = in.nextInt();
|
11
|
+
int N = in.nextInt();
|
12
|
+
for (int i = 0; i < N; i++) {
|
13
|
+
int pi = 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,12 @@
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
2
|
+
const L: number = parseInt(inputs[0]);
|
3
|
+
const C: number = parseInt(inputs[1]);
|
4
|
+
const N: number = parseInt(inputs[2]);
|
5
|
+
for (let i = 0; i < N; i++) {
|
6
|
+
const pi: number = parseInt(readline());
|
7
|
+
}
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('answer');
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $N);
|
3
|
+
$C = stream_get_line(STDIN, 1 + 1, "\n");
|
4
|
+
fscanf(STDIN, "%d", $S);
|
5
|
+
|
6
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
7
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
8
|
+
|
9
|
+
echo("answer\n");
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/SevenSegmentDisplay",
|
3
|
+
"name": "7-segment display",
|
4
|
+
"alphanumName": "SevenSegmentDisplay",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/7-segment-display",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "8",
|
9
|
+
"alphanumName": "Eight",
|
10
|
+
"file": "01 - 8.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "256",
|
14
|
+
"alphanumName": "Two56",
|
15
|
+
"file": "02 - 256.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "333",
|
19
|
+
"alphanumName": "Three33",
|
20
|
+
"file": "03 - 333.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "14790",
|
24
|
+
"alphanumName": "One4790",
|
25
|
+
"file": "04 - 14790.txt"
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/SimpleSafecracking",
|
3
|
+
"name": "Simple safecracking",
|
4
|
+
"alphanumName": "SimpleSafecracking",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/simple-safecracking",
|
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
|
+
Aol zhml jvtipuhapvu pz: zpe-mvby-zpe-mvby-aoyll
|
@@ -0,0 +1 @@
|
|
1
|
+
Wkh vdih frpelqdwlrq lv: wkuhh-ilyh-rqh-vla-wzr
|
@@ -0,0 +1 @@
|
|
1
|
+
Dro ckpo mywlsxkdsyx sc: pyeb-xsxo-yxo-osqrd-dgy-joby-dgy-yxo-csh-drboo
|
@@ -0,0 +1 @@
|
|
1
|
+
Ymj xfkj htrgnsfynts nx: ktzw-ejwt-ejwt-ktzw-ktzw-ejwt-jnlmy-xjajs-xjajs
|
@@ -0,0 +1 @@
|
|
1
|
+
64643
|
@@ -0,0 +1 @@
|
|
1
|
+
35162
|
@@ -0,0 +1 @@
|
|
1
|
+
4918202163
|
@@ -0,0 +1 @@
|
|
1
|
+
400440877
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/Staircases",
|
3
|
+
"name": "Staircases",
|
4
|
+
"alphanumName": "Staircases",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/staircases",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Exemple",
|
9
|
+
"alphanumName": "Exemple",
|
10
|
+
"file": "01 - Exemple.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "10",
|
14
|
+
"alphanumName": "ten",
|
15
|
+
"file": "02 - 10.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "25",
|
19
|
+
"alphanumName": "twentyFive",
|
20
|
+
"file": "03 - 25.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "500",
|
24
|
+
"alphanumName": "fiveHundred",
|
25
|
+
"file": "04 - 500.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "4",
|
29
|
+
"alphanumName": "four",
|
30
|
+
"file": "05 - 4.txt"
|
31
|
+
}
|
32
|
+
]
|
33
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
5
|
@@ -0,0 +1 @@
|
|
1
|
+
10
|
@@ -0,0 +1 @@
|
|
1
|
+
25
|
@@ -0,0 +1 @@
|
|
1
|
+
500
|
@@ -0,0 +1 @@
|
|
1
|
+
4
|
@@ -0,0 +1 @@
|
|
1
|
+
2
|
@@ -0,0 +1 @@
|
|
1
|
+
9
|
@@ -0,0 +1 @@
|
|
1
|
+
141
|
@@ -0,0 +1 @@
|
|
1
|
+
732986521245023
|
@@ -0,0 +1 @@
|
|
1
|
+
1
|
@@ -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 j;
|
14
|
+
int d;
|
15
|
+
cin >> j >> d; 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 J = in.nextInt();
|
12
|
+
int D = 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 J: number = parseInt(inputs[0]);
|
5
|
+
const D: 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,32 @@
|
|
1
|
+
#include <iostream>
|
2
|
+
#include <string>
|
3
|
+
#include <vector>
|
4
|
+
#include <algorithm>
|
5
|
+
|
6
|
+
using namespace std;
|
7
|
+
|
8
|
+
int main()
|
9
|
+
{
|
10
|
+
int l;
|
11
|
+
cin >> l; cin.ignore();
|
12
|
+
int h;
|
13
|
+
cin >> h; cin.ignore();
|
14
|
+
for (int i = 0; i < h; i++) {
|
15
|
+
string row;
|
16
|
+
getline(cin, row);
|
17
|
+
}
|
18
|
+
int n;
|
19
|
+
cin >> n; cin.ignore();
|
20
|
+
for (int i = 0; i < n; i++) {
|
21
|
+
int x;
|
22
|
+
int y;
|
23
|
+
cin >> x >> y; cin.ignore();
|
24
|
+
}
|
25
|
+
for (int i = 0; i < n; i++) {
|
26
|
+
|
27
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
28
|
+
// To debug: cerr << "Debug messages..." << endl;
|
29
|
+
|
30
|
+
cout << "answer" << endl;
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,30 @@
|
|
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 L = in.nextInt();
|
10
|
+
int H = in.nextInt();
|
11
|
+
if (in.hasNextLine()) {
|
12
|
+
in.nextLine();
|
13
|
+
}
|
14
|
+
for (int i = 0; i < H; i++) {
|
15
|
+
String row = in.nextLine();
|
16
|
+
}
|
17
|
+
int N = in.nextInt();
|
18
|
+
for (int i = 0; i < N; i++) {
|
19
|
+
int X = in.nextInt();
|
20
|
+
int Y = in.nextInt();
|
21
|
+
}
|
22
|
+
for (int i = 0; i < N; i++) {
|
23
|
+
|
24
|
+
// Write an answer using System.out.println()
|
25
|
+
// To debug: System.err.println("Debug messages...");
|
26
|
+
|
27
|
+
System.out.println("answer");
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
const L: number = parseInt(readline());
|
2
|
+
const H: number = parseInt(readline());
|
3
|
+
for (let i = 0; i < H; i++) {
|
4
|
+
const row: string = readline();
|
5
|
+
}
|
6
|
+
const N: number = parseInt(readline());
|
7
|
+
for (let i = 0; i < N; i++) {
|
8
|
+
var inputs: string[] = readline().split(' ');
|
9
|
+
const X: number = parseInt(inputs[0]);
|
10
|
+
const Y: number = parseInt(inputs[1]);
|
11
|
+
}
|
12
|
+
for (let i = 0; i < N; i++) {
|
13
|
+
|
14
|
+
// Write an answer using console.log()
|
15
|
+
// To debug: console.error('Debug messages...');
|
16
|
+
|
17
|
+
console.log('answer');
|
18
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#include <iostream>
|
2
|
+
#include <string>
|
3
|
+
#include <vector>
|
4
|
+
#include <algorithm>
|
5
|
+
|
6
|
+
using namespace std;
|
7
|
+
|
8
|
+
int main()
|
9
|
+
{
|
10
|
+
string start_point;
|
11
|
+
cin >> start_point; cin.ignore();
|
12
|
+
string end_point;
|
13
|
+
cin >> end_point; cin.ignore();
|
14
|
+
int n;
|
15
|
+
cin >> n; cin.ignore();
|
16
|
+
for (int i = 0; i < n; i++) {
|
17
|
+
string stop_name;
|
18
|
+
getline(cin, stop_name);
|
19
|
+
}
|
20
|
+
int m;
|
21
|
+
cin >> m; cin.ignore();
|
22
|
+
for (int i = 0; i < m; i++) {
|
23
|
+
string route;
|
24
|
+
getline(cin, route);
|
25
|
+
}
|
26
|
+
|
27
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
28
|
+
// To debug: cerr << "Debug messages..." << endl;
|
29
|
+
|
30
|
+
cout << "IMPOSSIBLE" << endl;
|
31
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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
|
+
String startPoint = in.next();
|
10
|
+
String endPoint = in.next();
|
11
|
+
int N = in.nextInt();
|
12
|
+
if (in.hasNextLine()) {
|
13
|
+
in.nextLine();
|
14
|
+
}
|
15
|
+
for (int i = 0; i < N; i++) {
|
16
|
+
String stopName = in.nextLine();
|
17
|
+
}
|
18
|
+
int M = in.nextInt();
|
19
|
+
if (in.hasNextLine()) {
|
20
|
+
in.nextLine();
|
21
|
+
}
|
22
|
+
for (int i = 0; i < M; i++) {
|
23
|
+
String route = in.nextLine();
|
24
|
+
}
|
25
|
+
|
26
|
+
// Write an answer using System.out.println()
|
27
|
+
// To debug: System.err.println("Debug messages...");
|
28
|
+
|
29
|
+
System.out.println("IMPOSSIBLE");
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
const startPoint: string = readline();
|
2
|
+
const endPoint: string = readline();
|
3
|
+
const N: number = parseInt(readline());
|
4
|
+
for (let i = 0; i < N; i++) {
|
5
|
+
const stopName: string = readline();
|
6
|
+
}
|
7
|
+
const M: number = parseInt(readline());
|
8
|
+
for (let i = 0; i < M; i++) {
|
9
|
+
const route: string = readline();
|
10
|
+
}
|
11
|
+
|
12
|
+
// Write an answer using console.log()
|
13
|
+
// To debug: console.error('Debug messages...');
|
14
|
+
|
15
|
+
console.log('IMPOSSIBLE');
|
@@ -0,0 +1,43 @@
|
|
1
|
+
{
|
2
|
+
"path": "hard/TheGreatestNumber",
|
3
|
+
"name": "The greatest number",
|
4
|
+
"alphanumName": "TheGreatestNumber",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/the-greatest-number",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Simple",
|
9
|
+
"alphanumName": "Simple",
|
10
|
+
"file": "01 - Simple.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Positif",
|
14
|
+
"alphanumName": "Positif",
|
15
|
+
"file": "02 - Positif.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Sans virgule",
|
19
|
+
"alphanumName": "SansVirgule",
|
20
|
+
"file": "03 - Sans virgule.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Gérer le zéro",
|
24
|
+
"alphanumName": "GererLeZero",
|
25
|
+
"file": "04 - Gérer le zéro.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Gérer le zéro une 2ème fois",
|
29
|
+
"alphanumName": "GererLeZeroUne2emeFois",
|
30
|
+
"file": "05 - Gérer le zéro une 2ème fois.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Pleins de zéros",
|
34
|
+
"alphanumName": "PleinsDeZeros",
|
35
|
+
"file": "06 - Pleins de zéros.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "Retour aux bases",
|
39
|
+
"alphanumName": "RetourAuxBases",
|
40
|
+
"file": "07 - Retour aux bases.txt"
|
41
|
+
}
|
42
|
+
]
|
43
|
+
}
|