@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,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 X = in.nextInt();
|
12
|
+
int Y = 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 X: number = parseInt(inputs[0]);
|
5
|
+
const Y: 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,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 n;
|
11
|
+
cin >> n; cin.ignore();
|
12
|
+
for (int i = 0; i < n; i++) {
|
13
|
+
string w;
|
14
|
+
getline(cin, w);
|
15
|
+
}
|
16
|
+
string letters;
|
17
|
+
getline(cin, letters);
|
18
|
+
|
19
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
20
|
+
// To debug: cerr << "Debug messages..." << endl;
|
21
|
+
|
22
|
+
cout << "invalid word" << endl;
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
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 W = in.nextLine();
|
15
|
+
}
|
16
|
+
String LETTERS = in.nextLine();
|
17
|
+
|
18
|
+
// Write an answer using System.out.println()
|
19
|
+
// To debug: System.err.println("Debug messages...");
|
20
|
+
|
21
|
+
System.out.println("invalid word");
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
const N: number = parseInt(readline());
|
2
|
+
for (let i = 0; i < N; i++) {
|
3
|
+
const W: string = readline();
|
4
|
+
}
|
5
|
+
const LETTERS: string = readline();
|
6
|
+
|
7
|
+
// Write an answer using console.log()
|
8
|
+
// To debug: console.error('Debug messages...');
|
9
|
+
|
10
|
+
console.log('invalid word');
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const H = parseInt(readline());
|
2
|
+
const W = parseInt(readline());
|
3
|
+
const S = parseInt(readline());
|
4
|
+
for (let i = 0; i < H; i++) {
|
5
|
+
const line = readline();
|
6
|
+
}
|
7
|
+
|
8
|
+
// Write an answer using console.log()
|
9
|
+
// To debug: console.error('Debug messages...');
|
10
|
+
|
11
|
+
console.log('Shape vertex X Y');
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $H);
|
3
|
+
fscanf(STDIN, "%d", $W);
|
4
|
+
fscanf(STDIN, "%d", $S);
|
5
|
+
for ($i = 0; $i < $H; $i++)
|
6
|
+
{
|
7
|
+
$line = stream_get_line(STDIN, $W + 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("Shape vertex X Y\n");
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/ShapeOutline",
|
3
|
+
"name": "Shape Outline",
|
4
|
+
"alphanumName": "ShapeOutline",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/shape-outline",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Triangle",
|
9
|
+
"alphanumName": "Triangle",
|
10
|
+
"file": "01 - Triangle.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "X",
|
14
|
+
"alphanumName": "X",
|
15
|
+
"file": "02 - X.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Play",
|
19
|
+
"alphanumName": "Play",
|
20
|
+
"file": "03 - Play.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Plus",
|
24
|
+
"alphanumName": "Plus",
|
25
|
+
"file": "04 - Plus.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Heart",
|
29
|
+
"alphanumName": "Heart",
|
30
|
+
"file": "05 - Heart.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Codin Game",
|
34
|
+
"alphanumName": "CodinGame",
|
35
|
+
"file": "06 - Codin Game.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "Maze",
|
39
|
+
"alphanumName": "Maze",
|
40
|
+
"file": "07 - Maze.txt"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "Dark Night",
|
44
|
+
"alphanumName": "DarkNight",
|
45
|
+
"file": "08 - Dark Night.txt"
|
46
|
+
}
|
47
|
+
]
|
48
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
19
|
2
|
+
18
|
3
|
+
1
|
4
|
+
########.#########
|
5
|
+
#......#.........#
|
6
|
+
#.#.####.#.#####.#
|
7
|
+
###.#....#..#..#.#
|
8
|
+
#...#.####.###.#.#
|
9
|
+
#.#.#....#...#.#.#
|
10
|
+
###.#.##.###.#.###
|
11
|
+
#...#..#.#.#.#...#
|
12
|
+
#.######.#.#.###.#
|
13
|
+
#...#......#...#.#
|
14
|
+
#.#.##.###.#.#.#.#
|
15
|
+
#.#....#.#.###.#.#
|
16
|
+
#.######.#.#.#...#
|
17
|
+
#........#.#.#.#.#
|
18
|
+
#.########...#####
|
19
|
+
#...#......#.....#
|
20
|
+
##.####.##.#####.#
|
21
|
+
#..#....#..#.....#
|
22
|
+
##################
|
@@ -0,0 +1,14 @@
|
|
1
|
+
11
|
2
|
+
25
|
3
|
+
15
|
4
|
+
#########.......#########
|
5
|
+
.########..#.#..########.
|
6
|
+
..########.###.########..
|
7
|
+
...###################...
|
8
|
+
....#################....
|
9
|
+
....#################....
|
10
|
+
....#################....
|
11
|
+
.......###########.......
|
12
|
+
.........#######.........
|
13
|
+
...........###...........
|
14
|
+
............#............
|
@@ -0,0 +1,44 @@
|
|
1
|
+
20 0
|
2
|
+
50 0
|
3
|
+
50 10
|
4
|
+
60 10
|
5
|
+
60 20
|
6
|
+
70 20
|
7
|
+
70 10
|
8
|
+
80 10
|
9
|
+
80 0
|
10
|
+
110 0
|
11
|
+
110 10
|
12
|
+
120 10
|
13
|
+
120 20
|
14
|
+
130 20
|
15
|
+
130 50
|
16
|
+
120 50
|
17
|
+
120 60
|
18
|
+
110 60
|
19
|
+
110 70
|
20
|
+
100 70
|
21
|
+
100 80
|
22
|
+
90 80
|
23
|
+
90 90
|
24
|
+
80 90
|
25
|
+
80 100
|
26
|
+
70 100
|
27
|
+
70 110
|
28
|
+
60 110
|
29
|
+
60 100
|
30
|
+
50 100
|
31
|
+
50 90
|
32
|
+
40 90
|
33
|
+
40 80
|
34
|
+
30 80
|
35
|
+
30 70
|
36
|
+
20 70
|
37
|
+
20 60
|
38
|
+
10 60
|
39
|
+
10 50
|
40
|
+
0 50
|
41
|
+
0 20
|
42
|
+
10 20
|
43
|
+
10 10
|
44
|
+
20 10
|
@@ -0,0 +1,62 @@
|
|
1
|
+
0 0
|
2
|
+
297 0
|
3
|
+
297 99
|
4
|
+
99 99
|
5
|
+
99 495
|
6
|
+
297 495
|
7
|
+
297 297
|
8
|
+
495 297
|
9
|
+
495 495
|
10
|
+
594 495
|
11
|
+
594 297
|
12
|
+
792 297
|
13
|
+
792 0
|
14
|
+
891 0
|
15
|
+
891 495
|
16
|
+
990 495
|
17
|
+
990 297
|
18
|
+
1089 297
|
19
|
+
1089 495
|
20
|
+
1188 495
|
21
|
+
1188 297
|
22
|
+
1485 297
|
23
|
+
1485 495
|
24
|
+
1584 495
|
25
|
+
1584 0
|
26
|
+
1881 0
|
27
|
+
1881 198
|
28
|
+
1782 198
|
29
|
+
1782 99
|
30
|
+
1683 99
|
31
|
+
1683 297
|
32
|
+
1881 297
|
33
|
+
1881 495
|
34
|
+
1980 495
|
35
|
+
1980 396
|
36
|
+
2079 396
|
37
|
+
2079 297
|
38
|
+
2178 297
|
39
|
+
2178 396
|
40
|
+
2277 396
|
41
|
+
2277 495
|
42
|
+
2376 495
|
43
|
+
2376 396
|
44
|
+
2475 396
|
45
|
+
2475 297
|
46
|
+
2574 297
|
47
|
+
2574 396
|
48
|
+
2673 396
|
49
|
+
2673 297
|
50
|
+
2772 297
|
51
|
+
2772 495
|
52
|
+
2871 495
|
53
|
+
2871 297
|
54
|
+
3069 297
|
55
|
+
3069 396
|
56
|
+
3168 396
|
57
|
+
3168 594
|
58
|
+
1386 594
|
59
|
+
1386 396
|
60
|
+
1287 396
|
61
|
+
1287 594
|
62
|
+
0 594
|
@@ -0,0 +1,136 @@
|
|
1
|
+
0 0
|
2
|
+
8 0
|
3
|
+
8 3
|
4
|
+
5 3
|
5
|
+
5 8
|
6
|
+
7 8
|
7
|
+
7 7
|
8
|
+
6 7
|
9
|
+
6 6
|
10
|
+
8 6
|
11
|
+
8 9
|
12
|
+
5 9
|
13
|
+
5 10
|
14
|
+
6 10
|
15
|
+
6 11
|
16
|
+
4 11
|
17
|
+
4 9
|
18
|
+
2 9
|
19
|
+
2 8
|
20
|
+
4 8
|
21
|
+
4 2
|
22
|
+
7 2
|
23
|
+
7 1
|
24
|
+
1 1
|
25
|
+
1 3
|
26
|
+
2 3
|
27
|
+
2 2
|
28
|
+
3 2
|
29
|
+
3 4
|
30
|
+
1 4
|
31
|
+
1 6
|
32
|
+
2 6
|
33
|
+
2 5
|
34
|
+
3 5
|
35
|
+
3 7
|
36
|
+
1 7
|
37
|
+
1 16
|
38
|
+
2 16
|
39
|
+
2 17
|
40
|
+
1 17
|
41
|
+
1 18
|
42
|
+
3 18
|
43
|
+
3 16
|
44
|
+
4 16
|
45
|
+
4 15
|
46
|
+
2 15
|
47
|
+
2 14
|
48
|
+
9 14
|
49
|
+
9 11
|
50
|
+
8 11
|
51
|
+
8 13
|
52
|
+
2 13
|
53
|
+
2 10
|
54
|
+
3 10
|
55
|
+
3 12
|
56
|
+
7 12
|
57
|
+
7 10
|
58
|
+
10 10
|
59
|
+
10 15
|
60
|
+
5 15
|
61
|
+
5 16
|
62
|
+
7 16
|
63
|
+
7 17
|
64
|
+
4 17
|
65
|
+
4 18
|
66
|
+
8 18
|
67
|
+
8 16
|
68
|
+
10 16
|
69
|
+
10 17
|
70
|
+
9 17
|
71
|
+
9 18
|
72
|
+
11 18
|
73
|
+
11 15
|
74
|
+
12 15
|
75
|
+
12 16
|
76
|
+
16 16
|
77
|
+
16 17
|
78
|
+
12 17
|
79
|
+
12 18
|
80
|
+
17 18
|
81
|
+
17 15
|
82
|
+
13 15
|
83
|
+
13 12
|
84
|
+
12 12
|
85
|
+
12 14
|
86
|
+
11 14
|
87
|
+
11 7
|
88
|
+
10 7
|
89
|
+
10 9
|
90
|
+
9 9
|
91
|
+
9 5
|
92
|
+
6 5
|
93
|
+
6 4
|
94
|
+
9 4
|
95
|
+
9 2
|
96
|
+
10 2
|
97
|
+
10 6
|
98
|
+
12 6
|
99
|
+
12 11
|
100
|
+
13 11
|
101
|
+
13 10
|
102
|
+
14 10
|
103
|
+
14 14
|
104
|
+
15 14
|
105
|
+
15 13
|
106
|
+
16 13
|
107
|
+
16 14
|
108
|
+
17 14
|
109
|
+
17 7
|
110
|
+
15 7
|
111
|
+
15 3
|
112
|
+
13 3
|
113
|
+
13 4
|
114
|
+
14 4
|
115
|
+
14 8
|
116
|
+
16 8
|
117
|
+
16 12
|
118
|
+
15 12
|
119
|
+
15 9
|
120
|
+
13 9
|
121
|
+
13 5
|
122
|
+
11 5
|
123
|
+
11 4
|
124
|
+
12 4
|
125
|
+
12 3
|
126
|
+
11 3
|
127
|
+
11 2
|
128
|
+
16 2
|
129
|
+
16 6
|
130
|
+
17 6
|
131
|
+
17 1
|
132
|
+
9 1
|
133
|
+
9 0
|
134
|
+
18 0
|
135
|
+
18 19
|
136
|
+
0 19
|
@@ -0,0 +1,52 @@
|
|
1
|
+
0 0
|
2
|
+
135 0
|
3
|
+
135 30
|
4
|
+
150 30
|
5
|
+
150 45
|
6
|
+
165 45
|
7
|
+
165 15
|
8
|
+
180 15
|
9
|
+
180 30
|
10
|
+
195 30
|
11
|
+
195 15
|
12
|
+
210 15
|
13
|
+
210 45
|
14
|
+
225 45
|
15
|
+
225 30
|
16
|
+
240 30
|
17
|
+
240 0
|
18
|
+
375 0
|
19
|
+
375 15
|
20
|
+
360 15
|
21
|
+
360 30
|
22
|
+
345 30
|
23
|
+
345 45
|
24
|
+
330 45
|
25
|
+
330 60
|
26
|
+
315 60
|
27
|
+
315 105
|
28
|
+
270 105
|
29
|
+
270 120
|
30
|
+
240 120
|
31
|
+
240 135
|
32
|
+
210 135
|
33
|
+
210 150
|
34
|
+
195 150
|
35
|
+
195 165
|
36
|
+
180 165
|
37
|
+
180 150
|
38
|
+
165 150
|
39
|
+
165 135
|
40
|
+
135 135
|
41
|
+
135 120
|
42
|
+
105 120
|
43
|
+
105 105
|
44
|
+
60 105
|
45
|
+
60 60
|
46
|
+
45 60
|
47
|
+
45 45
|
48
|
+
30 45
|
49
|
+
30 30
|
50
|
+
15 30
|
51
|
+
15 15
|
52
|
+
0 15
|
@@ -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
|
+
int v;
|
14
|
+
cin >> v; cin.ignore();
|
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,19 @@
|
|
1
|
+
import java.util.*;
|
2
|
+
import java.io.*;
|
3
|
+
import java.math.*;
|
4
|
+
|
5
|
+
class Solution {
|
6
|
+
|
7
|
+
public static void main(String args[]) {
|
8
|
+
Scanner in = new Scanner(System.in);
|
9
|
+
int n = in.nextInt();
|
10
|
+
for (int i = 0; i < n; i++) {
|
11
|
+
int v = in.nextInt();
|
12
|
+
}
|
13
|
+
|
14
|
+
// Write an answer using System.out.println()
|
15
|
+
// To debug: System.err.println("Debug messages...");
|
16
|
+
|
17
|
+
System.out.println("answer");
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
const n: number = parseInt(readline());
|
2
|
+
var inputs: string[] = readline().split(' ');
|
3
|
+
for (let i = 0; i < n; i++) {
|
4
|
+
const v: number = parseInt(inputs[i]);
|
5
|
+
}
|
6
|
+
|
7
|
+
// Write an answer using console.log()
|
8
|
+
// To debug: console.error('Debug messages...');
|
9
|
+
|
10
|
+
console.log('answer');
|
@@ -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 n;
|
11
|
+
cin >> n; cin.ignore();
|
12
|
+
for (int i = 0; i < n; i++) {
|
13
|
+
string telephone;
|
14
|
+
cin >> telephone; cin.ignore();
|
15
|
+
}
|
16
|
+
|
17
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
18
|
+
// To debug: cerr << "Debug messages..." << endl;
|
19
|
+
|
20
|
+
|
21
|
+
// The number of elements (referencing a number) stored in the structure.
|
22
|
+
cout << "number" << endl;
|
23
|
+
}
|