@cyrilverloop/codingame-configuration 1.18.0 → 1.20.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 +30 -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/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/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/BeautifulBaseIsABeautifulSum/code/CGCode.cpp +17 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.java +16 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.js +6 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.php +7 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/code/CGCode.ts +6 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/config.json +33 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/input/01 - test 1.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/input/02 - test 2.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/input/03 - test 3.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/input/04 - test 4.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/input/05 - test 5.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/output/01 - test 1.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/output/02 - test 2.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/output/03 - test 3.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/output/04 - test 4.txt +1 -0
- package/config/hard/BeautifulBaseIsABeautifulSum/output/05 - test 5.txt +1 -0
- package/config/hard/UnfloodTheWorld/code/CGCode.cpp +24 -0
- package/config/hard/UnfloodTheWorld/code/CGCode.java +22 -0
- package/config/hard/UnfloodTheWorld/code/CGCode.js +14 -0
- package/config/hard/UnfloodTheWorld/code/CGCode.php +15 -0
- package/config/hard/UnfloodTheWorld/code/CGCode.ts +14 -0
- package/config/hard/UnfloodTheWorld/config.json +48 -0
- package/config/hard/UnfloodTheWorld/input/01 - One drain.txt +5 -0
- package/config/hard/UnfloodTheWorld/input/02 - Hill.txt +6 -0
- package/config/hard/UnfloodTheWorld/input/03 - Wall.txt +4 -0
- package/config/hard/UnfloodTheWorld/input/04 - Flat field.txt +4 -0
- package/config/hard/UnfloodTheWorld/input/05 - Chess board.txt +6 -0
- package/config/hard/UnfloodTheWorld/input/06 - Fractal.txt +10 -0
- package/config/hard/UnfloodTheWorld/input/07 - Maze.txt +10 -0
- package/config/hard/UnfloodTheWorld/input/08 - Plateaus.txt +7 -0
- package/config/hard/UnfloodTheWorld/output/01 - One drain.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/02 - Hill.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/03 - Wall.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/04 - Flat field.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/05 - Chess board.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/06 - Fractal.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/07 - Maze.txt +1 -0
- package/config/hard/UnfloodTheWorld/output/08 - Plateaus.txt +1 -0
- package/config/{hard → medium}/Hangman/config.json +1 -1
- package/config/medium/HillNotationAndHillOrder/code/CGCode.cpp +26 -0
- package/config/medium/HillNotationAndHillOrder/code/CGCode.java +26 -0
- package/config/medium/HillNotationAndHillOrder/code/CGCode.js +9 -0
- package/config/medium/HillNotationAndHillOrder/code/CGCode.php +11 -0
- package/config/medium/HillNotationAndHillOrder/code/CGCode.ts +9 -0
- package/config/medium/HillNotationAndHillOrder/config.json +33 -0
- package/config/medium/HillNotationAndHillOrder/input/01 - Simple Sort.txt +4 -0
- package/config/medium/HillNotationAndHillOrder/input/02 - Quantity Sort.txt +7 -0
- package/config/medium/HillNotationAndHillOrder/input/03 - Duplicates.txt +4 -0
- package/config/medium/HillNotationAndHillOrder/input/04 - Bigger Sort.txt +11 -0
- package/config/medium/HillNotationAndHillOrder/input/05 - Parenthesis.txt +4 -0
- package/config/medium/HillNotationAndHillOrder/output/01 - Simple Sort.txt +3 -0
- package/config/medium/HillNotationAndHillOrder/output/02 - Quantity Sort.txt +6 -0
- package/config/medium/HillNotationAndHillOrder/output/03 - Duplicates.txt +1 -0
- package/config/medium/HillNotationAndHillOrder/output/04 - Bigger Sort.txt +10 -0
- package/config/medium/HillNotationAndHillOrder/output/05 - Parenthesis.txt +3 -0
- package/config/medium/InequalityOverlapArea/code/CGCode.cpp +23 -0
- package/config/medium/InequalityOverlapArea/code/CGCode.java +24 -0
- package/config/medium/InequalityOverlapArea/code/CGCode.js +11 -0
- package/config/medium/InequalityOverlapArea/code/CGCode.php +13 -0
- package/config/medium/InequalityOverlapArea/code/CGCode.ts +11 -0
- package/config/medium/InequalityOverlapArea/config.json +68 -0
- package/config/medium/InequalityOverlapArea/input/01 - Simple Overlap.txt +4 -0
- package/config/medium/InequalityOverlapArea/input/02 - Floating.txt +5 -0
- package/config/medium/InequalityOverlapArea/input/03 - Pentagon.txt +6 -0
- package/config/medium/InequalityOverlapArea/input/04 - NO.txt +9 -0
- package/config/medium/InequalityOverlapArea/input/05 - Infinite.txt +7 -0
- package/config/medium/InequalityOverlapArea/input/06 - NoOverlap.txt +10 -0
- package/config/medium/InequalityOverlapArea/input/07 - Not Finite.txt +10 -0
- package/config/medium/InequalityOverlapArea/input/08 - Same Graph.txt +6 -0
- package/config/medium/InequalityOverlapArea/input/09 - One Line.txt +7 -0
- package/config/medium/InequalityOverlapArea/input/10 - One Point.txt +11 -0
- package/config/medium/InequalityOverlapArea/input/11 - Quadrilateral.txt +5 -0
- package/config/medium/InequalityOverlapArea/input/12 - Rectangle.txt +5 -0
- package/config/medium/InequalityOverlapArea/output/01 - Simple Overlap.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/02 - Floating.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/03 - Pentagon.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/04 - NO.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/05 - Infinite.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/06 - NoOverlap.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/07 - Not Finite.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/08 - Same Graph.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/09 - One Line.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/10 - One Point.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/11 - Quadrilateral.txt +1 -0
- package/config/medium/InequalityOverlapArea/output/12 - Rectangle.txt +1 -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/SwappingElements/code/CGCode.cpp +21 -0
- package/config/medium/SwappingElements/code/CGCode.java +22 -0
- package/config/medium/SwappingElements/code/CGCode.js +9 -0
- package/config/medium/SwappingElements/code/CGCode.php +11 -0
- package/config/medium/SwappingElements/code/CGCode.ts +9 -0
- package/config/medium/SwappingElements/config.json +83 -0
- package/config/medium/SwappingElements/input/01 - Kindergarten.txt +4 -0
- package/config/medium/SwappingElements/input/02 - ABC.txt +8 -0
- package/config/medium/SwappingElements/input/03 - Thread.txt +5 -0
- package/config/medium/SwappingElements/input/04 - Bob.txt +8 -0
- package/config/medium/SwappingElements/input/05 - Not Bob.txt +4 -0
- package/config/medium/SwappingElements/input/06 - Vacuum of the Space Key.txt +7 -0
- package/config/medium/SwappingElements/input/07 - Periodic Table.txt +19 -0
- package/config/medium/SwappingElements/input/08 - Chemical Compounds.txt +28 -0
- package/config/medium/SwappingElements/input/09 - Gibberish.txt +14 -0
- package/config/medium/SwappingElements/input/10 - Negative.txt +40 -0
- package/config/medium/SwappingElements/input/11 - How/342/200/231s your day going.txt" +19 -0
- package/config/medium/SwappingElements/input/12 - The World Ends.txt +117 -0
- package/config/medium/SwappingElements/input/13 - Numbering the Last One.txt +30 -0
- package/config/medium/SwappingElements/input/14 - Random.txt +19 -0
- package/config/medium/SwappingElements/input/15 - Coding.txt +10 -0
- package/config/medium/SwappingElements/output/01 - Kindergarten.txt +1 -0
- package/config/medium/SwappingElements/output/02 - ABC.txt +1 -0
- package/config/medium/SwappingElements/output/03 - Thread.txt +1 -0
- package/config/medium/SwappingElements/output/04 - Bob.txt +1 -0
- package/config/medium/SwappingElements/output/05 - Not Bob.txt +1 -0
- package/config/medium/SwappingElements/output/06 - Vacuum of the Space Key.txt +1 -0
- package/config/medium/SwappingElements/output/07 - Periodic Table.txt +1 -0
- package/config/medium/SwappingElements/output/08 - Chemical Compounds.txt +1 -0
- package/config/medium/SwappingElements/output/09 - Gibberish.txt +1 -0
- package/config/medium/SwappingElements/output/10 - Negative.txt +1 -0
- package/config/medium/SwappingElements/output/11 - How/342/200/231s your day going.txt" +1 -0
- package/config/medium/SwappingElements/output/12 - The World Ends.txt +1 -0
- package/config/medium/SwappingElements/output/13 - Numbering the Last One.txt +1 -0
- package/config/medium/SwappingElements/output/14 - Random.txt +1 -0
- package/config/medium/SwappingElements/output/15 - Coding.txt +1 -0
- package/config/medium/TableSolver/code/CGCode.cpp +21 -0
- package/config/medium/TableSolver/code/CGCode.java +22 -0
- package/config/medium/TableSolver/code/CGCode.js +9 -0
- package/config/medium/TableSolver/code/CGCode.php +11 -0
- package/config/medium/TableSolver/code/CGCode.ts +9 -0
- package/config/medium/TableSolver/config.json +43 -0
- package/config/medium/TableSolver/input/01 - Addition.txt +8 -0
- package/config/medium/TableSolver/input/02 - Subtraction.txt +8 -0
- package/config/medium/TableSolver/input/03 - Multiplication.txt +10 -0
- package/config/medium/TableSolver/input/04 - small.txt +4 -0
- package/config/medium/TableSolver/input/05 - BIG.txt +15 -0
- package/config/medium/TableSolver/input/06 - CG.txt +24 -0
- package/config/medium/TableSolver/input/07 - 0.txt +10 -0
- package/config/medium/TableSolver/output/01 - Addition.txt +7 -0
- package/config/medium/TableSolver/output/02 - Subtraction.txt +7 -0
- package/config/medium/TableSolver/output/03 - Multiplication.txt +9 -0
- package/config/medium/TableSolver/output/04 - small.txt +3 -0
- package/config/medium/TableSolver/output/05 - BIG.txt +15 -0
- package/config/medium/TableSolver/output/06 - CG.txt +23 -0
- package/config/medium/TableSolver/output/07 - 0.txt +9 -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/config/{hard → medium}/Hangman/code/CGCode.js +0 -0
- /package/config/{hard → medium}/Hangman/code/CGCode.php +0 -0
- /package/config/{hard → medium}/Hangman/input/01 - Solution found.txt +0 -0
- /package/config/{hard → medium}/Hangman/input/02 - Wrong answer.txt +0 -0
- /package/config/{hard → medium}/Hangman/input/03 - White space.txt +0 -0
- /package/config/{hard → medium}/Hangman/input/04 - Same letter.txt +0 -0
- /package/config/{hard → medium}/Hangman/output/01 - Solution found.txt +0 -0
- /package/config/{hard → medium}/Hangman/output/02 - Wrong answer.txt +0 -0
- /package/config/{hard → medium}/Hangman/output/03 - White space.txt +0 -0
- /package/config/{hard → medium}/Hangman/output/04 - Same letter.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
377
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
49
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
53
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3569
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
171989
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2952449
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1681
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#include <iostream>
|
|
2
|
+
#include <string>
|
|
3
|
+
#include <vector>
|
|
4
|
+
#include <algorithm>
|
|
5
|
+
|
|
6
|
+
using namespace std;
|
|
7
|
+
|
|
8
|
+
int main()
|
|
9
|
+
{
|
|
10
|
+
float pex;
|
|
11
|
+
float pey;
|
|
12
|
+
float pez;
|
|
13
|
+
cin >> pex >> pey >> pez; cin.ignore();
|
|
14
|
+
float vex;
|
|
15
|
+
float vey;
|
|
16
|
+
float vez;
|
|
17
|
+
cin >> vex >> vey >> vez; cin.ignore();
|
|
18
|
+
float pgx;
|
|
19
|
+
float pgy;
|
|
20
|
+
float pgz;
|
|
21
|
+
cin >> pgx >> pgy >> pgz; cin.ignore();
|
|
22
|
+
float vp;
|
|
23
|
+
cin >> vp; cin.ignore();
|
|
24
|
+
|
|
25
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
26
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
27
|
+
|
|
28
|
+
cout << "vpx vpy vpz" << endl;
|
|
29
|
+
cout << "time" << endl;
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
float pex = in.nextFloat();
|
|
10
|
+
float pey = in.nextFloat();
|
|
11
|
+
float pez = in.nextFloat();
|
|
12
|
+
float vex = in.nextFloat();
|
|
13
|
+
float vey = in.nextFloat();
|
|
14
|
+
float vez = in.nextFloat();
|
|
15
|
+
float pgx = in.nextFloat();
|
|
16
|
+
float pgy = in.nextFloat();
|
|
17
|
+
float pgz = in.nextFloat();
|
|
18
|
+
float vp = in.nextFloat();
|
|
19
|
+
|
|
20
|
+
// Write an answer using System.out.println()
|
|
21
|
+
// To debug: System.err.println("Debug messages...");
|
|
22
|
+
|
|
23
|
+
System.out.println("vpx vpy vpz");
|
|
24
|
+
System.out.println("time");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var inputs = readline().split(' ');
|
|
2
|
+
const pex = parseFloat(inputs[0]);
|
|
3
|
+
const pey = parseFloat(inputs[1]);
|
|
4
|
+
const pez = parseFloat(inputs[2]);
|
|
5
|
+
var inputs = readline().split(' ');
|
|
6
|
+
const vex = parseFloat(inputs[0]);
|
|
7
|
+
const vey = parseFloat(inputs[1]);
|
|
8
|
+
const vez = parseFloat(inputs[2]);
|
|
9
|
+
var inputs = readline().split(' ');
|
|
10
|
+
const pgx = parseFloat(inputs[0]);
|
|
11
|
+
const pgy = parseFloat(inputs[1]);
|
|
12
|
+
const pgz = parseFloat(inputs[2]);
|
|
13
|
+
const vp = parseFloat(readline());
|
|
14
|
+
|
|
15
|
+
// Write an answer using console.log()
|
|
16
|
+
// To debug: console.error('Debug messages...');
|
|
17
|
+
|
|
18
|
+
console.log('vpx vpy vpz');
|
|
19
|
+
console.log('time');
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%f %f %f", $pex, $pey, $pez);
|
|
3
|
+
fscanf(STDIN, "%f %f %f", $vex, $vey, $vez);
|
|
4
|
+
fscanf(STDIN, "%f %f %f", $pgx, $pgy, $pgz);
|
|
5
|
+
fscanf(STDIN, "%f", $vp);
|
|
6
|
+
|
|
7
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
|
8
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
|
9
|
+
|
|
10
|
+
echo("vpx vpy vpz\n");
|
|
11
|
+
echo("time\n");
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
|
2
|
+
const pex: number = parseFloat(inputs[0]);
|
|
3
|
+
const pey: number = parseFloat(inputs[1]);
|
|
4
|
+
const pez: number = parseFloat(inputs[2]);
|
|
5
|
+
var inputs: string[] = readline().split(' ');
|
|
6
|
+
const vex: number = parseFloat(inputs[0]);
|
|
7
|
+
const vey: number = parseFloat(inputs[1]);
|
|
8
|
+
const vez: number = parseFloat(inputs[2]);
|
|
9
|
+
var inputs: string[] = readline().split(' ');
|
|
10
|
+
const pgx: number = parseFloat(inputs[0]);
|
|
11
|
+
const pgy: number = parseFloat(inputs[1]);
|
|
12
|
+
const pgz: number = parseFloat(inputs[2]);
|
|
13
|
+
const vp: number = parseFloat(readline());
|
|
14
|
+
|
|
15
|
+
// Write an answer using console.log()
|
|
16
|
+
// To debug: console.error('Debug messages...');
|
|
17
|
+
|
|
18
|
+
console.log('vpx vpy vpz');
|
|
19
|
+
console.log('time');
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/MovingTarget",
|
|
3
|
+
"name": "Moving Target",
|
|
4
|
+
"alphanumName": "MovingTarget",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/moving-target",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Perpendicular case",
|
|
9
|
+
"alphanumName": "PerpendicularCase",
|
|
10
|
+
"file": "01 - Perpendicular case.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Barely a hit",
|
|
14
|
+
"alphanumName": "BarelyAHit",
|
|
15
|
+
"file": "02 - Barely a hit.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Too slow",
|
|
19
|
+
"alphanumName": "TooSlow",
|
|
20
|
+
"file": "03 - Too slow.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Plane at rest",
|
|
24
|
+
"alphanumName": "PlaneAtRest",
|
|
25
|
+
"file": "04 - Plane at rest.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Two solutions",
|
|
29
|
+
"alphanumName": "TwoSolutions",
|
|
30
|
+
"file": "05 - Two solutions.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Random 1",
|
|
34
|
+
"alphanumName": "Random1",
|
|
35
|
+
"file": "06 - Random 1.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Random 2",
|
|
39
|
+
"alphanumName": "Random2",
|
|
40
|
+
"file": "07 - Random 2.txt"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Random 3",
|
|
44
|
+
"alphanumName": "Random3",
|
|
45
|
+
"file": "08 - Random 3.txt"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Random 4",
|
|
49
|
+
"alphanumName": "Random4",
|
|
50
|
+
"file": "09 - Random 4.txt"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Impossible
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Impossible
|
|
@@ -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
|
+
string maze_size;
|
|
13
|
+
getline(cin, maze_size);
|
|
14
|
+
string starting_position;
|
|
15
|
+
getline(cin, starting_position);
|
|
16
|
+
string destination;
|
|
17
|
+
getline(cin, destination);
|
|
18
|
+
int b;
|
|
19
|
+
cin >> b; cin.ignore();
|
|
20
|
+
for (int i = 0; i < b; i++) {
|
|
21
|
+
string obstacle;
|
|
22
|
+
getline(cin, obstacle);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
|
26
|
+
// To debug: cerr << "Debug messages..." << endl;
|
|
27
|
+
|
|
28
|
+
cout << "42" << 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
|
+
if (in.hasNextLine()) {
|
|
11
|
+
in.nextLine();
|
|
12
|
+
}
|
|
13
|
+
String mazeSize = in.nextLine();
|
|
14
|
+
String startingPosition = in.nextLine();
|
|
15
|
+
String destination = in.nextLine();
|
|
16
|
+
int b = in.nextInt();
|
|
17
|
+
if (in.hasNextLine()) {
|
|
18
|
+
in.nextLine();
|
|
19
|
+
}
|
|
20
|
+
for (int i = 0; i < b; i++) {
|
|
21
|
+
String obstacle = in.nextLine();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Write an answer using System.out.println()
|
|
25
|
+
// To debug: System.err.println("Debug messages...");
|
|
26
|
+
|
|
27
|
+
System.out.println("42");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const n = parseInt(readline());
|
|
2
|
+
const mazeSize = readline();
|
|
3
|
+
const startingPosition = readline();
|
|
4
|
+
const destination = readline();
|
|
5
|
+
const b = parseInt(readline());
|
|
6
|
+
for (let i = 0; i < b; i++) {
|
|
7
|
+
const obstacle = readline();
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Write an answer using console.log()
|
|
11
|
+
// To debug: console.error('Debug messages...');
|
|
12
|
+
|
|
13
|
+
console.log('42');
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
fscanf(STDIN, "%d", $n);
|
|
3
|
+
$mazeSize = stream_get_line(STDIN, 200 + 1, "\n");
|
|
4
|
+
$startingPosition = stream_get_line(STDIN, 200 + 1, "\n");
|
|
5
|
+
$destination = stream_get_line(STDIN, 200 + 1, "\n");
|
|
6
|
+
fscanf(STDIN, "%d", $b);
|
|
7
|
+
for ($i = 0; $i < $b; $i++)
|
|
8
|
+
{
|
|
9
|
+
$obstacle = stream_get_line(STDIN, 200 + 1, "\n");
|
|
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("42\n");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const n: number = parseInt(readline());
|
|
2
|
+
const mazeSize: string = readline();
|
|
3
|
+
const startingPosition: string = readline();
|
|
4
|
+
const destination: string = readline();
|
|
5
|
+
const b: number = parseInt(readline());
|
|
6
|
+
for (let i = 0; i < b; i++) {
|
|
7
|
+
const obstacle: string = readline();
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Write an answer using console.log()
|
|
11
|
+
// To debug: console.error('Debug messages...');
|
|
12
|
+
|
|
13
|
+
console.log('42');
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path": "medium/NDimensionalMaze",
|
|
3
|
+
"name": "N-dimensional maze",
|
|
4
|
+
"alphanumName": "NDimensionalMaze",
|
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/n-dimensional-maze",
|
|
6
|
+
"tests": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Simple 3D",
|
|
9
|
+
"alphanumName": "Simple3D",
|
|
10
|
+
"file": "01 - Simple 3D.txt"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Simple 2D",
|
|
14
|
+
"alphanumName": "Simple2D",
|
|
15
|
+
"file": "02 - Simple 2D.txt"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "4D",
|
|
19
|
+
"alphanumName": "FourD",
|
|
20
|
+
"file": "03 - 4D.txt"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Hyper-hypercube",
|
|
24
|
+
"alphanumName": "HyperHypercube",
|
|
25
|
+
"file": "04 - Hyper-hypercube.txt"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "1D",
|
|
29
|
+
"alphanumName": "OneD",
|
|
30
|
+
"file": "05 - 1D.txt"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "3D NO PATH",
|
|
34
|
+
"alphanumName": "3DNOPATH",
|
|
35
|
+
"file": "06 - 3D NO PATH.txt"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Blocked",
|
|
39
|
+
"alphanumName": "Blocked",
|
|
40
|
+
"file": "07 - Blocked.txt"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "7D",
|
|
44
|
+
"alphanumName": "SevenD",
|
|
45
|
+
"file": "08 - 7D.txt"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "8D",
|
|
49
|
+
"alphanumName": "EightD",
|
|
50
|
+
"file": "09 - 8D.txt"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
4
|
|
2
|
+
5,5,4,4
|
|
3
|
+
1,1,1,1
|
|
4
|
+
2,3,1,1
|
|
5
|
+
78
|
|
6
|
+
0,0,1,1 3,0,1,1
|
|
7
|
+
0,0,3,3 0,1,3,3
|
|
8
|
+
0,1,0,1 0,1,0,1
|
|
9
|
+
0,1,0,3 1,1,0,3
|
|
10
|
+
0,1,2,0 0,1,2,1
|
|
11
|
+
0,1,3,1 0,1,3,1
|
|
12
|
+
0,2,1,0 1,2,1,2
|
|
13
|
+
0,2,2,2 0,3,2,2
|
|
14
|
+
0,2,3,0 0,2,3,0
|
|
15
|
+
0,2,3,2 0,2,3,2
|
|
16
|
+
0,3,0,1 0,3,1,1
|
|
17
|
+
0,3,0,3 0,3,3,3
|
|
18
|
+
0,3,2,0 0,4,2,0
|
|
19
|
+
0,3,3,1 0,4,3,1
|
|
20
|
+
0,4,0,0 0,4,0,0
|
|
21
|
+
0,4,0,2 0,4,0,2
|
|
22
|
+
0,4,1,1 0,4,2,1
|
|
23
|
+
0,4,1,2 1,4,1,2
|
|
24
|
+
1,0,2,1 1,0,2,1
|
|
25
|
+
1,0,2,2 1,1,3,2
|
|
26
|
+
1,0,3,0 1,1,3,0
|
|
27
|
+
1,1,0,0 2,2,0,0
|
|
28
|
+
1,1,2,0 1,1,2,0
|
|
29
|
+
1,2,0,1 2,2,0,2
|
|
30
|
+
1,2,1,3 1,2,3,3
|
|
31
|
+
1,2,2,1 1,2,3,1
|
|
32
|
+
1,3,0,0 1,3,2,2
|
|
33
|
+
1,3,3,2 1,4,3,2
|
|
34
|
+
1,4,1,0 3,4,1,1
|
|
35
|
+
1,4,2,1 1,4,2,1
|
|
36
|
+
1,4,3,0 3,4,3,1
|
|
37
|
+
2,0,1,2 3,0,2,2
|
|
38
|
+
2,0,2,3 2,3,3,3
|
|
39
|
+
2,0,3,0 2,1,3,1
|
|
40
|
+
2,1,1,0 2,2,2,1
|
|
41
|
+
2,1,1,2 2,1,1,2
|
|
42
|
+
2,2,0,3 2,3,0,3
|
|
43
|
+
2,2,1,3 4,2,1,3
|
|
44
|
+
2,2,3,0 2,2,3,0
|
|
45
|
+
2,3,0,1 3,3,0,1
|
|
46
|
+
2,3,0,2 2,3,1,2
|
|
47
|
+
2,3,2,0 2,3,2,0
|
|
48
|
+
2,3,3,1 2,3,3,1
|
|
49
|
+
2,4,0,0 2,4,0,0
|
|
50
|
+
2,4,2,2 3,4,2,3
|
|
51
|
+
2,4,3,3 2,4,3,3
|
|
52
|
+
3,0,0,0 3,0,0,0
|
|
53
|
+
3,0,1,3 4,0,1,3
|
|
54
|
+
3,0,2,0 3,0,2,0
|
|
55
|
+
3,0,3,1 3,0,3,1
|
|
56
|
+
3,1,0,2 3,1,0,3
|
|
57
|
+
3,1,1,0 3,1,1,0
|
|
58
|
+
3,1,2,1 3,1,2,1
|
|
59
|
+
3,1,2,2 3,3,3,2
|
|
60
|
+
3,1,2,3 3,1,3,3
|
|
61
|
+
3,2,0,0 3,3,0,0
|
|
62
|
+
3,2,0,1 4,2,1,1
|
|
63
|
+
3,2,1,2 3,2,1,2
|
|
64
|
+
3,2,2,0 3,2,2,0
|
|
65
|
+
3,2,3,1 3,2,3,1
|
|
66
|
+
3,3,0,3 3,3,1,3
|
|
67
|
+
3,3,1,0 3,3,2,1
|
|
68
|
+
3,3,3,3 3,3,3,3
|
|
69
|
+
3,4,0,2 3,4,0,2
|
|
70
|
+
4,0,0,1 4,0,0,3
|
|
71
|
+
4,0,2,1 4,0,2,1
|
|
72
|
+
4,0,2,2 4,1,3,2
|
|
73
|
+
4,0,3,0 4,0,3,0
|
|
74
|
+
4,0,3,3 4,0,3,3
|
|
75
|
+
4,1,0,0 4,1,1,2
|
|
76
|
+
4,1,1,3 4,1,1,3
|
|
77
|
+
4,1,2,3 4,4,2,3
|
|
78
|
+
4,2,2,1 4,2,3,1
|
|
79
|
+
4,3,0,2 4,3,0,3
|
|
80
|
+
4,3,1,1 4,3,3,2
|
|
81
|
+
4,4,1,2 4,4,1,2
|
|
82
|
+
4,4,2,0 4,4,2,1
|
|
83
|
+
4,4,3,2 4,4,3,2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
21
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
29
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
21
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
NO PATH
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
NO PATH
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
14
|