@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
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.21.0] - 2025-11-30
|
|
8
|
+
### Added
|
|
9
|
+
- configuration for "Gauss and the Stolen Numbers".
|
|
10
|
+
- configuration for "Chocolate Bar Cut".
|
|
11
|
+
- configuration for "Agent X, Mission 3—The Bottle In The Sea".
|
|
12
|
+
- configuration for "Synchronized Scrambles".
|
|
13
|
+
- configuration for "nᵀᴴ Ramanujan Prime".
|
|
14
|
+
|
|
15
|
+
## [1.20.0] - 2025-10-31
|
|
16
|
+
### Added
|
|
17
|
+
- configuration for "Simple CPU Emulation 1".
|
|
18
|
+
- configuration for "Moving Target".
|
|
19
|
+
- configuration for "The L-Game: Counting board states".
|
|
20
|
+
- configuration for "Peaks and Valleys in 2D Grid".
|
|
21
|
+
- configuration for "Seeing Squares".
|
|
22
|
+
- configuration for "Grandma’s Serial Keys".
|
|
23
|
+
- configuration for "Wesnoth fight death probabilities".
|
|
24
|
+
- configuration for "Tired Pac-Man".
|
|
25
|
+
- configuration for "N-dimensional maze".
|
|
26
|
+
- configuration for "Diagonal-achoo!!".
|
|
27
|
+
- configuration for "Integer pairs of AB/(A+B)".
|
|
28
|
+
- configuration for "Organic Compound".
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
- name of "Organic Compounds 🔬".
|
|
32
|
+
|
|
7
33
|
## [1.19.0] - 2025-09-30
|
|
8
34
|
### Added
|
|
9
35
|
- configuration for "Swapping Elements".
|
|
@@ -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 n;
|
|
11
|
+
cin >> n; cin.ignore();
|
|
12
|
+
for (int i = 0; i < n; i++) {
|
|
13
|
+
long long x;
|
|
14
|
+
long long y;
|
|
15
|
+
cin >> x >> y; cin.ignore();
|
|
16
|
+
}
|
|
17
|
+
for (int i = 0; i < n; i++) {
|
|
18
|
+
|
|
19
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
20
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
21
|
+
|
|
22
|
+
cout << "nbSquares" << endl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
long X = in.nextLong();
|
|
12
|
+
long Y = in.nextLong();
|
|
13
|
+
}
|
|
14
|
+
for (int i = 0; i < N; i++) {
|
|
15
|
+
|
|
16
|
+
// Write an answer using System.out.println()
|
|
17
|
+
// To debug: System.err.println("Debug messages...");
|
|
18
|
+
|
|
19
|
+
System.out.println("nbSquares");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const N = parseInt(readline());
|
|
2
|
+
for (let i = 0; i < N; i++) {
|
|
3
|
+
var inputs = readline().split(' ');
|
|
4
|
+
const X = parseInt(inputs[0]);
|
|
5
|
+
const Y = parseInt(inputs[1]);
|
|
6
|
+
}
|
|
7
|
+
for (let i = 0; i < N; i++) {
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('nbSquares');
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d", $N);
|
|
3
|
+
for ($i = 0; $i < $N; $i++)
|
|
4
|
+
{
|
|
5
|
+
fscanf(STDIN, "%d %d", $X, $Y);
|
|
6
|
+
}
|
|
7
|
+
for ($i = 0; $i < $N; $i++)
|
|
8
|
+
{
|
|
9
|
+
|
|
10
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
|
11
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
|
12
|
+
|
|
13
|
+
echo("nbSquares\n");
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const N: number = parseInt(readline());
|
|
2
|
+
for (let i = 0; i < N; i++) {
|
|
3
|
+
var inputs: string[] = readline().split(' ');
|
|
4
|
+
const X: number = parseInt(inputs[0]);
|
|
5
|
+
const Y: number = parseInt(inputs[1]);
|
|
6
|
+
}
|
|
7
|
+
for (let i = 0; i < N; i++) {
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('nbSquares');
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "easy/ChocolateBarCut",
|
|
3
|
+
"name": "Chocolate Bar Cut",
|
|
4
|
+
"alphanumName": "ChocolateBarCut",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/chocolate-bar-cut",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Small",
|
|
9
|
+
"alphanumName": "Small",
|
|
10
|
+
"file": "01 - Small.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Line",
|
|
14
|
+
"alphanumName": "Line",
|
|
15
|
+
"file": "02 - Line.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Without vertices",
|
|
19
|
+
"alphanumName": "WithoutVertices",
|
|
20
|
+
"file": "03 - Without vertices.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Some vertices",
|
|
24
|
+
"alphanumName": "SomeVertices",
|
|
25
|
+
"file": "04 - Some vertices.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Big",
|
|
29
|
+
"alphanumName": "Big",
|
|
30
|
+
"file": "05 - Big.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Huge",
|
|
34
|
+
"alphanumName": "Huge",
|
|
35
|
+
"file": "06 - Huge.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Astronomical",
|
|
39
|
+
"alphanumName": "Astronomical",
|
|
40
|
+
"file": "07 - Astronomical.txt"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Gargantuan",
|
|
44
|
+
"alphanumName": "Gargantuan",
|
|
45
|
+
"file": "08 - Gargantuan.txt"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
10
|
|
2
|
+
22307889344 265996529728
|
|
3
|
+
534801466035 784401942720
|
|
4
|
+
634131957480 56058396198
|
|
5
|
+
112500984000 491653001130
|
|
6
|
+
874573868220 589421506596
|
|
7
|
+
829605092250 132435835818
|
|
8
|
+
9149624612 34380961878
|
|
9
|
+
349361265817 421406345802
|
|
10
|
+
234250079608 214837743206
|
|
11
|
+
91113617677 97428379570
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
50
|
|
2
|
+
347192885 1299954712
|
|
3
|
+
987654321 123456789
|
|
4
|
+
230584300921 34359738367
|
|
5
|
+
999999937 1000000007
|
|
6
|
+
4294967295 8589934590
|
|
7
|
+
712837465 1982374654
|
|
8
|
+
56800235584 140737488355
|
|
9
|
+
3141592653 2718281828
|
|
10
|
+
922337203685 123456789012
|
|
11
|
+
600000000000 900000000000
|
|
12
|
+
444444444444 666666666666
|
|
13
|
+
987654320123 111111111111
|
|
14
|
+
135791113151 246802468024
|
|
15
|
+
123123123123 321321321321
|
|
16
|
+
999999999989 999999999959
|
|
17
|
+
700000000019 350000000009
|
|
18
|
+
876543219876 234567891234
|
|
19
|
+
503316480 939524096
|
|
20
|
+
112589990684 225179981368
|
|
21
|
+
140737488355 562949953421
|
|
22
|
+
6758899123 1234567009
|
|
23
|
+
248529385028 283746278364
|
|
24
|
+
349875349875 587349587349
|
|
25
|
+
197531864197 864197531864
|
|
26
|
+
222222222222 999999999999
|
|
27
|
+
101010101010 202020202020
|
|
28
|
+
314159265358 979323846264
|
|
29
|
+
490000000000 700000000000
|
|
30
|
+
14916253649 17283950505
|
|
31
|
+
666666666667 444444444443
|
|
32
|
+
100000000003 900000000001
|
|
33
|
+
987654321987 123123123123
|
|
34
|
+
825732509281 237462837462
|
|
35
|
+
400000000001 200000000001
|
|
36
|
+
123456789123 987654321987
|
|
37
|
+
112358132134 181637114678
|
|
38
|
+
141421356237 173205080756
|
|
39
|
+
271828182845 314159265358
|
|
40
|
+
4294967297 8589934593
|
|
41
|
+
900719925474 450359962737
|
|
42
|
+
122978293824 245956587648
|
|
43
|
+
999983 999979
|
|
44
|
+
123457 999983
|
|
45
|
+
1000003 2000006
|
|
46
|
+
998244353 1000000007
|
|
47
|
+
184467440737 368934881474
|
|
48
|
+
9999999967 8888888879
|
|
49
|
+
35953862697 69814636543
|
|
50
|
+
555555555555 333333333333
|
|
51
|
+
987654320987 998877665544
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
1647147596
|
|
2
|
+
1111111101
|
|
3
|
+
264944039287
|
|
4
|
+
1999999943
|
|
5
|
+
8589934590
|
|
6
|
+
2695212118
|
|
7
|
+
197537723938
|
|
8
|
+
5859874480
|
|
9
|
+
1045793992696
|
|
10
|
+
1200000000000
|
|
11
|
+
888888888888
|
|
12
|
+
1098765431233
|
|
13
|
+
382593581174
|
|
14
|
+
441441441441
|
|
15
|
+
1999999999947
|
|
16
|
+
1050000000027
|
|
17
|
+
1111111111104
|
|
18
|
+
1409286144
|
|
19
|
+
225179981368
|
|
20
|
+
703687441775
|
|
21
|
+
7993466131
|
|
22
|
+
532275663388
|
|
23
|
+
937215937215
|
|
24
|
+
1061729396060
|
|
25
|
+
1111111111110
|
|
26
|
+
202020202020
|
|
27
|
+
1293483111620
|
|
28
|
+
1120000000000
|
|
29
|
+
32200204153
|
|
30
|
+
1111111111109
|
|
31
|
+
1000000000003
|
|
32
|
+
1110777445107
|
|
33
|
+
1063195346720
|
|
34
|
+
600000000001
|
|
35
|
+
1111111111107
|
|
36
|
+
293995246810
|
|
37
|
+
314626436992
|
|
38
|
+
585987448202
|
|
39
|
+
12884901889
|
|
40
|
+
900719925474
|
|
41
|
+
245956587648
|
|
42
|
+
1999961
|
|
43
|
+
1123439
|
|
44
|
+
2000006
|
|
45
|
+
1998244359
|
|
46
|
+
368934881474
|
|
47
|
+
18888888845
|
|
48
|
+
105768499239
|
|
49
|
+
777777777777
|
|
50
|
+
1986531986530
|
|
@@ -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 n;
|
|
11
|
+
cin >> n; cin.ignore();
|
|
12
|
+
int g;
|
|
13
|
+
cin >> g; cin.ignore();
|
|
14
|
+
for (int i = 0; i < g; i++) {
|
|
15
|
+
for (int j = 0; j < n; j++) {
|
|
16
|
+
string row;
|
|
17
|
+
getline(cin, row);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
22
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
23
|
+
|
|
24
|
+
cout << "Index (starts from 0)" << endl;
|
|
25
|
+
cout << "C.C." << endl;
|
|
26
|
+
cout << ".C.C" << endl;
|
|
27
|
+
cout << "C.H." << endl;
|
|
28
|
+
cout << ".C.." << endl;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 g = in.nextInt();
|
|
11
|
+
if (in.hasNextLine()) {
|
|
12
|
+
in.nextLine();
|
|
13
|
+
}
|
|
14
|
+
for (int i = 0; i < g; i++) {
|
|
15
|
+
for (int j = 0; j < n; j++) {
|
|
16
|
+
String row = in.nextLine();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Write an answer using System.out.println()
|
|
21
|
+
// To debug: System.err.println("Debug messages...");
|
|
22
|
+
|
|
23
|
+
System.out.println("Index (starts from 0)");
|
|
24
|
+
System.out.println("C.C.");
|
|
25
|
+
System.out.println(".C.C");
|
|
26
|
+
System.out.println("C.H.");
|
|
27
|
+
System.out.println(".C..");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const n = parseInt(readline());
|
|
2
|
+
const g = parseInt(readline());
|
|
3
|
+
for (let i = 0; i < g; i++) {
|
|
4
|
+
for (let j = 0; j < n; j++) {
|
|
5
|
+
const row = readline();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('Index (starts from 0)');
|
|
13
|
+
console.log('C.C.');
|
|
14
|
+
console.log('.C.C');
|
|
15
|
+
console.log('C.H.');
|
|
16
|
+
console.log('.C..');
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d", $n);
|
|
3
|
+
fscanf(STDIN, "%d", $g);
|
|
4
|
+
for ($i = 0; $i < $g; $i++)
|
|
5
|
+
{
|
|
6
|
+
for ($j = 0; $j < $n; $j++)
|
|
7
|
+
{
|
|
8
|
+
$row = stream_get_line(STDIN, $n + 1, "\n");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
|
13
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
|
14
|
+
|
|
15
|
+
echo("Index (starts from 0)\n");
|
|
16
|
+
echo("C.C.\n");
|
|
17
|
+
echo(".C.C\n");
|
|
18
|
+
echo("C.H.\n");
|
|
19
|
+
echo(".C..\n");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const n: number = parseInt(readline());
|
|
2
|
+
const g: number = parseInt(readline());
|
|
3
|
+
for (let i = 0; i < g; i++) {
|
|
4
|
+
for (let j = 0; j < n; j++) {
|
|
5
|
+
const row: string = readline();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Write an answer using console.log()
|
|
10
|
+
// To debug: console.error('Debug messages...');
|
|
11
|
+
|
|
12
|
+
console.log('Index (starts from 0)');
|
|
13
|
+
console.log('C.C.');
|
|
14
|
+
console.log('.C.C');
|
|
15
|
+
console.log('C.H.');
|
|
16
|
+
console.log('.C..');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "easy/DiagonalAchoo",
|
|
3
|
+
"name": "Diagonal-achoo!!",
|
|
4
|
+
"alphanumName": "DiagonalAchoo",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/diagonal-achoo",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Easy Comparision",
|
|
9
|
+
"alphanumName": "EasyComparision",
|
|
10
|
+
"file": "01 - Easy Comparision.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Simulation Chamber - I",
|
|
14
|
+
"alphanumName": "SimulationChamberI",
|
|
15
|
+
"file": "02 - Simulation Chamber - I.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Simulation Chamber - II",
|
|
19
|
+
"alphanumName": "SimulationChamberII",
|
|
20
|
+
"file": "03 - Simulation Chamber - II.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Large Scale Simulation",
|
|
24
|
+
"alphanumName": "LargeScaleSimulation",
|
|
25
|
+
"file": "04 - Large Scale Simulation.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "One Man Chambers",
|
|
29
|
+
"alphanumName": "OneManChambers",
|
|
30
|
+
"file": "05 - One Man Chambers.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Weird Patterns - I",
|
|
34
|
+
"alphanumName": "WeirdPatternsI",
|
|
35
|
+
"file": "06 - Weird Patterns - I.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Weird Patterns - II",
|
|
39
|
+
"alphanumName": "WeirdPatternsII",
|
|
40
|
+
"file": "07 - Weird Patterns - II.txt"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
4
|
|
2
|
+
10
|
|
3
|
+
CH.H
|
|
4
|
+
....
|
|
5
|
+
....
|
|
6
|
+
.H..
|
|
7
|
+
C..H
|
|
8
|
+
....
|
|
9
|
+
....
|
|
10
|
+
H..H
|
|
11
|
+
....
|
|
12
|
+
.H..
|
|
13
|
+
.H..
|
|
14
|
+
CH..
|
|
15
|
+
.C..
|
|
16
|
+
H...
|
|
17
|
+
..H.
|
|
18
|
+
...H
|
|
19
|
+
..H.
|
|
20
|
+
..H.
|
|
21
|
+
.HC.
|
|
22
|
+
....
|
|
23
|
+
....
|
|
24
|
+
H..H
|
|
25
|
+
.C..
|
|
26
|
+
..H.
|
|
27
|
+
....
|
|
28
|
+
....
|
|
29
|
+
.H.C
|
|
30
|
+
HH..
|
|
31
|
+
H...
|
|
32
|
+
...H
|
|
33
|
+
...H
|
|
34
|
+
...C
|
|
35
|
+
..H.
|
|
36
|
+
...H
|
|
37
|
+
..C.
|
|
38
|
+
.H..
|
|
39
|
+
.H..
|
|
40
|
+
....
|
|
41
|
+
H...
|
|
42
|
+
.HC.
|