@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,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 N = in.nextInt();
|
10
|
+
for (int i = 0; i < N; i++) {
|
11
|
+
String telephone = in.next();
|
12
|
+
}
|
13
|
+
|
14
|
+
// Write an answer using System.out.println()
|
15
|
+
// To debug: System.err.println("Debug messages...");
|
16
|
+
|
17
|
+
|
18
|
+
// The number of elements (referencing a number) stored in the structure.
|
19
|
+
System.out.println("number");
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const N: number = parseInt(readline());
|
2
|
+
for (let i = 0; i < N; i++) {
|
3
|
+
const telephone: string = readline();
|
4
|
+
}
|
5
|
+
|
6
|
+
// Write an answer using console.log()
|
7
|
+
// To debug: console.error('Debug messages...');
|
8
|
+
|
9
|
+
|
10
|
+
// The number of elements (referencing a number) stored in the structure.
|
11
|
+
console.log('number');
|
@@ -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
|
+
int c;
|
13
|
+
cin >> c; cin.ignore();
|
14
|
+
for (int i = 0; i < n; i++) {
|
15
|
+
int b;
|
16
|
+
cin >> b; 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 << "IMPOSSIBLE" << endl;
|
23
|
+
}
|
@@ -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
|
+
int C = in.nextInt();
|
11
|
+
for (int i = 0; i < N; i++) {
|
12
|
+
int B = 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("IMPOSSIBLE");
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
const N: number = parseInt(readline());
|
2
|
+
const C: number = parseInt(readline());
|
3
|
+
for (let i = 0; i < N; i++) {
|
4
|
+
const B: number = parseInt(readline());
|
5
|
+
}
|
6
|
+
|
7
|
+
// Write an answer using console.log()
|
8
|
+
// To debug: console.error('Debug messages...');
|
9
|
+
|
10
|
+
console.log('IMPOSSIBLE');
|
@@ -0,0 +1,27 @@
|
|
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; // the number of cards for player 1
|
11
|
+
cin >> n; cin.ignore();
|
12
|
+
for (int i = 0; i < n; i++) {
|
13
|
+
string cardp_1; // the n cards of player 1
|
14
|
+
cin >> cardp_1; cin.ignore();
|
15
|
+
}
|
16
|
+
int m; // the number of cards for player 2
|
17
|
+
cin >> m; cin.ignore();
|
18
|
+
for (int i = 0; i < m; i++) {
|
19
|
+
string cardp_2; // the m cards of player 2
|
20
|
+
cin >> cardp_2; cin.ignore();
|
21
|
+
}
|
22
|
+
|
23
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
24
|
+
// To debug: cerr << "Debug messages..." << endl;
|
25
|
+
|
26
|
+
cout << "PAT" << endl;
|
27
|
+
}
|
@@ -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(); // the number of cards for player 1
|
10
|
+
for (int i = 0; i < n; i++) {
|
11
|
+
String cardp1 = in.next(); // the n cards of player 1
|
12
|
+
}
|
13
|
+
int m = in.nextInt(); // the number of cards for player 2
|
14
|
+
for (int i = 0; i < m; i++) {
|
15
|
+
String cardp2 = in.next(); // the m cards of player 2
|
16
|
+
}
|
17
|
+
|
18
|
+
// Write an answer using System.out.println()
|
19
|
+
// To debug: System.err.println("Debug messages...");
|
20
|
+
|
21
|
+
System.out.println("PAT");
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
const n: number = parseInt(readline()); // the number of cards for player 1
|
2
|
+
for (let i = 0; i < n; i++) {
|
3
|
+
const cardp1: string = readline(); // the n cards of player 1
|
4
|
+
}
|
5
|
+
const m: number = parseInt(readline()); // the number of cards for player 2
|
6
|
+
for (let i = 0; i < m; i++) {
|
7
|
+
const cardp2: string = readline(); // the m cards of player 2
|
8
|
+
}
|
9
|
+
|
10
|
+
// Write an answer using console.log()
|
11
|
+
// To debug: console.error('Debug messages...');
|
12
|
+
|
13
|
+
console.log('PAT');
|
@@ -0,0 +1,12 @@
|
|
1
|
+
var inputs = readline().split(' ');
|
2
|
+
const height = parseInt(inputs[0]);
|
3
|
+
const width = parseInt(inputs[1]);
|
4
|
+
for (let i = 0; i < height; i++) {
|
5
|
+
const row = readline();
|
6
|
+
}
|
7
|
+
const words = readline();
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('grid with unused letters hidden');
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d %d", $height, $width);
|
3
|
+
for ($i = 0; $i < $height; $i++)
|
4
|
+
{
|
5
|
+
$row = stream_get_line(STDIN, 100 + 1, "\n");
|
6
|
+
}
|
7
|
+
$words = stream_get_line(STDIN, 250 + 1, "\n");
|
8
|
+
|
9
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
10
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
11
|
+
|
12
|
+
echo("grid with unused letters hidden\n");
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/YeAnthrWrdSerch",
|
3
|
+
"name": "Ye_ An_th_r W_rd Se_rch",
|
4
|
+
"alphanumName": "YeAnthrWrdSerch",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/ye_-an_th_r-w_rd-se_rch",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Horizontal / Vertical / Forward",
|
9
|
+
"alphanumName": "HorizontalVerticalForward",
|
10
|
+
"file": "01 - Horizontal Vertical Forward.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Horizontal / Vertical / Backward",
|
14
|
+
"alphanumName": "HorizontalVerticalBackward",
|
15
|
+
"file": "02 - Horizontal Vertical Backward.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Diagonal / Forward",
|
19
|
+
"alphanumName": "DiagonalForward",
|
20
|
+
"file": "03 - Diagonal Forward.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Diagonal / Backward",
|
24
|
+
"alphanumName": "DiagonalBackward",
|
25
|
+
"file": "04 - Diagonal Backward.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "All Directions",
|
29
|
+
"alphanumName": "AllDirections",
|
30
|
+
"file": "05 - All Directions.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Flower Power",
|
34
|
+
"alphanumName": "FlowerPower",
|
35
|
+
"file": "06 - Flower Power.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "Overlap",
|
39
|
+
"alphanumName": "Overlap",
|
40
|
+
"file": "07 - Overlap.txt"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "Dog Pound",
|
44
|
+
"alphanumName": "DogPound",
|
45
|
+
"file": "08 - Dog Pound.txt"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "Many Short Words",
|
49
|
+
"alphanumName": "ManyShortWords",
|
50
|
+
"file": "09 - Many Short Words.txt"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "Tightly Packed",
|
54
|
+
"alphanumName": "TightlyPacked",
|
55
|
+
"file": "10 - Tightly Packed.txt"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "Knuth’s Mathematicians",
|
59
|
+
"alphanumName": "KnuthsMathematicians",
|
60
|
+
"file": "11 - Knuth’s Mathematicians.txt"
|
61
|
+
}
|
62
|
+
]
|
63
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
19 15
|
2
|
+
..V..J....S....
|
3
|
+
.B.ZCY.I...F...
|
4
|
+
...Y..F.....HS.
|
5
|
+
..Y.Y.....MRC..
|
6
|
+
K.O..P..IRF...S
|
7
|
+
...C.BQ.....DRL
|
8
|
+
.IZG....M.IX..E
|
9
|
+
..S...G..XW....
|
10
|
+
.A.N......K....
|
11
|
+
...ID..........
|
12
|
+
KS.U.....Z..S..
|
13
|
+
....F.G..LP.YZU
|
14
|
+
..W.....XV..VS.
|
15
|
+
XI...YX.....G..
|
16
|
+
..GJ.P...E.V.XI
|
17
|
+
E...RB..S..P...
|
18
|
+
.WVY..U...Y...I
|
19
|
+
.E...F..O...M..
|
20
|
+
..Q..U...J..I..
|
21
|
+
MACAU MALAYSIA MALDIVES MALTA MEXICO MICRONESIA MONACO MONTENEGRO
|
@@ -0,0 +1,9 @@
|
|
1
|
+
7 48
|
2
|
+
...D...CHZ...AY.TK....CU...ZG...B.J...Z..PU.....
|
3
|
+
J.V....IP..N....H..IX.O..H.K.B.Z.P.C.P.S....PAF.
|
4
|
+
...........I.AL....T..N...R.................J...
|
5
|
+
...C...S..B....H..J...Q.....A.M.C.Q.O.MK....E..O
|
6
|
+
TH.....A.K...J.AOC..N.....M.C..D..D.Z...QU.....A
|
7
|
+
E......C.O..W...F..K.G..C...D...B.C.F.XCW....C..
|
8
|
+
...P.K...M...BXL..H..L..W......Q...L..B....Z....
|
9
|
+
ADORATION CALCULATOR JIUJUTSU MUNICIPAL NUMERICAL RATIONALIZE TORNADO TRIUMPH ZEALOUS
|
@@ -0,0 +1,18 @@
|
|
1
|
+
16 19
|
2
|
+
O.X...OXPCL..NR..R.
|
3
|
+
.PM..AV.MOF..UA..HD
|
4
|
+
...Q.ZM.Q..Q.IHW.A.
|
5
|
+
T...LP.R.V..W.X....
|
6
|
+
E.HYNWK..N.L.A..CIN
|
7
|
+
.XH....T.....EO.JIZ
|
8
|
+
...PNE.XJO......X.E
|
9
|
+
KY..A......D.FG....
|
10
|
+
.F..I.....HD...FA.Z
|
11
|
+
.EL.Z.....VBWED..P.
|
12
|
+
..JW.....I..J..UCW.
|
13
|
+
NW..B.H......S.HF.K
|
14
|
+
LLK..D.C.W...SAUEXL
|
15
|
+
M..LA..R.IX.A.F....
|
16
|
+
.PVW..Q..CE..C.BF.H
|
17
|
+
.G.EE.LR..YSUI...A.
|
18
|
+
BEAGLE BOXER CORGI DACHSHUND DOBERMAN HAVANESE MALTESE POODLE SAMOYED SHEPHERD SPANIEL
|
@@ -0,0 +1,18 @@
|
|
1
|
+
16 19
|
2
|
+
XP.H.OHW.JXLSNQF.E.
|
3
|
+
CF.NKW.X..CC..E.A.U
|
4
|
+
BQ..RPY.W.C.OKLJXLJ
|
5
|
+
LSETTVO.YR.NANQ.OPL
|
6
|
+
.I.RL.SSB...AXYE..V
|
7
|
+
M.A..EXD.XRPADOI.AC
|
8
|
+
WHWU.W..ABOUTAAAGAJ
|
9
|
+
.G.IFI.FEYJQDRXGNKR
|
10
|
+
..ZJONH.R..HBJ.CO..
|
11
|
+
E.C.Q.U.CAGD..ELL.P
|
12
|
+
AH.ACEKR..S.A.ALA..
|
13
|
+
...XUKO.AXIABEORWYQ
|
14
|
+
OXRDESOI.QF.X.R.D.L
|
15
|
+
..NM..EONOQQE..BREJ
|
16
|
+
.OP.ENTDMQLS.WYU.NE
|
17
|
+
.KGCCSXBZQG.KEVW.E.
|
18
|
+
ABOUT AGAIN ALERT ALONG ANGLE ANGRY APPLE AUDIO AWARE BEARD BRAIN BREAD BREAK CARRY CAUSE CHAIN CHART CLEAN CREAM CRIME CROSS CROWD FALL FONDU VIEW
|
@@ -0,0 +1,14 @@
|
|
1
|
+
12 12
|
2
|
+
.P....KW...Q
|
3
|
+
.I..Q...BR..
|
4
|
+
PE....RU.GE.
|
5
|
+
Y.......Z...
|
6
|
+
..JU.....RF.
|
7
|
+
.E...X...UA.
|
8
|
+
R.....O.I...
|
9
|
+
FTR..S..N...
|
10
|
+
H..Z....E...
|
11
|
+
.....F..G...
|
12
|
+
..A....C.YCS
|
13
|
+
.D.L....Q..P
|
14
|
+
BERTRAND CATALAN FROBENIUS GLAISHER HENSEL HURWITZ JENSEN LANDAU PERRON RUNGE
|