@cyrilverloop/codingame-configuration 1.24.0 → 1.26.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 +17 -0
- package/config/easy/LaughterIsContagious/code/CGCode.cpp +17 -0
- package/config/easy/LaughterIsContagious/code/CGCode.java +16 -0
- package/config/easy/LaughterIsContagious/code/CGCode.js +6 -0
- package/config/easy/LaughterIsContagious/code/CGCode.php +7 -0
- package/config/easy/LaughterIsContagious/code/CGCode.ts +6 -0
- package/config/easy/LaughterIsContagious/config.json +68 -0
- package/config/easy/LaughterIsContagious/input/01 - Everybody laughing.txt +1 -0
- package/config/easy/LaughterIsContagious/input/02 - Too far.txt +1 -0
- package/config/easy/LaughterIsContagious/input/03 - Example.txt +1 -0
- package/config/easy/LaughterIsContagious/input/04 - Very funny.txt +1 -0
- package/config/easy/LaughterIsContagious/input/05 - Not funny.txt +1 -0
- package/config/easy/LaughterIsContagious/input/06 - Lonely.txt +1 -0
- package/config/easy/LaughterIsContagious/input/07 - Solidarity.txt +1 -0
- package/config/easy/LaughterIsContagious/input/08 - Big show.txt +1 -0
- package/config/easy/LaughterIsContagious/input/09 - Very big show.txt +1 -0
- package/config/easy/LaughterIsContagious/input/10 - One Man Show.txt +1 -0
- package/config/easy/LaughterIsContagious/input/11 - Duo.txt +1 -0
- package/config/easy/LaughterIsContagious/input/12 - Trio.txt +1 -0
- package/config/easy/LaughterIsContagious/output/01 - Everybody laughing.txt +1 -0
- package/config/easy/LaughterIsContagious/output/02 - Too far.txt +1 -0
- package/config/easy/LaughterIsContagious/output/03 - Example.txt +1 -0
- package/config/easy/LaughterIsContagious/output/04 - Very funny.txt +1 -0
- package/config/easy/LaughterIsContagious/output/05 - Not funny.txt +1 -0
- package/config/easy/LaughterIsContagious/output/06 - Lonely.txt +1 -0
- package/config/easy/LaughterIsContagious/output/07 - Solidarity.txt +1 -0
- package/config/easy/LaughterIsContagious/output/08 - Big show.txt +1 -0
- package/config/easy/LaughterIsContagious/output/09 - Very big show.txt +1 -0
- package/config/easy/LaughterIsContagious/output/10 - One Man Show.txt +1 -0
- package/config/easy/LaughterIsContagious/output/11 - Duo.txt +1 -0
- package/config/easy/LaughterIsContagious/output/12 - Trio.txt +1 -0
- package/config/easy/PyramidStacker/code/CGCode.cpp +20 -0
- package/config/easy/PyramidStacker/code/CGCode.java +18 -0
- package/config/easy/PyramidStacker/code/CGCode.js +9 -0
- package/config/easy/PyramidStacker/code/CGCode.php +8 -0
- package/config/easy/PyramidStacker/code/CGCode.ts +9 -0
- package/config/easy/PyramidStacker/config.json +63 -0
- package/config/easy/PyramidStacker/input/01 - Full (Example).txt +2 -0
- package/config/easy/PyramidStacker/input/02 - Partial (Example).txt +2 -0
- package/config/easy/PyramidStacker/input/03 - One Cube.txt +2 -0
- package/config/easy/PyramidStacker/input/04 - Patchy.txt +2 -0
- package/config/easy/PyramidStacker/input/05 - Repeat.txt +2 -0
- package/config/easy/PyramidStacker/input/06 - Cut.txt +2 -0
- package/config/easy/PyramidStacker/input/07 - Full.txt +2 -0
- package/config/easy/PyramidStacker/input/08 - Sparse.txt +2 -0
- package/config/easy/PyramidStacker/input/09 - Tall.txt +2 -0
- package/config/easy/PyramidStacker/input/10 - Limit.txt +2 -0
- package/config/easy/PyramidStacker/input/11 - Empty.txt +2 -0
- package/config/easy/PyramidStacker/output/01 - Full (Example).txt +3 -0
- package/config/easy/PyramidStacker/output/02 - Partial (Example).txt +3 -0
- package/config/easy/PyramidStacker/output/03 - One Cube.txt +1 -0
- package/config/easy/PyramidStacker/output/04 - Patchy.txt +4 -0
- package/config/easy/PyramidStacker/output/05 - Repeat.txt +5 -0
- package/config/easy/PyramidStacker/output/06 - Cut.txt +5 -0
- package/config/easy/PyramidStacker/output/07 - Full.txt +7 -0
- package/config/easy/PyramidStacker/output/08 - Sparse.txt +7 -0
- package/config/easy/PyramidStacker/output/09 - Tall.txt +9 -0
- package/config/easy/PyramidStacker/output/10 - Limit.txt +10 -0
- package/config/easy/PyramidStacker/output/11 - Empty.txt +10 -0
- package/config/easy/RequestValidator/code/CGCode.cpp +19 -0
- package/config/easy/RequestValidator/code/CGCode.java +17 -0
- package/config/easy/RequestValidator/code/CGCode.js +7 -0
- package/config/easy/RequestValidator/code/CGCode.php +8 -0
- package/config/easy/RequestValidator/code/CGCode.ts +7 -0
- package/config/easy/RequestValidator/config.json +83 -0
- package/config/easy/RequestValidator/input/01 - Order Up!.txt +2 -0
- package/config/easy/RequestValidator/input/02 - Corrupted.txt +2 -0
- package/config/easy/RequestValidator/input/03 - One Cup.txt +2 -0
- package/config/easy/RequestValidator/input/04 - Checksum Error.txt +2 -0
- package/config/easy/RequestValidator/input/05 - Department Fix.txt +2 -0
- package/config/easy/RequestValidator/input/06 - Mismatched Order.txt +2 -0
- package/config/easy/RequestValidator/input/07 - Misplaced Order.txt +2 -0
- package/config/easy/RequestValidator/input/08 - Order Zero.txt +2 -0
- package/config/easy/RequestValidator/input/09 - Standardised Order.txt +2 -0
- package/config/easy/RequestValidator/input/10 - Decaffeinated Coffee.txt +2 -0
- package/config/easy/RequestValidator/input/11 - Invalid Header.txt +2 -0
- package/config/easy/RequestValidator/input/12 - Infinite Stock.txt +2 -0
- package/config/easy/RequestValidator/input/13 - Padded Frame.txt +2 -0
- package/config/easy/RequestValidator/input/14 - 0xC0FFEE.txt +2 -0
- package/config/easy/RequestValidator/input/15 - Missing Checksum.txt +2 -0
- package/config/easy/RequestValidator/output/01 - Order Up!.txt +6 -0
- package/config/easy/RequestValidator/output/02 - Corrupted.txt +1 -0
- package/config/easy/RequestValidator/output/03 - One Cup.txt +1 -0
- package/config/easy/RequestValidator/output/04 - Checksum Error.txt +1 -0
- package/config/easy/RequestValidator/output/05 - Department Fix.txt +16 -0
- package/config/easy/RequestValidator/output/06 - Mismatched Order.txt +1 -0
- package/config/easy/RequestValidator/output/07 - Misplaced Order.txt +1 -0
- package/config/easy/RequestValidator/output/08 - Order Zero.txt +7 -0
- package/config/easy/RequestValidator/output/09 - Standardised Order.txt +1 -0
- package/config/easy/RequestValidator/output/10 - Decaffeinated Coffee.txt +1 -0
- package/config/easy/RequestValidator/output/11 - Invalid Header.txt +1 -0
- package/config/easy/RequestValidator/output/12 - Infinite Stock.txt +16 -0
- package/config/easy/RequestValidator/output/13 - Padded Frame.txt +1 -0
- package/config/easy/RequestValidator/output/14 - 0xC0FFEE.txt +4 -0
- package/config/easy/RequestValidator/output/15 - Missing Checksum.txt +1 -0
- package/config/easy/SolarShadowHunter/code/CGCode.cpp +24 -0
- package/config/easy/SolarShadowHunter/code/CGCode.java +24 -0
- package/config/easy/SolarShadowHunter/code/CGCode.js +12 -0
- package/config/easy/SolarShadowHunter/code/CGCode.php +12 -0
- package/config/easy/SolarShadowHunter/code/CGCode.ts +12 -0
- package/config/easy/SolarShadowHunter/config.json +43 -0
- package/config/easy/SolarShadowHunter/input/01 - test 1.txt +7 -0
- package/config/easy/SolarShadowHunter/input/02 - test 2.txt +6 -0
- package/config/easy/SolarShadowHunter/input/03 - test 3.txt +8 -0
- package/config/easy/SolarShadowHunter/input/04 - test 4.txt +6 -0
- package/config/easy/SolarShadowHunter/input/05 - test 5.txt +7 -0
- package/config/easy/SolarShadowHunter/input/06 - test 6.txt +22 -0
- package/config/easy/SolarShadowHunter/input/07 - test 7.txt +32 -0
- package/config/easy/SolarShadowHunter/output/01 - test 1.txt +1 -0
- package/config/easy/SolarShadowHunter/output/02 - test 2.txt +1 -0
- package/config/easy/SolarShadowHunter/output/03 - test 3.txt +1 -0
- package/config/easy/SolarShadowHunter/output/04 - test 4.txt +1 -0
- package/config/easy/SolarShadowHunter/output/05 - test 5.txt +1 -0
- package/config/easy/SolarShadowHunter/output/06 - test 6.txt +1 -0
- package/config/easy/SolarShadowHunter/output/07 - test 7.txt +1 -0
- package/config/easy/TheDescentPart2/code/CGCode.cpp +29 -0
- package/config/easy/TheDescentPart2/code/CGCode.java +25 -0
- package/config/easy/TheDescentPart2/code/CGCode.js +18 -0
- package/config/easy/TheDescentPart2/code/CGCode.php +17 -0
- package/config/easy/TheDescentPart2/code/CGCode.ts +18 -0
- package/config/easy/TheDescentPart2/config.json +58 -0
- package/config/easy/TheDescentPart2/input/01 - test 1.txt +7 -0
- package/config/easy/TheDescentPart2/input/02 - test 2.txt +10 -0
- package/config/easy/TheDescentPart2/input/03 - test 3.txt +14 -0
- package/config/easy/TheDescentPart2/input/04 - test 4.txt +9 -0
- package/config/easy/TheDescentPart2/input/05 - test 5.txt +15 -0
- package/config/easy/TheDescentPart2/input/06 - test 6.txt +10 -0
- package/config/easy/TheDescentPart2/input/07 - test 7.txt +13 -0
- package/config/easy/TheDescentPart2/input/08 - test 8.txt +10 -0
- package/config/easy/TheDescentPart2/input/09 - test 9.txt +18 -0
- package/config/easy/TheDescentPart2/input/10 - test 10.txt +18 -0
- package/config/easy/TheDescentPart2/output/01 - test 1.txt +1 -0
- package/config/easy/TheDescentPart2/output/02 - test 2.txt +1 -0
- package/config/easy/TheDescentPart2/output/03 - test 3.txt +1 -0
- package/config/easy/TheDescentPart2/output/04 - test 4.txt +1 -0
- package/config/easy/TheDescentPart2/output/05 - test 5.txt +1 -0
- package/config/easy/TheDescentPart2/output/06 - test 6.txt +1 -0
- package/config/easy/TheDescentPart2/output/07 - test 7.txt +1 -0
- package/config/easy/TheDescentPart2/output/08 - test 8.txt +1 -0
- package/config/easy/TheDescentPart2/output/09 - test 9.txt +1 -0
- package/config/easy/TheDescentPart2/output/10 - test 10.txt +1 -0
- package/config/easy/WhereWasThisKnightBefore/code/CGCode.cpp +25 -0
- package/config/easy/WhereWasThisKnightBefore/code/CGCode.java +22 -0
- package/config/easy/WhereWasThisKnightBefore/code/CGCode.js +12 -0
- package/config/easy/WhereWasThisKnightBefore/code/CGCode.php +15 -0
- package/config/easy/WhereWasThisKnightBefore/code/CGCode.ts +12 -0
- package/config/easy/WhereWasThisKnightBefore/config.json +38 -0
- package/config/easy/WhereWasThisKnightBefore/input/01 - Easy start.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/input/02 - Some action.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/input/03 - Some noise on the board.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/input/04 - Check mate.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/input/05 - Crazy case.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/input/06 - Lots of noise.txt +17 -0
- package/config/easy/WhereWasThisKnightBefore/output/01 - Easy start.txt +2 -0
- package/config/easy/WhereWasThisKnightBefore/output/02 - Some action.txt +2 -0
- package/config/easy/WhereWasThisKnightBefore/output/03 - Some noise on the board.txt +2 -0
- package/config/easy/WhereWasThisKnightBefore/output/04 - Check mate.txt +2 -0
- package/config/easy/WhereWasThisKnightBefore/output/05 - Crazy case.txt +2 -0
- package/config/easy/WhereWasThisKnightBefore/output/06 - Lots of noise.txt +2 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.cpp +20 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.java +19 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.js +10 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.php +7 -0
- package/config/hard/XthLexicographicallySmallestNumber/code/CGCode.ts +10 -0
- package/config/hard/XthLexicographicallySmallestNumber/config.json +68 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/01 - test 1.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/02 - test 2.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/03 - test 3.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/04 - test 4.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/05 - test 5.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/06 - test 6.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/07 - test 7.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/08 - test 8.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/09 - test 9.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/10 - test 10.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/11 - test 11.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/input/12 - test 12.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/01 - test 1.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/02 - test 2.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/03 - test 3.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/04 - test 4.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/05 - test 5.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/06 - test 6.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/07 - test 7.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/08 - test 8.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/09 - test 9.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/10 - test 10.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/11 - test 11.txt +1 -0
- package/config/hard/XthLexicographicallySmallestNumber/output/12 - test 12.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.cpp +28 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.java +24 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.js +15 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.php +16 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/code/CGCode.ts +15 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/config.json +68 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/01 - Do I have a land.txt +5 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/02 - Any card will do.txt +6 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/03 - 100%.txt +4 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/04 - 0%.txt +4 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/05 - 1 Pattern.txt +6 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/06 - Overlap.txt +7 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/07 - 3 Patterns.txt +13 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/08 - 5 Patterns.txt +13 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/09 - 6 Patterns.txt +14 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/10 - 7 Patterns.txt +16 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/11 - 8 Patterns.txt +18 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/input/12 - 8 Patterns Impossible.txt +18 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/01 - Do I have a land.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/02 - Any card will do.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/03 - 100%.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/04 - 0%.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/05 - 1 Pattern.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/06 - Overlap.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/07 - 3 Patterns.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/08 - 5 Patterns.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/09 - 6 Patterns.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/10 - 7 Patterns.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/11 - 8 Patterns.txt +1 -0
- package/config/medium/ManaQuestHuntForThePerfectSeven/output/12 - 8 Patterns Impossible.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.cpp +20 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.java +18 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.js +9 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.php +8 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/code/CGCode.ts +9 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/config.json +43 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/01 - Base case.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/02 - 2 digits long ans.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/03 - With 7.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/04 - With more digits (21).txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/05 - Still ok 100 digits!.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/06 - 250 NO WAY!.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/input/07 - 500.txt +2 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/01 - Base case.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/02 - 2 digits long ans.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/03 - With 7.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/04 - With more digits (21).txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/05 - Still ok 100 digits!.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/06 - 250 NO WAY!.txt +1 -0
- package/config/medium/NumbersWithOnlyTwoDistinctDigits/output/07 - 500.txt +1 -0
- package/config/medium/TheHoleTruth/code/CGCode.cpp +22 -0
- package/config/medium/TheHoleTruth/code/CGCode.java +23 -0
- package/config/medium/TheHoleTruth/code/CGCode.js +11 -0
- package/config/medium/TheHoleTruth/code/CGCode.php +11 -0
- package/config/medium/TheHoleTruth/code/CGCode.ts +11 -0
- package/config/medium/TheHoleTruth/config.json +58 -0
- package/config/medium/TheHoleTruth/input/01 - Simple ring.txt +6 -0
- package/config/medium/TheHoleTruth/input/02 - Two holes.txt +6 -0
- package/config/medium/TheHoleTruth/input/03 - No holes.txt +6 -0
- package/config/medium/TheHoleTruth/input/04 - Nested rings.txt +10 -0
- package/config/medium/TheHoleTruth/input/05 - Border-touching shapes.txt +12 -0
- package/config/medium/TheHoleTruth/input/06 - Smiley face.txt +13 -0
- package/config/medium/TheHoleTruth/input/07 - Tall grid with irregular hole.txt +14 -0
- package/config/medium/TheHoleTruth/input/08 - Nested blobs with winding walls.txt +41 -0
- package/config/medium/TheHoleTruth/input/09 - Concentric rings and L-shaped enclosures.txt +41 -0
- package/config/medium/TheHoleTruth/input/10 - Stress test.txt +58 -0
- package/config/medium/TheHoleTruth/output/01 - Simple ring.txt +1 -0
- package/config/medium/TheHoleTruth/output/02 - Two holes.txt +1 -0
- package/config/medium/TheHoleTruth/output/03 - No holes.txt +1 -0
- package/config/medium/TheHoleTruth/output/04 - Nested rings.txt +1 -0
- package/config/medium/TheHoleTruth/output/05 - Border-touching shapes.txt +1 -0
- package/config/medium/TheHoleTruth/output/06 - Smiley face.txt +1 -0
- package/config/medium/TheHoleTruth/output/07 - Tall grid with irregular hole.txt +1 -0
- package/config/medium/TheHoleTruth/output/08 - Nested blobs with winding walls.txt +1 -0
- package/config/medium/TheHoleTruth/output/09 - Concentric rings and L-shaped enclosures.txt +1 -0
- package/config/medium/TheHoleTruth/output/10 - Stress test.txt +1 -0
- package/config/medium/TrigonometrySimplification/code/CGCode.cpp +19 -0
- package/config/medium/TrigonometrySimplification/code/CGCode.java +18 -0
- package/config/medium/TrigonometrySimplification/code/CGCode.js +9 -0
- package/config/medium/TrigonometrySimplification/code/CGCode.php +7 -0
- package/config/medium/TrigonometrySimplification/code/CGCode.ts +9 -0
- package/config/medium/TrigonometrySimplification/config.json +63 -0
- package/config/medium/TrigonometrySimplification/input/01 - test 1.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/02 - test 2.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/03 - test 3.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/04 - test 4.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/05 - test 5.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/06 - test 6.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/07 - test 7.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/08 - test 8.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/09 - test 9.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/10 - test 10.txt +1 -0
- package/config/medium/TrigonometrySimplification/input/11 - test 11.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/01 - test 1.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/02 - test 2.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/03 - test 3.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/04 - test 4.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/05 - test 5.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/06 - test 6.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/07 - test 7.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/08 - test 8.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/09 - test 9.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/10 - test 10.txt +1 -0
- package/config/medium/TrigonometrySimplification/output/11 - test 11.txt +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "easy/RequestValidator",
|
|
3
|
+
"name": "0xC0FFEE Request Validator",
|
|
4
|
+
"alphanumName": "RequestValidator",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/0xc0ffee-request-validator",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Order Up!",
|
|
9
|
+
"alphanumName": "OrderUp",
|
|
10
|
+
"file": "01 - Order Up!.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Corrupted",
|
|
14
|
+
"alphanumName": "Corrupted",
|
|
15
|
+
"file": "02 - Corrupted.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "One Cup",
|
|
19
|
+
"alphanumName": "OneCup",
|
|
20
|
+
"file": "03 - One Cup.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Checksum Error",
|
|
24
|
+
"alphanumName": "ChecksumError",
|
|
25
|
+
"file": "04 - Checksum Error.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Department Fix",
|
|
29
|
+
"alphanumName": "DepartmentFix",
|
|
30
|
+
"file": "05 - Department Fix.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Mismatched Order",
|
|
34
|
+
"alphanumName": "MismatchedOrder",
|
|
35
|
+
"file": "06 - Mismatched Order.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Misplaced Order",
|
|
39
|
+
"alphanumName": "MisplacedOrder",
|
|
40
|
+
"file": "07 - Misplaced Order.txt"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Order Zero",
|
|
44
|
+
"alphanumName": "OrderZero",
|
|
45
|
+
"file": "08 - Order Zero.txt"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Standardised Order",
|
|
49
|
+
"alphanumName": "StandardisedOrder",
|
|
50
|
+
"file": "09 - Standardised Order.txt"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Decaffeinated Coffee",
|
|
54
|
+
"alphanumName": "DecaffeinatedCoffee",
|
|
55
|
+
"file": "10 - Decaffeinated Coffee.txt"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "Invalid Header",
|
|
59
|
+
"alphanumName": "InvalidHeader",
|
|
60
|
+
"file": "11 - Invalid Header.txt"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Infinite Stock",
|
|
64
|
+
"alphanumName": "InfiniteStock",
|
|
65
|
+
"file": "12 - Infinite Stock.txt"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Padded Frame",
|
|
69
|
+
"alphanumName": "PaddedFrame",
|
|
70
|
+
"file": "13 - Padded Frame.txt"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "0xC0FFEE",
|
|
74
|
+
"alphanumName": "ZeroxC0FFEE",
|
|
75
|
+
"file": "14 - 0xC0FFEE.txt"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Missing Checksum",
|
|
79
|
+
"alphanumName": "MissingChecksum",
|
|
80
|
+
"file": "15 - Missing Checksum.txt"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
412
|
|
2
|
+
DECAFBAD19022222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222224
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
558
|
|
2
|
+
DECAF900D221D15606D51B932FF5BD3F040DC7AEE99D1701111F171E62369EE49E17FA1820BAC77D5560F45BA3647438917C913220EA2B9A72BEAF66F8FD77B2F1B3D26C7BE4BF179B977498B2CAC3E1FEA545E101BC0E90E54DB501D0160C4E27B4A348A0BD66F32269F6ABD2A84D2B946C2AA584D72609628D1D7386B8D2EB5004FB3214335E64139B4F026AF185C138C1BF1C6F1D31BAD24BCD8F67D430F2DBAB49F9D5CF646AAFA7A0B134BC6634E286C7B3B08284E4406C523025810A2CE42AD868CA4126224A74B617F2E71FD0888323480296AFE99C8A420326927CAC53BA41A327274602DA79C29C3FB23AAD98DF91A1A23F8961F129C78F1FCD108D134F88EA3216D433DA2956000C0DB6AD7ECE1284A9107D
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
611
|
|
2
|
+
0D2F1A99257FEE9DE46F3A91E0825D8BD9335A5D703A3FD418A61B62584786724682A71D5772F73F14140D69C24D807C9ED68B7C1FFCFD6A57EBE7236C5DF4525B58862B2088909B54D983C3529C05DA173E6B9B4C06C3C7F720039EBA21B1F666F8CACFF382C9CC218209BE5519910C0BAB124D39AD2E88D89F8024E4336452FFC33A792F976D07B3592D95DB0084A86CF956AAC9F8AA457B4683F19835AE464091D9B564CF46BF533489E73D0220999B152258B7ACC68493FFA65A5423D33D0E5D7F3D1A9ECF556F767328C2B7AB3C94F2D5431C54EBE8477C667C3BF0973701ABFE31BD63314B4ACD8CABE8AEE7909064819D8649B9E0222B1780A05BF26A8E74370D44EE8DB94E82F8B438B5707F421FB2C4F2B2F7D6124D51077E8B43F585F26AE7254F856F82D80E8BC8E344E9F94
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
836
|
|
2
|
+
DECAFBAD338CB6CCC4B6F56CDF7281CAF0CE9211FC525A8B72A786A5C02751D114E7EFE51BD0C90D1F32BB768455195B42DC1B612C34CB05E2F9531F726B7D10F21146DC955A53810A280B37BA19C67BAC14CB457F71BCCC338C7D425AA3BDB1F7A4E2D7284745BA484FAF022AF4A0C03454E066A23B8A041CC8F2E9400C86387915728E5486D34BCB7429DB120A8B19DC38FB7FB396337E4E98CEE2E34065D0B1893FC2F960F4FBDD20457EE7B153AF0CFE1844EE51D9F5E289F06BA4AA6001BA58717D1F8FDB8547E9620B84723ADA2FA18030B32A8F851B5B9309B1FE33D613CFEC733DF02136F55C1F19AC70CE4D5621163DFD462209509EEE89FAF8D02159DC2256FB267F4B059DC968D43AE7917E800129E017A213E89E710C4FB91D3595B874838AABEB268D869FE2DADB83CF8CC2B3FC9A795C94E4C4BA77CD7879884730A3BF6B295A6E00ECCE1419D4D1E36F2373D83945C11F92B5DA14A94192BF2A053BDDF5D6E69783035B19C3950026D46B0F3722533B0D287C4B92DDB9BA29F9CC15E08FCD13DF586714806184441319206C919723F2EE1763254F5089881F42BA
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
915
|
|
2
|
+
0000000DECAFBAD380474BD5339636A32FE6EEB370F97980165EA6C5F4C6F1ADA8ED5884EF8058E5D66DF138ACA7BB3CF80C06BBC0FF67367E0B192300C5696C381218CCFA4BDA6F9E0EA6B0CD09520B7093FB523A886DD46D30566CBBF138E89E6D0441F0EAC4CB2CA4959A9AAF92DD5410ACE8EAEE4C32F143F6DBFC2C2402EE66795425EF3B1084A3BB317A826E3381CC552DF5C867B4B9E9A54C6AEF2116B9F4DA99A8F433235FB2819955A9593E8C8B90DBB8689CE601CBE7774F561942BB330AC863AD833B532F5F6EBB9C5C31C6DF7B8066F2E170D66B78B8D07D7787520A42ABE34741DD82C2F92792F790E3BD0B2C79D3D5C50722EE85C58AC4C332DF9253C9DA5D131EDD347207FE1EA655A7B31E23DFA20EEDCEDD30274F31F5394B863317BA7665415595A1006F783B0078A11CD2F016AFE19D1959A4D891F56B804144B1CB02106BACD91D76F78F280C7E2299867A9E70C7DBF952778DE826D71FA3E3AFBCC0317B7E1740948C865FB6BECC45ADB1EBCBC2119246ECF9E9E357415E8250879E4C776592360FCF8837F9C37B501DAC6CC5FF1F39BB8E409FCCE9F3E582957EE329D1C334924F6FCADE8A9B6C051985A0B020C54983CFFE00C01EEF36E08DF8ECA8175BC
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
996
|
|
2
|
+
DECAFBAD3D8C0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEC0FFEEE
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
995
|
|
2
|
+
DECAFBAD3D8170F0E8354BB2C992E9CE24D1D10B68AF44EC1FADE73A3A0EB9E4F382C0B7A17105C398B9CB7EE8ADBFB63C5962FBF1AD7CCBA47CAB9203C335C908C7B58F4A186F09DCD2935ACFC2038CE769DF54B631777DAD605469C5B995F074B7E216E3435D056E2F74BAEBF7EEE6588A64114D2C511478DBDAE088DE22696697D155551E6A3822330BFB0C758757A3FC9001CB6910BC45754D55C35BE0A96B97CC2591F4BF849C83A426B142D9F78B752C19C4392912969C9080E00353236BF2C56D69002CF77F1455BCE34C820A0C9325DAD2A7950AD89F96F8748721B00AD05AE8CDC68EADB57A009EBE30C2CC59BECB91AC7708DE0C1B1981C95CCD5E66CA8001013C143ED3A88D3DE1B703347B47E91C13DA436937CD5B1C94E4E335E6719343A9FF0C9637E1EE82CD9C3B58DA932B5B256A7A65940681591BBDC0984D7DA30B4BD59F8F92B372FCCF9644F2BC20E84B390881BA893942D337A689A94CE5F329F76248443C3931B7A9C9DF223F670FB6C47F151730C21F50FDF180DCD36D777013B9C7ABA6C4D8D2B812528940BB577F683C4AAA6EB45A3CECF1D5B8A7F529D45EAD115DB3D6D2B18052EC6033655569F002221D8BBF07C2A86BD97E0984D46951E4CFA026CB2480311EB78CD3032991A2392FA01B1BB82F9800656C5C6ACA09FBED4C83B93D016FE181F2C47D4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1 D
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
400 2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
403 Forbidden
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#include <iostream>
|
|
2
|
+
#include <string>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <algorithm>
|
|
5
|
+
|
|
6
|
+
using namespace std;
|
|
7
|
+
|
|
8
|
+
int main()
|
|
9
|
+
{
|
|
10
|
+
int w;
|
|
11
|
+
int h;
|
|
12
|
+
cin >> w >> h; cin.ignore();
|
|
13
|
+
int k;
|
|
14
|
+
cin >> k; cin.ignore();
|
|
15
|
+
for (int i = 0; i < h; i++) {
|
|
16
|
+
string row;
|
|
17
|
+
getline(cin, row);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
21
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
22
|
+
|
|
23
|
+
cout << "result" << endl;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 W = in.nextInt();
|
|
10
|
+
int H = in.nextInt();
|
|
11
|
+
int K = in.nextInt();
|
|
12
|
+
if (in.hasNextLine()) {
|
|
13
|
+
in.nextLine();
|
|
14
|
+
}
|
|
15
|
+
for (int i = 0; i < H; i++) {
|
|
16
|
+
String row = in.nextLine();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Write an answer using System.out.println()
|
|
20
|
+
// To debug: System.err.println("Debug messages...");
|
|
21
|
+
|
|
22
|
+
System.out.println("result");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var inputs = readline().split(' ');
|
|
2
|
+
const W = parseInt(inputs[0]);
|
|
3
|
+
const H = parseInt(inputs[1]);
|
|
4
|
+
const K = parseInt(readline());
|
|
5
|
+
for (let i = 0; i < H; i++) {
|
|
6
|
+
const row = readline();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('result');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d %d", $W, $H);
|
|
3
|
+
fscanf(STDIN, "%d", $K);
|
|
4
|
+
for ($i = 0; $i < $H; $i++)
|
|
5
|
+
{
|
|
6
|
+
$row = stream_get_line(STDIN, $W + 1, "\n");
|
|
7
|
+
}
|
|
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("result\n");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
|
2
|
+
const W: number = parseInt(inputs[0]);
|
|
3
|
+
const H: number = parseInt(inputs[1]);
|
|
4
|
+
const K: number = parseInt(readline());
|
|
5
|
+
for (let i = 0; i < H; i++) {
|
|
6
|
+
const row: string = readline();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('result');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "easy/SolarShadowHunter",
|
|
3
|
+
"name": "Solar Shadow Hunter",
|
|
4
|
+
"alphanumName": "SolarShadowHunter",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/solar-shadow-hunter",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Test 1",
|
|
9
|
+
"alphanumName": "test1",
|
|
10
|
+
"file": "01 - test 1.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Test 2",
|
|
14
|
+
"alphanumName": "test2",
|
|
15
|
+
"file": "02 - test 2.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Test 3",
|
|
19
|
+
"alphanumName": "test3",
|
|
20
|
+
"file": "03 - test 3.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Test 4",
|
|
24
|
+
"alphanumName": "test4",
|
|
25
|
+
"file": "04 - test 4.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Test 5",
|
|
29
|
+
"alphanumName": "test5",
|
|
30
|
+
"file": "05 - test 5.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Test 6",
|
|
34
|
+
"alphanumName": "test6",
|
|
35
|
+
"file": "06 - test 6.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Test 7",
|
|
39
|
+
"alphanumName": "test7",
|
|
40
|
+
"file": "07 - test 7.txt"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
20 20
|
|
2
|
+
1
|
|
3
|
+
PPPPPPPPPPPPPPPPPPPP
|
|
4
|
+
....................
|
|
5
|
+
....................
|
|
6
|
+
....................
|
|
7
|
+
....................
|
|
8
|
+
....................
|
|
9
|
+
....................
|
|
10
|
+
....................
|
|
11
|
+
....................
|
|
12
|
+
....................
|
|
13
|
+
....................
|
|
14
|
+
....................
|
|
15
|
+
....................
|
|
16
|
+
....................
|
|
17
|
+
....................
|
|
18
|
+
....................
|
|
19
|
+
....................
|
|
20
|
+
....................
|
|
21
|
+
....................
|
|
22
|
+
PPP99999999999999999
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
49 30
|
|
2
|
+
5
|
|
3
|
+
1111111111111111111111111111111111111111111111111
|
|
4
|
+
.................................................
|
|
5
|
+
.....6..............3............................
|
|
6
|
+
......................................9..........
|
|
7
|
+
..................2..............................
|
|
8
|
+
P.......P.......P.5.....P...4...P.......P.......P
|
|
9
|
+
.P.....P.P1....P.P.....P.P..6..P.P.....P.P.....P.
|
|
10
|
+
..P...P...P...P...P...P...P...P...P...P...P...P..
|
|
11
|
+
...P.P.....P.P.....P.P.....P.P.....P.P.....P.P...
|
|
12
|
+
....P.......P.......P....5..P...956.P.......P....
|
|
13
|
+
.................................................
|
|
14
|
+
..............7..................................
|
|
15
|
+
......5.................4..............8.........
|
|
16
|
+
5................................................
|
|
17
|
+
...........7.....3...............9...............
|
|
18
|
+
7....................8..........................2
|
|
19
|
+
9................................................
|
|
20
|
+
.........................4.....................2.
|
|
21
|
+
........................5...4....................
|
|
22
|
+
6...........2....................................
|
|
23
|
+
P.......P9......P.......P.......P.......P.......P
|
|
24
|
+
.P1....P.P5.2..P.P.....P.P.....P1P.....P.P..1..P.
|
|
25
|
+
..P...P...P...P...P...P...P...P...P...P...P...P..
|
|
26
|
+
...P.P....6P.P....8P.P.....P.P.....P.P.....P.P...
|
|
27
|
+
....P.......P.......P.......P.......P.......P....
|
|
28
|
+
.....................8............9..............
|
|
29
|
+
.................................................
|
|
30
|
+
.................................................
|
|
31
|
+
.....1.......7...........5..............1........
|
|
32
|
+
1111111111111111111111111111111111111111111111111
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
100
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
300
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
200
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
400
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2300
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6500
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#include <iostream>
|
|
2
|
+
#include <string>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <algorithm>
|
|
5
|
+
|
|
6
|
+
using namespace std;
|
|
7
|
+
|
|
8
|
+
int main()
|
|
9
|
+
{
|
|
10
|
+
int w;
|
|
11
|
+
int h;
|
|
12
|
+
cin >> w >> h; cin.ignore();
|
|
13
|
+
for (int i = 0; i < h; i++) {
|
|
14
|
+
for (int j = 0; j < w; j++) {
|
|
15
|
+
int mountain_height;
|
|
16
|
+
cin >> mountain_height; cin.ignore();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
int a;
|
|
20
|
+
int b;
|
|
21
|
+
cin >> a >> b; cin.ignore();
|
|
22
|
+
int t;
|
|
23
|
+
cin >> t; cin.ignore();
|
|
24
|
+
|
|
25
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
26
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
27
|
+
|
|
28
|
+
cout << "Save the starship" << endl;
|
|
29
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 w = in.nextInt();
|
|
10
|
+
int h = in.nextInt();
|
|
11
|
+
for (int i = 0; i < h; i++) {
|
|
12
|
+
for (int j = 0; j < w; j++) {
|
|
13
|
+
int mountainHeight = in.nextInt();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
int a = in.nextInt();
|
|
17
|
+
int b = in.nextInt();
|
|
18
|
+
int t = in.nextInt();
|
|
19
|
+
|
|
20
|
+
// Write an answer using System.out.println()
|
|
21
|
+
// To debug: System.err.println("Debug messages...");
|
|
22
|
+
|
|
23
|
+
System.out.println("Save the starship");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var inputs = readline().split(' ');
|
|
2
|
+
const w = parseInt(inputs[0]);
|
|
3
|
+
const h = parseInt(inputs[1]);
|
|
4
|
+
for (let i = 0; i < h; i++) {
|
|
5
|
+
var inputs = readline().split(' ');
|
|
6
|
+
for (let j = 0; j < w; j++) {
|
|
7
|
+
const mountainHeight = parseInt(inputs[j]);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
var inputs = readline().split(' ');
|
|
11
|
+
const a = parseInt(inputs[0]);
|
|
12
|
+
const b = parseInt(inputs[1]);
|
|
13
|
+
const t = parseInt(readline());
|
|
14
|
+
|
|
15
|
+
// Write an answer using console.log()
|
|
16
|
+
// To debug: console.error('Debug messages...');
|
|
17
|
+
|
|
18
|
+
console.log('Save the starship');
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d %d", $w, $h);
|
|
3
|
+
for ($i = 0; $i < $h; $i++)
|
|
4
|
+
{
|
|
5
|
+
$inputs = explode(" ", fgets(STDIN));
|
|
6
|
+
for ($j = 0; $j < $w; $j++)
|
|
7
|
+
{
|
|
8
|
+
$mountainHeight = intval($inputs[$j]);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
fscanf(STDIN, "%d %d", $a, $b);
|
|
12
|
+
fscanf(STDIN, "%d", $t);
|
|
13
|
+
|
|
14
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
|
15
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
|
16
|
+
|
|
17
|
+
echo("Save the starship\n");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
|
2
|
+
const w: number = parseInt(inputs[0]);
|
|
3
|
+
const h: number = parseInt(inputs[1]);
|
|
4
|
+
for (let i = 0; i < h; i++) {
|
|
5
|
+
var inputs: string[] = readline().split(' ');
|
|
6
|
+
for (let j = 0; j < w; j++) {
|
|
7
|
+
const mountainHeight: number = parseInt(inputs[j]);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
var inputs: string[] = readline().split(' ');
|
|
11
|
+
const a: number = parseInt(inputs[0]);
|
|
12
|
+
const b: number = parseInt(inputs[1]);
|
|
13
|
+
const t: number = parseInt(readline());
|
|
14
|
+
|
|
15
|
+
// Write an answer using console.log()
|
|
16
|
+
// To debug: console.error('Debug messages...');
|
|
17
|
+
|
|
18
|
+
console.log('Save the starship');
|