@cyrilverloop/codingame-configuration 1.19.0 → 1.21.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 +26 -0
- package/config/easy/ChocolateBarCut/code/CGCode.cpp +24 -0
- package/config/easy/ChocolateBarCut/code/CGCode.java +22 -0
- package/config/easy/ChocolateBarCut/code/CGCode.js +13 -0
- package/config/easy/ChocolateBarCut/code/CGCode.php +14 -0
- package/config/easy/ChocolateBarCut/code/CGCode.ts +13 -0
- package/config/easy/ChocolateBarCut/config.json +48 -0
- package/config/easy/ChocolateBarCut/input/01 - Small.txt +7 -0
- package/config/easy/ChocolateBarCut/input/02 - Line.txt +8 -0
- package/config/easy/ChocolateBarCut/input/03 - Without vertices.txt +9 -0
- package/config/easy/ChocolateBarCut/input/04 - Some vertices.txt +11 -0
- package/config/easy/ChocolateBarCut/input/05 - Big.txt +11 -0
- package/config/easy/ChocolateBarCut/input/06 - Huge.txt +11 -0
- package/config/easy/ChocolateBarCut/input/07 - Astronomical.txt +11 -0
- package/config/easy/ChocolateBarCut/input/08 - Gargantuan.txt +51 -0
- package/config/easy/ChocolateBarCut/output/01 - Small.txt +6 -0
- package/config/easy/ChocolateBarCut/output/02 - Line.txt +7 -0
- package/config/easy/ChocolateBarCut/output/03 - Without vertices.txt +8 -0
- package/config/easy/ChocolateBarCut/output/04 - Some vertices.txt +10 -0
- package/config/easy/ChocolateBarCut/output/05 - Big.txt +10 -0
- package/config/easy/ChocolateBarCut/output/06 - Huge.txt +10 -0
- package/config/easy/ChocolateBarCut/output/07 - Astronomical.txt +10 -0
- package/config/easy/ChocolateBarCut/output/08 - Gargantuan.txt +50 -0
- package/config/easy/DiagonalAchoo/code/CGCode.cpp +29 -0
- package/config/easy/DiagonalAchoo/code/CGCode.java +29 -0
- package/config/easy/DiagonalAchoo/code/CGCode.js +16 -0
- package/config/easy/DiagonalAchoo/code/CGCode.php +19 -0
- package/config/easy/DiagonalAchoo/code/CGCode.ts +16 -0
- package/config/easy/DiagonalAchoo/config.json +43 -0
- package/config/easy/DiagonalAchoo/input/01 - Easy Comparision.txt +12 -0
- package/config/easy/DiagonalAchoo/input/02 - Simulation Chamber - I.txt +42 -0
- package/config/easy/DiagonalAchoo/input/03 - Simulation Chamber - II.txt +152 -0
- package/config/easy/DiagonalAchoo/input/04 - Large Scale Simulation.txt +502 -0
- package/config/easy/DiagonalAchoo/input/05 - One Man Chambers.txt +5 -0
- package/config/easy/DiagonalAchoo/input/06 - Weird Patterns - I.txt +22 -0
- package/config/easy/DiagonalAchoo/input/07 - Weird Patterns - II.txt +32 -0
- package/config/easy/DiagonalAchoo/output/01 - Easy Comparision.txt +6 -0
- package/config/easy/DiagonalAchoo/output/02 - Simulation Chamber - I.txt +5 -0
- package/config/easy/DiagonalAchoo/output/03 - Simulation Chamber - II.txt +7 -0
- package/config/easy/DiagonalAchoo/output/04 - Large Scale Simulation.txt +11 -0
- package/config/easy/DiagonalAchoo/output/05 - One Man Chambers.txt +2 -0
- package/config/easy/DiagonalAchoo/output/06 - Weird Patterns - I.txt +11 -0
- package/config/easy/DiagonalAchoo/output/07 - Weird Patterns - II.txt +11 -0
- package/config/easy/GaussAndTheStolenNumbers/code/CGCode.cpp +21 -0
- package/config/easy/GaussAndTheStolenNumbers/code/CGCode.java +18 -0
- package/config/easy/GaussAndTheStolenNumbers/code/CGCode.js +8 -0
- package/config/easy/GaussAndTheStolenNumbers/code/CGCode.php +9 -0
- package/config/easy/GaussAndTheStolenNumbers/code/CGCode.ts +8 -0
- package/config/easy/GaussAndTheStolenNumbers/config.json +33 -0
- package/config/easy/GaussAndTheStolenNumbers/input/01 - General number.txt +3 -0
- package/config/easy/GaussAndTheStolenNumbers/input/02 - Lucky 7.txt +3 -0
- package/config/easy/GaussAndTheStolenNumbers/input/03 - Lets go bigger!.txt +3 -0
- package/config/easy/GaussAndTheStolenNumbers/input/04 - Extreme ends.txt +3 -0
- package/config/easy/GaussAndTheStolenNumbers/input/05 - Middle pair.txt +3 -0
- package/config/easy/GaussAndTheStolenNumbers/output/01 - General number.txt +1 -0
- package/config/easy/GaussAndTheStolenNumbers/output/02 - Lucky 7.txt +1 -0
- package/config/easy/GaussAndTheStolenNumbers/output/03 - Lets go bigger!.txt +1 -0
- package/config/easy/GaussAndTheStolenNumbers/output/04 - Extreme ends.txt +1 -0
- package/config/easy/GaussAndTheStolenNumbers/output/05 - Middle pair.txt +1 -0
- package/config/easy/GrandmasSerialKeys/code/CGCode.cpp +17 -0
- package/config/easy/GrandmasSerialKeys/code/CGCode.java +16 -0
- package/config/easy/GrandmasSerialKeys/code/CGCode.js +6 -0
- package/config/easy/GrandmasSerialKeys/code/CGCode.php +7 -0
- package/config/easy/GrandmasSerialKeys/code/CGCode.ts +6 -0
- package/config/easy/GrandmasSerialKeys/config.json +43 -0
- package/config/easy/GrandmasSerialKeys/input/01 - Easy One.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/02 - Underscores.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/03 - All Characters.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/04 - One Character.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/05 - Looooong One.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/06 - One Key to Another Key.txt +1 -0
- package/config/easy/GrandmasSerialKeys/input/07 - Starts with 0.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/01 - Easy One.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/02 - Underscores.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/03 - All Characters.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/04 - One Character.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/05 - Looooong One.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/06 - One Key to Another Key.txt +1 -0
- package/config/easy/GrandmasSerialKeys/output/07 - Starts with 0.txt +1 -0
- package/config/easy/OrganicCompound/code/CGCode.cpp +22 -0
- package/config/easy/OrganicCompound/code/CGCode.java +20 -0
- package/config/easy/OrganicCompound/code/CGCode.js +6 -0
- package/config/easy/OrganicCompound/code/CGCode.php +12 -0
- package/config/easy/OrganicCompound/code/CGCode.ts +11 -0
- package/config/easy/OrganicCompound/config.json +93 -0
- package/config/easy/OrganicCompound/input/01 - ethane.txt +1 -0
- package/config/easy/OrganicCompound/input/02 - butene.txt +1 -0
- package/config/easy/OrganicCompound/input/03 - hexanol.txt +1 -0
- package/config/easy/OrganicCompound/input/04 - methanoic acid.txt +1 -0
- package/config/easy/OrganicCompound/input/05 - decanone.txt +1 -0
- package/config/easy/OrganicCompound/input/06 - octanal.txt +1 -0
- package/config/easy/OrganicCompound/input/07 - nonane.txt +1 -0
- package/config/easy/OrganicCompound/input/08 - pentanol.txt +1 -0
- package/config/easy/OrganicCompound/input/09 - octene.txt +1 -0
- package/config/easy/OrganicCompound/input/10 - propanoic acid.txt +1 -0
- package/config/easy/OrganicCompound/input/11 - methanal.txt +1 -0
- package/config/easy/OrganicCompound/input/12 - propanone.txt +1 -0
- package/config/easy/OrganicCompound/input/13 - OTHERS (I) - ethyl ethanoate.txt +1 -0
- package/config/easy/OrganicCompound/input/14 - OTHERS (II) - ethane-1,2-diol.txt +1 -0
- package/config/easy/OrganicCompound/input/15 - OTHERS (III) - Oxalic acid.txt +1 -0
- package/config/easy/OrganicCompound/input/16 - OTHERS (IV) - Formamide.txt +1 -0
- package/config/easy/OrganicCompound/input/17 - OTHERS (V) - Phenol.txt +1 -0
- package/config/easy/OrganicCompound/output/01 - ethane.txt +1 -0
- package/config/easy/OrganicCompound/output/02 - butene.txt +1 -0
- package/config/easy/OrganicCompound/output/03 - hexanol.txt +1 -0
- package/config/easy/OrganicCompound/output/04 - methanoic acid.txt +1 -0
- package/config/easy/OrganicCompound/output/05 - decanone.txt +1 -0
- package/config/easy/OrganicCompound/output/06 - octanal.txt +1 -0
- package/config/easy/OrganicCompound/output/07 - nonane.txt +1 -0
- package/config/easy/OrganicCompound/output/08 - pentanol.txt +1 -0
- package/config/easy/OrganicCompound/output/09 - octene.txt +1 -0
- package/config/easy/OrganicCompound/output/10 - propanoic acid.txt +1 -0
- package/config/easy/OrganicCompound/output/11 - methanal.txt +1 -0
- package/config/easy/OrganicCompound/output/12 - propanone.txt +1 -0
- package/config/easy/OrganicCompound/output/13 - OTHERS (I) - ethyl ethanoate.txt +1 -0
- package/config/easy/OrganicCompound/output/14 - OTHERS (II) - ethane-1,2-diol.txt +1 -0
- package/config/easy/OrganicCompound/output/15 - OTHERS (III) - Oxalic acid.txt +1 -0
- package/config/easy/OrganicCompound/output/16 - OTHERS (IV) - Formamide.txt +1 -0
- package/config/easy/OrganicCompound/output/17 - OTHERS (V) - Phenol.txt +1 -0
- package/config/easy/OrganicCompounds/config.json +2 -2
- package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.cpp +22 -0
- package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.java +23 -0
- package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.js +10 -0
- package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.php +12 -0
- package/config/easy/PeaksAndValleysIn2DGrid/code/CGCode.ts +10 -0
- package/config/easy/PeaksAndValleysIn2DGrid/config.json +43 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/01 - test 1.txt +5 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/02 - test 2.txt +6 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/03 - test 3.txt +7 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/04 - test 4.txt +9 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/05 - test 5.txt +11 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/06 - test 6.txt +11 -0
- package/config/easy/PeaksAndValleysIn2DGrid/input/07 - test 7.txt +11 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/01 - test 1.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/02 - test 2.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/03 - test 3.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/04 - test 4.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/05 - test 5.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/06 - test 6.txt +2 -0
- package/config/easy/PeaksAndValleysIn2DGrid/output/07 - test 7.txt +2 -0
- package/config/easy/SeeingSquares/code/CGCode.cpp +22 -0
- package/config/easy/SeeingSquares/code/CGCode.java +23 -0
- package/config/easy/SeeingSquares/code/CGCode.js +11 -0
- package/config/easy/SeeingSquares/code/CGCode.php +11 -0
- package/config/easy/SeeingSquares/code/CGCode.ts +11 -0
- package/config/easy/SeeingSquares/config.json +98 -0
- package/config/easy/SeeingSquares/input/01 - Singular Square.txt +4 -0
- package/config/easy/SeeingSquares/input/02 - Side By Side.txt +4 -0
- package/config/easy/SeeingSquares/input/03 - Some Missing Sides.txt +6 -0
- package/config/easy/SeeingSquares/input/04 - Slightly Bigger.txt +6 -0
- package/config/easy/SeeingSquares/input/05 - Snaking Sequence.txt +8 -0
- package/config/easy/SeeingSquares/input/06 - Squares On Squares.txt +6 -0
- package/config/easy/SeeingSquares/input/07 - Spiralling.txt +16 -0
- package/config/easy/SeeingSquares/input/08 - Segmentation.txt +14 -0
- package/config/easy/SeeingSquares/input/09 - Squished.txt +10 -0
- package/config/easy/SeeingSquares/input/10 - So Many.txt +24 -0
- package/config/easy/SeeingSquares/input/11 - Slightly Off.txt +12 -0
- package/config/easy/SeeingSquares/input/12 - Slightly Smaller.txt +7 -0
- package/config/easy/SeeingSquares/input/13 - Statue.txt +16 -0
- package/config/easy/SeeingSquares/input/14 - Some Abstraction.txt +39 -0
- package/config/easy/SeeingSquares/input/15 - Spray And Pray.txt +58 -0
- package/config/easy/SeeingSquares/input/16 - Somehow The Lines Are Visible.txt +41 -0
- package/config/easy/SeeingSquares/input/17 - Stripes And Spots.txt +85 -0
- package/config/easy/SeeingSquares/input/18 - So Many!!.txt +99 -0
- package/config/easy/SeeingSquares/output/01 - Singular Square.txt +1 -0
- package/config/easy/SeeingSquares/output/02 - Side By Side.txt +1 -0
- package/config/easy/SeeingSquares/output/03 - Some Missing Sides.txt +1 -0
- package/config/easy/SeeingSquares/output/04 - Slightly Bigger.txt +1 -0
- package/config/easy/SeeingSquares/output/05 - Snaking Sequence.txt +1 -0
- package/config/easy/SeeingSquares/output/06 - Squares On Squares.txt +1 -0
- package/config/easy/SeeingSquares/output/07 - Spiralling.txt +1 -0
- package/config/easy/SeeingSquares/output/08 - Segmentation.txt +1 -0
- package/config/easy/SeeingSquares/output/09 - Squished.txt +1 -0
- package/config/easy/SeeingSquares/output/10 - So Many.txt +1 -0
- package/config/easy/SeeingSquares/output/11 - Slightly Off.txt +1 -0
- package/config/easy/SeeingSquares/output/12 - Slightly Smaller.txt +1 -0
- package/config/easy/SeeingSquares/output/13 - Statue.txt +1 -0
- package/config/easy/SeeingSquares/output/14 - Some Abstraction.txt +1 -0
- package/config/easy/SeeingSquares/output/15 - Spray And Pray.txt +1 -0
- package/config/easy/SeeingSquares/output/16 - Somehow The Lines Are Visible.txt +1 -0
- package/config/easy/SeeingSquares/output/17 - Stripes And Spots.txt +1 -0
- package/config/easy/SeeingSquares/output/18 - So Many!!.txt +1 -0
- package/config/easy/SynchronizedScrambles/code/CGCode.cpp +18 -0
- package/config/easy/SynchronizedScrambles/code/CGCode.java +17 -0
- package/config/easy/SynchronizedScrambles/code/CGCode.js +8 -0
- package/config/easy/SynchronizedScrambles/code/CGCode.php +7 -0
- package/config/easy/SynchronizedScrambles/code/CGCode.ts +8 -0
- package/config/easy/SynchronizedScrambles/config.json +33 -0
- package/config/easy/SynchronizedScrambles/input/01 - Just a minute.txt +1 -0
- package/config/easy/SynchronizedScrambles/input/02 - Two instants per day.txt +1 -0
- package/config/easy/SynchronizedScrambles/input/03 - 10-minute window.txt +1 -0
- package/config/easy/SynchronizedScrambles/input/04 - Many random points.txt +1 -0
- package/config/easy/SynchronizedScrambles/input/05 - Almost an hour.txt +1 -0
- package/config/easy/SynchronizedScrambles/output/01 - Just a minute.txt +1 -0
- package/config/easy/SynchronizedScrambles/output/02 - Two instants per day.txt +2 -0
- package/config/easy/SynchronizedScrambles/output/03 - 10-minute window.txt +10 -0
- package/config/easy/SynchronizedScrambles/output/04 - Many random points.txt +16 -0
- package/config/easy/SynchronizedScrambles/output/05 - Almost an hour.txt +59 -0
- package/config/easy/TheLGameCountingBoardStates/code/CGCode.cpp +19 -0
- package/config/easy/TheLGameCountingBoardStates/code/CGCode.java +18 -0
- package/config/easy/TheLGameCountingBoardStates/code/CGCode.js +9 -0
- package/config/easy/TheLGameCountingBoardStates/code/CGCode.php +7 -0
- package/config/easy/TheLGameCountingBoardStates/code/CGCode.ts +9 -0
- package/config/easy/TheLGameCountingBoardStates/config.json +43 -0
- package/config/easy/TheLGameCountingBoardStates/input/01 - Simple 3x3.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/02 - Slightly larger.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/03 - Height gt Width.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/04 - Width gt Height.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/05 - Too many blockers.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/06 - Many configurations.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/input/07 - That/342/200/231s a lot!.txt" +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/01 - Simple 3x3.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/02 - Slightly larger.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/03 - Height gt Width.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/04 - Width gt Height.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/05 - Too many blockers.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/06 - Many configurations.txt +1 -0
- package/config/easy/TheLGameCountingBoardStates/output/07 - That/342/200/231s a lot!.txt" +1 -0
- package/config/hard/NRamanujanPrime/code/CGCode.cpp +17 -0
- package/config/hard/NRamanujanPrime/code/CGCode.java +16 -0
- package/config/hard/NRamanujanPrime/code/CGCode.js +6 -0
- package/config/hard/NRamanujanPrime/code/CGCode.php +7 -0
- package/config/hard/NRamanujanPrime/code/CGCode.ts +6 -0
- package/config/hard/NRamanujanPrime/config.json +48 -0
- package/config/hard/NRamanujanPrime/input/01 - test 1.txt +1 -0
- package/config/hard/NRamanujanPrime/input/02 - test 2.txt +1 -0
- package/config/hard/NRamanujanPrime/input/03 - test 3.txt +1 -0
- package/config/hard/NRamanujanPrime/input/04 - test 4.txt +1 -0
- package/config/hard/NRamanujanPrime/input/05 - test 5.txt +1 -0
- package/config/hard/NRamanujanPrime/input/06 - test 6.txt +1 -0
- package/config/hard/NRamanujanPrime/input/07 - test 7.txt +1 -0
- package/config/hard/NRamanujanPrime/input/08 - test 8.txt +1 -0
- package/config/hard/NRamanujanPrime/output/01 - test 1.txt +1 -0
- package/config/hard/NRamanujanPrime/output/02 - test 2.txt +1 -0
- package/config/hard/NRamanujanPrime/output/03 - test 3.txt +1 -0
- package/config/hard/NRamanujanPrime/output/04 - test 4.txt +1 -0
- package/config/hard/NRamanujanPrime/output/05 - test 5.txt +1 -0
- package/config/hard/NRamanujanPrime/output/06 - test 6.txt +1 -0
- package/config/hard/NRamanujanPrime/output/07 - test 7.txt +1 -0
- package/config/hard/NRamanujanPrime/output/08 - test 8.txt +1 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.cpp +22 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.java +19 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.js +9 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.php +10 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/code/CGCode.ts +9 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/config.json +28 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/input/01 - Test 1.txt +3 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/input/02 - Test 2.txt +3 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/input/03 - Big message.txt +3 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/input/04 - Realy big message with random word.txt +3 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/output/01 - Test 1.txt +2 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/output/02 - Test 2.txt +2 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/output/03 - Big message.txt +2 -0
- package/config/medium/AgentXMission3TheBottleInTheSea/output/04 - Realy big message with random word.txt +2 -0
- package/config/medium/IntegerPairsOfABAB/code/CGCode.cpp +17 -0
- package/config/medium/IntegerPairsOfABAB/code/CGCode.java +16 -0
- package/config/medium/IntegerPairsOfABAB/code/CGCode.js +6 -0
- package/config/medium/IntegerPairsOfABAB/code/CGCode.php +7 -0
- package/config/medium/IntegerPairsOfABAB/code/CGCode.ts +6 -0
- package/config/medium/IntegerPairsOfABAB/config.json +93 -0
- package/config/medium/IntegerPairsOfABAB/input/01 - Example.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/02 - Small Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/03 - Small Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/04 - Neither Prime nor Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/05 - p^2.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/06 - pq.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/07 - p^2q.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/08 - Medium Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/09 - Medium Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/10 - p^2q^2.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/11 - pqr.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/12 - Large Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/13 - Large Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/14 - Very Large Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/15 - Very Large Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/16 - Many Unique Prime Factors.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/input/17 - Largest.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/01 - Example.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/02 - Small Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/03 - Small Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/04 - Neither Prime nor Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/05 - p^2.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/06 - pq.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/07 - p^2q.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/08 - Medium Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/09 - Medium Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/10 - p^2q^2.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/11 - pqr.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/12 - Large Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/13 - Large Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/14 - Very Large Prime.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/15 - Very Large Highly Composite.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/16 - Many Unique Prime Factors.txt +1 -0
- package/config/medium/IntegerPairsOfABAB/output/17 - Largest.txt +1 -0
- package/config/medium/MovingTarget/code/CGCode.cpp +30 -0
- package/config/medium/MovingTarget/code/CGCode.java +26 -0
- package/config/medium/MovingTarget/code/CGCode.js +19 -0
- package/config/medium/MovingTarget/code/CGCode.php +11 -0
- package/config/medium/MovingTarget/code/CGCode.ts +19 -0
- package/config/medium/MovingTarget/config.json +53 -0
- package/config/medium/MovingTarget/input/01 - Perpendicular case.txt +4 -0
- package/config/medium/MovingTarget/input/02 - Barely a hit.txt +4 -0
- package/config/medium/MovingTarget/input/03 - Too slow.txt +4 -0
- package/config/medium/MovingTarget/input/04 - Plane at rest.txt +4 -0
- package/config/medium/MovingTarget/input/05 - Two solutions.txt +4 -0
- package/config/medium/MovingTarget/input/06 - Random 1.txt +4 -0
- package/config/medium/MovingTarget/input/07 - Random 2.txt +4 -0
- package/config/medium/MovingTarget/input/08 - Random 3.txt +4 -0
- package/config/medium/MovingTarget/input/09 - Random 4.txt +4 -0
- package/config/medium/MovingTarget/output/01 - Perpendicular case.txt +2 -0
- package/config/medium/MovingTarget/output/02 - Barely a hit.txt +2 -0
- package/config/medium/MovingTarget/output/03 - Too slow.txt +1 -0
- package/config/medium/MovingTarget/output/04 - Plane at rest.txt +2 -0
- package/config/medium/MovingTarget/output/05 - Two solutions.txt +2 -0
- package/config/medium/MovingTarget/output/06 - Random 1.txt +1 -0
- package/config/medium/MovingTarget/output/07 - Random 2.txt +2 -0
- package/config/medium/MovingTarget/output/08 - Random 3.txt +2 -0
- package/config/medium/MovingTarget/output/09 - Random 4.txt +2 -0
- package/config/medium/NDimensionalMaze/code/CGCode.cpp +29 -0
- package/config/medium/NDimensionalMaze/code/CGCode.java +29 -0
- package/config/medium/NDimensionalMaze/code/CGCode.js +13 -0
- package/config/medium/NDimensionalMaze/code/CGCode.php +15 -0
- package/config/medium/NDimensionalMaze/code/CGCode.ts +13 -0
- package/config/medium/NDimensionalMaze/config.json +53 -0
- package/config/medium/NDimensionalMaze/input/01 - Simple 3D.txt +8 -0
- package/config/medium/NDimensionalMaze/input/02 - Simple 2D.txt +16 -0
- package/config/medium/NDimensionalMaze/input/03 - 4D.txt +83 -0
- package/config/medium/NDimensionalMaze/input/04 - Hyper-hypercube.txt +6 -0
- package/config/medium/NDimensionalMaze/input/05 - 1D.txt +7 -0
- package/config/medium/NDimensionalMaze/input/06 - 3D NO PATH.txt +7 -0
- package/config/medium/NDimensionalMaze/input/07 - Blocked.txt +11 -0
- package/config/medium/NDimensionalMaze/input/08 - 7D.txt +7 -0
- package/config/medium/NDimensionalMaze/input/09 - 8D.txt +8 -0
- package/config/medium/NDimensionalMaze/output/01 - Simple 3D.txt +1 -0
- package/config/medium/NDimensionalMaze/output/02 - Simple 2D.txt +1 -0
- package/config/medium/NDimensionalMaze/output/03 - 4D.txt +1 -0
- package/config/medium/NDimensionalMaze/output/04 - Hyper-hypercube.txt +1 -0
- package/config/medium/NDimensionalMaze/output/05 - 1D.txt +1 -0
- package/config/medium/NDimensionalMaze/output/06 - 3D NO PATH.txt +1 -0
- package/config/medium/NDimensionalMaze/output/07 - Blocked.txt +1 -0
- package/config/medium/NDimensionalMaze/output/08 - 7D.txt +1 -0
- package/config/medium/NDimensionalMaze/output/09 - 8D.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/code/CGCode.cpp +17 -0
- package/config/medium/SimpleCPUEmulation1/code/CGCode.java +16 -0
- package/config/medium/SimpleCPUEmulation1/code/CGCode.js +6 -0
- package/config/medium/SimpleCPUEmulation1/code/CGCode.php +7 -0
- package/config/medium/SimpleCPUEmulation1/code/CGCode.ts +6 -0
- package/config/medium/SimpleCPUEmulation1/config.json +28 -0
- package/config/medium/SimpleCPUEmulation1/input/01 - 5+5.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/input/02 - (11-6+2) pipe 8.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/input/03 - Overflow 145+192.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/input/04 - 15-18.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/output/01 - 5+5.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/output/02 - (11-6+2) pipe 8.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/output/03 - Overflow 145+192.txt +1 -0
- package/config/medium/SimpleCPUEmulation1/output/04 - 15-18.txt +1 -0
- package/config/medium/TiredPacMan/code/CGCode.cpp +24 -0
- package/config/medium/TiredPacMan/code/CGCode.java +24 -0
- package/config/medium/TiredPacMan/code/CGCode.js +12 -0
- package/config/medium/TiredPacMan/code/CGCode.php +12 -0
- package/config/medium/TiredPacMan/code/CGCode.ts +12 -0
- package/config/medium/TiredPacMan/config.json +98 -0
- package/config/medium/TiredPacMan/input/01 - Basic Grid.txt +11 -0
- package/config/medium/TiredPacMan/input/02 - Basic Grid with Barriers.txt +11 -0
- package/config/medium/TiredPacMan/input/03 - Ghosts Gatekeeping.txt +15 -0
- package/config/medium/TiredPacMan/input/04 - Ghosts Extreme Gatekeeping.txt +15 -0
- package/config/medium/TiredPacMan/input/05 - No Fruit.txt +6 -0
- package/config/medium/TiredPacMan/input/06 - No Energy.txt +49 -0
- package/config/medium/TiredPacMan/input/07 - No Moves.txt +56 -0
- package/config/medium/TiredPacMan/input/08 - Don/342/200/231t Be Greedy.txt" +13 -0
- package/config/medium/TiredPacMan/input/09 - Basic Wrap.txt +16 -0
- package/config/medium/TiredPacMan/input/10 - Empty Grid.txt +4 -0
- package/config/medium/TiredPacMan/input/11 - Medium Grid.txt +27 -0
- package/config/medium/TiredPacMan/input/12 - Large Grid.txt +62 -0
- package/config/medium/TiredPacMan/input/13 - All Fruit Eaten.txt +9 -0
- package/config/medium/TiredPacMan/input/14 - Dead Ends.txt +9 -0
- package/config/medium/TiredPacMan/input/15 - Ultimate Wrap.txt +9 -0
- package/config/medium/TiredPacMan/input/16 - Complex 1.txt +22 -0
- package/config/medium/TiredPacMan/input/17 - Complex 2.txt +22 -0
- package/config/medium/TiredPacMan/input/18 - Complex 3.txt +32 -0
- package/config/medium/TiredPacMan/output/01 - Basic Grid.txt +1 -0
- package/config/medium/TiredPacMan/output/02 - Basic Grid with Barriers.txt +1 -0
- package/config/medium/TiredPacMan/output/03 - Ghosts Gatekeeping.txt +1 -0
- package/config/medium/TiredPacMan/output/04 - Ghosts Extreme Gatekeeping.txt +1 -0
- package/config/medium/TiredPacMan/output/05 - No Fruit.txt +1 -0
- package/config/medium/TiredPacMan/output/06 - No Energy.txt +1 -0
- package/config/medium/TiredPacMan/output/07 - No Moves.txt +1 -0
- package/config/medium/TiredPacMan/output/08 - Don/342/200/231t Be Greedy.txt" +1 -0
- package/config/medium/TiredPacMan/output/09 - Basic Wrap.txt +1 -0
- package/config/medium/TiredPacMan/output/10 - Empty Grid.txt +1 -0
- package/config/medium/TiredPacMan/output/11 - Medium Grid.txt +1 -0
- package/config/medium/TiredPacMan/output/12 - Large Grid.txt +1 -0
- package/config/medium/TiredPacMan/output/13 - All Fruit Eaten.txt +1 -0
- package/config/medium/TiredPacMan/output/14 - Dead Ends.txt +1 -0
- package/config/medium/TiredPacMan/output/15 - Ultimate Wrap.txt +1 -0
- package/config/medium/TiredPacMan/output/16 - Complex 1.txt +1 -0
- package/config/medium/TiredPacMan/output/17 - Complex 2.txt +1 -0
- package/config/medium/TiredPacMan/output/18 - Complex 3.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/code/CGCode.cpp +27 -0
- package/config/medium/WesnothFightDeathProbabilities/code/CGCode.java +25 -0
- package/config/medium/WesnothFightDeathProbabilities/code/CGCode.js +17 -0
- package/config/medium/WesnothFightDeathProbabilities/code/CGCode.php +8 -0
- package/config/medium/WesnothFightDeathProbabilities/code/CGCode.ts +17 -0
- package/config/medium/WesnothFightDeathProbabilities/config.json +48 -0
- package/config/medium/WesnothFightDeathProbabilities/input/01 - Rifleman vs Shaman.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/02 - Shaman vs Rifleman.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/03 - Rifleman vs Rifleman.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/04 - Archer vs Swordsman.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/05 - Light infantry vs Heavy infantry.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/06 - Light infantry vs wounded Heavy infantry.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/07 - Wounded Heavy infantry vs Light infantry.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/input/08 - A harmless fight.txt +2 -0
- package/config/medium/WesnothFightDeathProbabilities/output/01 - Rifleman vs Shaman.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/02 - Shaman vs Rifleman.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/03 - Rifleman vs Rifleman.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/04 - Archer vs Swordsman.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/05 - Light infantry vs Heavy infantry.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/06 - Light infantry vs wounded Heavy infantry.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/07 - Wounded Heavy infantry vs Light infantry.txt +1 -0
- package/config/medium/WesnothFightDeathProbabilities/output/08 - A harmless fight.txt +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "easy/TheLGameCountingBoardStates",
|
|
3
|
+
"name": "The L-Game: Counting board states",
|
|
4
|
+
"alphanumName": "TheLGameCountingBoardStates",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/the-l-game-counting-board-states",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Simple 3x3",
|
|
9
|
+
"alphanumName": "Simple3x3",
|
|
10
|
+
"file": "01 - Simple 3x3.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Slightly larger",
|
|
14
|
+
"alphanumName": "SlightlyLarger",
|
|
15
|
+
"file": "02 - Slightly larger.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Height > Width",
|
|
19
|
+
"alphanumName": "HeightGtWidth",
|
|
20
|
+
"file": "03 - Height gt Width.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Width > Height",
|
|
24
|
+
"alphanumName": "WidthGtHeight",
|
|
25
|
+
"file": "04 - Width gt Height.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Too many blockers",
|
|
29
|
+
"alphanumName": "TooManyBlockers",
|
|
30
|
+
"file": "05 - Too many blockers.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Many configurations",
|
|
34
|
+
"alphanumName": "ManyConfigurations",
|
|
35
|
+
"file": "06 - Many configurations.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "That’s a lot!",
|
|
39
|
+
"alphanumName": "ThatsALot",
|
|
40
|
+
"file": "07 - That’s a lot!.txt"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3 3 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4 4 2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5 3 2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3 4 2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5 5 18
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6 6 6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8 8 15
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18368
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9324
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
768
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6220730880
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1473714638540686080
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
|
|
13
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
14
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
15
|
+
|
|
16
|
+
cout << "nth ramanujan prime" << endl;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
|
|
11
|
+
// Write an answer using System.out.println()
|
|
12
|
+
// To debug: System.err.println("Debug messages...");
|
|
13
|
+
|
|
14
|
+
System.out.println("nth ramanujan prime");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "hard/NRamanujanPrime",
|
|
3
|
+
"name": "nᵀᴴ Ramanujan Prime",
|
|
4
|
+
"alphanumName": "NRamanujanPrime",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/n-ramanujan-prime",
|
|
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
|
+
"name": "Test 8",
|
|
44
|
+
"alphanumName": "test8",
|
|
45
|
+
"file": "08 - test 8.txt"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
50
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
100
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3482
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10932
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
69275
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
100000
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
17
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
97
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
641
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1439
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
76261
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
266933
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1964791
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2916539
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#include <iostream>
|
|
2
|
+
#include <string>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <algorithm>
|
|
5
|
+
|
|
6
|
+
using namespace std;
|
|
7
|
+
|
|
8
|
+
int main()
|
|
9
|
+
{
|
|
10
|
+
string ciphertext;
|
|
11
|
+
getline(cin, ciphertext);
|
|
12
|
+
int keylength;
|
|
13
|
+
cin >> keylength; cin.ignore();
|
|
14
|
+
string word;
|
|
15
|
+
cin >> word; cin.ignore();
|
|
16
|
+
|
|
17
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
18
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
19
|
+
|
|
20
|
+
cout << "key" << endl;
|
|
21
|
+
cout << "first 900 char of plaintext" << endl;
|
|
22
|
+
}
|
|
@@ -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
|
+
String ciphertext = in.nextLine();
|
|
10
|
+
int keylength = in.nextInt();
|
|
11
|
+
String word = in.next();
|
|
12
|
+
|
|
13
|
+
// Write an answer using System.out.println()
|
|
14
|
+
// To debug: System.err.println("Debug messages...");
|
|
15
|
+
|
|
16
|
+
System.out.println("key");
|
|
17
|
+
System.out.println("first 900 char of plaintext");
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
$ciphertext = stream_get_line(STDIN, 10000 + 1, "\n");
|
|
3
|
+
fscanf(STDIN, "%d", $keylength);
|
|
4
|
+
fscanf(STDIN, "%s", $word);
|
|
5
|
+
|
|
6
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
|
7
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
|
8
|
+
|
|
9
|
+
echo("key\n");
|
|
10
|
+
echo("first 900 char of plaintext\n");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const ciphertext: string = readline();
|
|
2
|
+
const keylength: number = parseInt(readline());
|
|
3
|
+
const word: string = readline();
|
|
4
|
+
|
|
5
|
+
// Write an answer using console.log()
|
|
6
|
+
// To debug: console.error('Debug messages...');
|
|
7
|
+
|
|
8
|
+
console.log('key');
|
|
9
|
+
console.log('first 900 char of plaintext');
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/AgentXMission3TheBottleInTheSea",
|
|
3
|
+
"name": "Agent X, Mission 3—The Bottle In The Sea",
|
|
4
|
+
"alphanumName": "AgentXMission3TheBottleInTheSea",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/agent-x-mission-3the-bottle-in-the-sea",
|
|
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": "Big message",
|
|
19
|
+
"alphanumName": "BigMessage",
|
|
20
|
+
"file": "03 - Big message.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Realy big message with random word",
|
|
24
|
+
"alphanumName": "RealyBigMessageWithRandomWord",
|
|
25
|
+
"file": "04 - Realy big message with random word.txt"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
N'rs disw ynmkru ct lwggs ctcsvlsa bdov loyuabgh, pdy eh'u ezu gasp e puzn gkrqn ydsa goyyqfgh an. Yds Ckswhu htewwjz iu jca xehwehrtjg nmyn ydwu, fic skhjmbp hkinh vjaa dtidjwar oi txw pvg vsjqeha st ry. Zscxv Rxhoph wb fo combxzo ou mhb swag wiplagvw. Gdwncwrrni xm vyfkzhspx gnfo, wv'w o otnhtigb iagkkbni pc dvsjp ajgr hqj ohtsbpjoh qj krqhg. Dyh R watwws ct hsv xvnr osg qs ofhhgv.Hqj lfkwcw no qtekunju ymhq lqothg, jqh otqsm yk hji hnjpv crr encwnebc. Ydsa xvrsg hjim'ej xfqosw ra, pwx W'ej xsgr gnhnsvpm pfpvgvwwl ebhsfvfpwqr, ajulwpk cdy pvg pohtqh, crr riabvmthnju yiot ukwpxg rs pvgmf bjyitmhh. Np'g psh ptebi xc kj aouc, pdy E vczs j uhop xc nxyori. Hqfp'g ylsaj ucw gcvj eb.K rsni ucw xc jxosofzn f pscq, hqj xsux co yds digc. Dki mrcf bdc eeb qfjrni hqno ykrr xk dscx. W'ej iopeuni pc jmrn f isuwopj eb vls unjwpk co ru qgpz - ltkffmbjyag vs o bfbs jsibj kb vls vfebnebm. Rwyg ccdw soa xvnwa, oph mxz'hz hmbm f yoels xk ssctcwx wbf e rnywwnir yqwb hsf vd alvvolyecp.Xwvnju kw qazywcp. Hqju'fg tzjsjwpk hx ynopwtnw is vs o qncv-uiqdweha fzxhg wp xvaja rccg, fmafg M'zu ga qqqdujpsnc qdy kth jfxr wba jcar kt esavzjweehrtj. Kg loej w bcvfxb swphcf yk oex, owi pvgvs'b sk fqsa otn stvca.Waagqpnw, pvg mgufjr kw vnfrwnc axsehqvsm gu fchoa fjr uyfejezneblj zfqrsb, xk ortfxfyv dc gnf eg kqdxxowdps mznwpk hqj zoa. Ccdw xsux pny eg c rwpmp-hkqs rsostxwxs, qgkru cma gvsfvd sscxvnw pc asia fzjcrhjla. W vviby ucw xc onjr c aoh yk ugx ib tqh qj hqno onmjn.Xpoa wvjwl, gvem bnhspx, owi pfwwh wt kbg sicxerg st xzn qkvquj. E'a esiwyebi sb htq. Rqr'h ujp ag hcfs. Pvkw wb Fcspx L, bncbkru xkb, vqtsozhza rcc kkf vls ufoh vman.
|
|
2
|
+
7
|
|
3
|
+
ADVANTAGE
|
|
@@ -0,0 +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bYIylUrmy?eLCzPyKGhafVL:QpjWgcZcfyt:bNdmhEgymra!lEhOoeWetLWe:WvHKjHjUtqdRY;SAXOItgLzUk blVvnbIAnsy;ojUFkMemvHYiD WPSjNHUtYux!dusRCJXAscW?VNcszsEIHODoH,MLrVgCDaGJq,BTlTzpkstbz!TaOkKxEUKkRl.CfMrGPzCmXItM;rOvGpIBeAZrX;YLrBehhxGVHZK?PdtEJcZWqRlmz.IAgnoDfsXQHRq;RPFBJzSeuRPU!jFGlKxGwxVSNW.tUQjlierxPen;fraylUhFuIGjT xnWSZmVdPaMxm;sRGNDTZokJxqQ,SkCwyQmYDmBw bOWQfhyhCGfC,DGftiWxOuUabN,ltNNDBAfxSC?kpdMBUygCLRna zBaMjewfpBN
|
|
2
|
+
8
|
|
3
|
+
MQINDKDIXUTER
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
FWOCEOJ
|
|
2
|
+
I've been trying to piece together what happened, but it's all been a blur since they captured me. The Agency trained us for situations like this, but nothing could have prepared me for the reality of it. Death Island is as ominous as its name suggests. Surrounded by turbulent seas, it's a fortress designed to break even the strongest of wills. But I refuse to let them see me falter.The prison is crawling with guards, all armed to the teeth and vigilant. They think they've broken me, but I've been secretly gathering information, mapping out the layout, and identifying weak points in their security. It's not going to be easy, but I have a plan to escape. That's where you come in.I need you to assemble a team, the best of the best. You know who can handle this kind of heat. I've managed to hide a message in the lining of my cell - coordinates to a safe house on the mainland. Make your way
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
MGQAAPVJ
|
|
2
|
+
zaoYOjkVMrD?AMZkZDPwCNHE.dRHBJpWmflCDg:KZzVMvICSBZPA:nTEHFNgpFnKET;qtozQLrfIJBax PZtHzPithTy,TwbeBsEHDUj.DTZLrRRURlwv;ZiWjgSncuqf!ZmcMYNAettWcg.DcoZVjmqHBXtH.SkUSzWBUZGM!qbmMpoJLLCbB;jmEyRQlnXdk mJAlVhLyGtm?RwswJgfBqzd?pHOOyvnwXdm:nEfQZyXEwyFO ZYmNYQZcljoz.pIJyTxtGCAy tSloUdrCTNP,BmblOoFMBwOsu;iPIEiFwcHUz:kcsDyvbvdPBx;fnhYVaoSszG.HZQIyBGRHJEF,OinUhxEdCstOX,oToLhNiiUbcnA?qthkLujBoOBpt?qayGZEcvhPbC,EeHnouVMIkg:ZxmOsqlxeHvgu QyZXffUUvQPrq!hYCFpmfGYbA:HbUjJtiHMEib nJAHVICtKAvTl,GdrNzjWUNHPXN:AXtzWFsjTzGTA?FHZEPeUHCthd JBAtWNPkcuSi!OykoWMuManGTd;VAJsTEaMQgBQQ!NTXpCWPxLFlns vVDbXfKSlPIsY!ElYNhpIfUNiL;ZSpepfXAzNrY.YumdiVpciXD.FzkrRRTHyYQ QPfNfmazVNT.hPkGeHyBiFUL.AxRTgPtskJN.qWwUGOYudqwkx JbTrXlrrbdl MhSvMPljEksP;YRbvkjOcdVQPh.kEzcsoRtJQt,xhmDMuYaofx;jZRoKHauXYvjJ!vIBzAjTNVEqzS AnZWjuPSnbh!gWXywGtJuCM;ffsoHSkYWJgd:lUcLZUjaVdlH;kfsbZhOMHUhEI:MktrhiGVWIvj odAGxGsBVmyO!ohIuMhfmqOeXo PEgfoDAELiuad;w
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#include <iostream>
|
|
2
|
+
#include <string>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <algorithm>
|
|
5
|
+
|
|
6
|
+
using namespace std;
|
|
7
|
+
|
|
8
|
+
int main()
|
|
9
|
+
{
|
|
10
|
+
long long n;
|
|
11
|
+
cin >> n; cin.ignore();
|
|
12
|
+
|
|
13
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
14
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
15
|
+
|
|
16
|
+
cout << "answer" << endl;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
long N = in.nextLong();
|
|
10
|
+
|
|
11
|
+
// Write an answer using System.out.println()
|
|
12
|
+
// To debug: System.err.println("Debug messages...");
|
|
13
|
+
|
|
14
|
+
System.out.println("answer");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/IntegerPairsOfABAB",
|
|
3
|
+
"name": "Integer pairs of AB/(A+B)",
|
|
4
|
+
"alphanumName": "IntegerPairsOfABAB",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/integer-pairs-of-abab",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Example",
|
|
9
|
+
"alphanumName": "Example",
|
|
10
|
+
"file": "01 - Example.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Small Prime",
|
|
14
|
+
"alphanumName": "SmallPrime",
|
|
15
|
+
"file": "02 - Small Prime.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Small Composite",
|
|
19
|
+
"alphanumName": "SmallComposite",
|
|
20
|
+
"file": "03 - Small Composite.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Neither Prime nor Composite",
|
|
24
|
+
"alphanumName": "NeitherPrimeNorComposite",
|
|
25
|
+
"file": "04 - Neither Prime nor Composite.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "p^2",
|
|
29
|
+
"alphanumName": "p2",
|
|
30
|
+
"file": "05 - p^2.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "pq",
|
|
34
|
+
"alphanumName": "pq",
|
|
35
|
+
"file": "06 - pq.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "p^2q",
|
|
39
|
+
"alphanumName": "p2q",
|
|
40
|
+
"file": "07 - p^2q.txt"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Medium Prime",
|
|
44
|
+
"alphanumName": "MediumPrime",
|
|
45
|
+
"file": "08 - Medium Prime.txt"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Medium Highly Composite",
|
|
49
|
+
"alphanumName": "MediumHighlyComposite",
|
|
50
|
+
"file": "09 - Medium Highly Composite.txt"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "p^2q^2",
|
|
54
|
+
"alphanumName": "p2q2",
|
|
55
|
+
"file": "10 - p^2q^2.txt"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "pqr",
|
|
59
|
+
"alphanumName": "pqr",
|
|
60
|
+
"file": "11 - pqr.txt"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Large Prime",
|
|
64
|
+
"alphanumName": "LargePrime",
|
|
65
|
+
"file": "12 - Large Prime.txt"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Large Highly Composite",
|
|
69
|
+
"alphanumName": "LargeHighlyComposite",
|
|
70
|
+
"file": "13 - Large Highly Composite.txt"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Very Large Prime",
|
|
74
|
+
"alphanumName": "VeryLargePrime",
|
|
75
|
+
"file": "14 - Very Large Prime.txt"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Very Large Highly Composite",
|
|
79
|
+
"alphanumName": "VeryLargeHighlyComposite",
|
|
80
|
+
"file": "15 - Very Large Highly Composite.txt"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "Many Unique Prime Factors",
|
|
84
|
+
"alphanumName": "ManyUniquePrimeFactors",
|
|
85
|
+
"file": "16 - Many Unique Prime Factors.txt"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "Largest",
|
|
89
|
+
"alphanumName": "Largest",
|
|
90
|
+
"file": "17 - Largest.txt"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
991
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
840
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
36
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
30
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9794321
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9185400
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
99999999999973
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
27109095552000
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
74207381348100
|