@cyrilverloop/codingame-configuration 1.17.1 → 1.18.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 +34 -1
- package/config/easy/CityLightsPart2/code/CGCode.cpp +27 -0
- package/config/easy/CityLightsPart2/code/CGCode.java +25 -0
- package/config/easy/CityLightsPart2/code/CGCode.js +12 -0
- package/config/easy/CityLightsPart2/code/CGCode.php +14 -0
- package/config/easy/CityLightsPart2/code/CGCode.ts +12 -0
- package/config/easy/CityLightsPart2/config.json +53 -0
- package/config/easy/CityLightsPart2/input/01 - Simple.txt +13 -0
- package/config/easy/CityLightsPart2/input/02 - Simple Again.txt +15 -0
- package/config/easy/CityLightsPart2/input/03 - More Towns.txt +27 -0
- package/config/easy/CityLightsPart2/input/04 - Rural.txt +33 -0
- package/config/easy/CityLightsPart2/input/05 - Urban.txt +43 -0
- package/config/easy/CityLightsPart2/input/06 - TOO MUCH LIGHT.txt +43 -0
- package/config/easy/CityLightsPart2/input/07 - im blind.txt +45 -0
- package/config/easy/CityLightsPart2/input/08 - pls stop wasting electricity.txt +39 -0
- package/config/easy/CityLightsPart2/input/09 - 2D again.txt +17 -0
- package/config/easy/CityLightsPart2/output/01 - Simple.txt +9 -0
- package/config/easy/CityLightsPart2/output/02 - Simple Again.txt +11 -0
- package/config/easy/CityLightsPart2/output/03 - More Towns.txt +23 -0
- package/config/easy/CityLightsPart2/output/04 - Rural.txt +29 -0
- package/config/easy/CityLightsPart2/output/05 - Urban.txt +39 -0
- package/config/easy/CityLightsPart2/output/06 - TOO MUCH LIGHT.txt +39 -0
- package/config/easy/CityLightsPart2/output/07 - im blind.txt +41 -0
- package/config/easy/CityLightsPart2/output/08 - pls stop wasting electricity.txt +35 -0
- package/config/easy/CityLightsPart2/output/09 - 2D again.txt +13 -0
- package/config/easy/ScaleableTicTacToe/code/CGCode.cpp +22 -0
- package/config/easy/ScaleableTicTacToe/code/CGCode.java +23 -0
- package/config/easy/ScaleableTicTacToe/code/CGCode.js +11 -0
- package/config/easy/ScaleableTicTacToe/code/CGCode.php +11 -0
- package/config/easy/ScaleableTicTacToe/code/CGCode.ts +11 -0
- package/config/easy/ScaleableTicTacToe/config.json +58 -0
- package/config/easy/ScaleableTicTacToe/input/01 - test 1.txt +4 -0
- package/config/easy/ScaleableTicTacToe/input/02 - test 2.txt +6 -0
- package/config/easy/ScaleableTicTacToe/input/03 - test 3.txt +7 -0
- package/config/easy/ScaleableTicTacToe/input/04 - test 4.txt +8 -0
- package/config/easy/ScaleableTicTacToe/input/05 - test 5.txt +5 -0
- package/config/easy/ScaleableTicTacToe/input/06 - test 6.txt +6 -0
- package/config/easy/ScaleableTicTacToe/input/07 - test 7.txt +7 -0
- package/config/easy/ScaleableTicTacToe/input/08 - test 8.txt +5 -0
- package/config/easy/ScaleableTicTacToe/input/09 - test 9.txt +13 -0
- package/config/easy/ScaleableTicTacToe/input/10 - test 10.txt +12 -0
- package/config/easy/ScaleableTicTacToe/output/01 - test 1.txt +4 -0
- package/config/easy/ScaleableTicTacToe/output/02 - test 2.txt +6 -0
- package/config/easy/ScaleableTicTacToe/output/03 - test 3.txt +7 -0
- package/config/easy/ScaleableTicTacToe/output/04 - test 4.txt +8 -0
- package/config/easy/ScaleableTicTacToe/output/05 - test 5.txt +5 -0
- package/config/easy/ScaleableTicTacToe/output/06 - test 6.txt +6 -0
- package/config/easy/ScaleableTicTacToe/output/07 - test 7.txt +7 -0
- package/config/easy/ScaleableTicTacToe/output/08 - test 8.txt +5 -0
- package/config/easy/ScaleableTicTacToe/output/09 - test 9.txt +13 -0
- package/config/easy/ScaleableTicTacToe/output/10 - test 10.txt +12 -0
- package/config/expert/AMillionDigitsOfPi/code/CGCode.cpp +19 -0
- package/config/expert/AMillionDigitsOfPi/code/CGCode.java +17 -0
- package/config/expert/AMillionDigitsOfPi/code/CGCode.js +7 -0
- package/config/expert/AMillionDigitsOfPi/code/CGCode.php +8 -0
- package/config/expert/AMillionDigitsOfPi/code/CGCode.ts +7 -0
- package/config/expert/AMillionDigitsOfPi/config.json +43 -0
- package/config/expert/AMillionDigitsOfPi/input/01 - test 1.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/02 - test 2.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/03 - test 3.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/04 - test 4.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/05 - test 5.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/06 - test 6.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/input/07 - test 7.txt +2 -0
- package/config/expert/AMillionDigitsOfPi/output/01 - test 1.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/02 - test 2.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/03 - test 3.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/04 - test 4.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/05 - test 5.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/06 - test 6.txt +1 -0
- package/config/expert/AMillionDigitsOfPi/output/07 - test 7.txt +1 -0
- package/config/expert/BinaryNeuralNetworkPart2/code/CGCode.cpp +29 -0
- package/config/expert/BinaryNeuralNetworkPart2/code/CGCode.java +26 -0
- package/config/expert/BinaryNeuralNetworkPart2/code/CGCode.js +18 -0
- package/config/expert/BinaryNeuralNetworkPart2/code/CGCode.php +18 -0
- package/config/expert/BinaryNeuralNetworkPart2/code/CGCode.ts +18 -0
- package/config/expert/BinaryNeuralNetworkPart2/config.json +38 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/01 - Average.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/02 - Reverse.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/03 - Last digit.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/04 - AndOr.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/05 - Always zero.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/input/06 - And Xor.txt +85 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/01 - Average.txt +4 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/02 - Reverse.txt +4 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/03 - Last digit.txt +4 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/04 - AndOr.txt +4 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/05 - Always zero.txt +4 -0
- package/config/expert/BinaryNeuralNetworkPart2/output/06 - And Xor.txt +4 -0
- package/config/expert/ChemicalEquationBalancing/code/CGCode.cpp +17 -0
- package/config/expert/ChemicalEquationBalancing/code/CGCode.java +16 -0
- package/config/expert/ChemicalEquationBalancing/code/CGCode.js +6 -0
- package/config/expert/ChemicalEquationBalancing/code/CGCode.php +7 -0
- package/config/expert/ChemicalEquationBalancing/code/CGCode.ts +6 -0
- package/config/expert/ChemicalEquationBalancing/config.json +53 -0
- package/config/expert/ChemicalEquationBalancing/input/01 - Simple & Single Letter Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/02 - Photosynthesis.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/03 - Multi-letter Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/04 - Fire.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/05 - Uncommon Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/06 - Chloroplatinic Acid.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/07 - Sulfuric Acid.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/08 - Not real chemistry.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/input/09 - Iron(III) fluoride.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/01 - Simple & Single Letter Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/02 - Photosynthesis.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/03 - Multi-letter Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/04 - Fire.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/05 - Uncommon Elements.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/06 - Chloroplatinic Acid.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/07 - Sulfuric Acid.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/08 - Not real chemistry.txt +1 -0
- package/config/expert/ChemicalEquationBalancing/output/09 - Iron(III) fluoride.txt +1 -0
- package/config/expert/CompletedMahjongHands/code/CGCode.cpp +17 -0
- package/config/expert/CompletedMahjongHands/code/CGCode.java +16 -0
- package/config/expert/CompletedMahjongHands/code/CGCode.js +6 -0
- package/config/expert/CompletedMahjongHands/code/CGCode.php +7 -0
- package/config/expert/CompletedMahjongHands/code/CGCode.ts +6 -0
- package/config/expert/CompletedMahjongHands/config.json +88 -0
- package/config/expert/CompletedMahjongHands/input/01 - Four triplets.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/02 - Wrong wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/03 - All sequences.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/04 - Wrong wind.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/05 - Seven pairs.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/06 - Kokushi musou, any wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/07 - Complex hand.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/08 - Complex wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/09 - No pair.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/10 - Wrong draw.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/11 - Right draw.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/12 - Trash.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/13 - Golden gate bridge.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/14 - Four overlapping runs.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/15 - Not seven pairs.txt +1 -0
- package/config/expert/CompletedMahjongHands/input/16 - Kokushi musou, missed wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/01 - Four triplets.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/02 - Wrong wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/03 - All sequences.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/04 - Wrong wind.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/05 - Seven pairs.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/06 - Kokushi musou, any wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/07 - Complex hand.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/08 - Complex wait.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/09 - No pair.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/10 - Wrong draw.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/11 - Right draw.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/12 - Trash.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/13 - Golden gate bridge.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/14 - Four overlapping runs.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/15 - Not seven pairs.txt +1 -0
- package/config/expert/CompletedMahjongHands/output/16 - Kokushi musou, missed wait.txt +1 -0
- package/config/expert/CrossTheLines/code/CGCode.cpp +24 -0
- package/config/expert/CrossTheLines/code/CGCode.java +22 -0
- package/config/expert/CrossTheLines/code/CGCode.js +13 -0
- package/config/expert/CrossTheLines/code/CGCode.php +11 -0
- package/config/expert/CrossTheLines/code/CGCode.ts +13 -0
- package/config/expert/CrossTheLines/config.json +83 -0
- package/config/expert/CrossTheLines/input/01 - One triangle.txt +4 -0
- package/config/expert/CrossTheLines/input/02 - 1 square.txt +5 -0
- package/config/expert/CrossTheLines/input/03 - Unconnected lines.txt +6 -0
- package/config/expert/CrossTheLines/input/04 - 1 square 1 triangle.txt +7 -0
- package/config/expert/CrossTheLines/input/05 - Unconnected lines 2.txt +9 -0
- package/config/expert/CrossTheLines/input/06 - It/342/200/231s a trap!.txt" +9 -0
- package/config/expert/CrossTheLines/input/07 - It is a non convex trap!.txt +9 -0
- package/config/expert/CrossTheLines/input/08 - It/342/200/231s a trap in a trap!.txt" +10 -0
- package/config/expert/CrossTheLines/input/09 - Touching triangles.txt +8 -0
- package/config/expert/CrossTheLines/input/10 - Touching squares.txt +10 -0
- package/config/expert/CrossTheLines/input/11 - Bigger case.txt +26 -0
- package/config/expert/CrossTheLines/input/12 - Triforce.txt +10 -0
- package/config/expert/CrossTheLines/input/13 - Quadforce.txt +13 -0
- package/config/expert/CrossTheLines/input/14 - Broken triforce.txt +10 -0
- package/config/expert/CrossTheLines/input/15 - Almost Destroyed Triforce.txt +10 -0
- package/config/expert/CrossTheLines/output/01 - One triangle.txt +1 -0
- package/config/expert/CrossTheLines/output/02 - 1 square.txt +1 -0
- package/config/expert/CrossTheLines/output/03 - Unconnected lines.txt +1 -0
- package/config/expert/CrossTheLines/output/04 - 1 square 1 triangle.txt +1 -0
- package/config/expert/CrossTheLines/output/05 - Unconnected lines 2.txt +1 -0
- package/config/expert/CrossTheLines/output/06 - It/342/200/231s a trap!.txt" +1 -0
- package/config/expert/CrossTheLines/output/07 - It is a non convex trap!.txt +1 -0
- package/config/expert/CrossTheLines/output/08 - It/342/200/231s a trap in a trap!.txt" +1 -0
- package/config/expert/CrossTheLines/output/09 - Touching triangles.txt +1 -0
- package/config/expert/CrossTheLines/output/10 - Touching squares.txt +1 -0
- package/config/expert/CrossTheLines/output/11 - Bigger case.txt +1 -0
- package/config/expert/CrossTheLines/output/12 - Triforce.txt +1 -0
- package/config/expert/CrossTheLines/output/13 - Quadforce.txt +1 -0
- package/config/expert/CrossTheLines/output/14 - Broken triforce.txt +1 -0
- package/config/expert/CrossTheLines/output/15 - Almost Destroyed Triforce.txt +1 -0
- package/config/expert/FillTheSquare/code/CGCode.cpp +23 -0
- package/config/expert/FillTheSquare/code/CGCode.java +24 -0
- package/config/expert/FillTheSquare/code/CGCode.js +11 -0
- package/config/expert/FillTheSquare/code/CGCode.php +14 -0
- package/config/expert/FillTheSquare/code/CGCode.ts +11 -0
- package/config/expert/FillTheSquare/config.json +28 -0
- package/config/expert/FillTheSquare/input/01 - 3x3.txt +4 -0
- package/config/expert/FillTheSquare/input/02 - 6x6.txt +7 -0
- package/config/expert/FillTheSquare/input/03 - 10x10.txt +11 -0
- package/config/expert/FillTheSquare/input/04 - CG.txt +16 -0
- package/config/expert/FillTheSquare/output/01 - 3x3.txt +3 -0
- package/config/expert/FillTheSquare/output/02 - 6x6.txt +6 -0
- package/config/expert/FillTheSquare/output/03 - 10x10.txt +10 -0
- package/config/expert/FillTheSquare/output/04 - CG.txt +15 -0
- package/config/expert/HighRiseBuildings/code/CGCode.cpp +39 -0
- package/config/expert/HighRiseBuildings/code/CGCode.java +33 -0
- package/config/expert/HighRiseBuildings/code/CGCode.js +23 -0
- package/config/expert/HighRiseBuildings/code/CGCode.php +30 -0
- package/config/expert/HighRiseBuildings/code/CGCode.ts +23 -0
- package/config/expert/HighRiseBuildings/config.json +28 -0
- package/config/expert/HighRiseBuildings/input/01 - test 1.txt +10 -0
- package/config/expert/HighRiseBuildings/input/02 - test 2.txt +11 -0
- package/config/expert/HighRiseBuildings/input/03 - test 3.txt +12 -0
- package/config/expert/HighRiseBuildings/input/04 - test 4.txt +13 -0
- package/config/expert/HighRiseBuildings/output/01 - test 1.txt +5 -0
- package/config/expert/HighRiseBuildings/output/02 - test 2.txt +6 -0
- package/config/expert/HighRiseBuildings/output/03 - test 3.txt +7 -0
- package/config/expert/HighRiseBuildings/output/04 - test 4.txt +8 -0
- package/config/expert/MathematicsForBigEars/code/CGCode.cpp +21 -0
- package/config/expert/MathematicsForBigEars/code/CGCode.java +22 -0
- package/config/expert/MathematicsForBigEars/code/CGCode.js +9 -0
- package/config/expert/MathematicsForBigEars/code/CGCode.php +11 -0
- package/config/expert/MathematicsForBigEars/code/CGCode.ts +9 -0
- package/config/expert/MathematicsForBigEars/config.json +73 -0
- package/config/expert/MathematicsForBigEars/input/01 - C3 Cyclic group with 3 elements.txt +2 -0
- package/config/expert/MathematicsForBigEars/input/02 - S3 Symmetric group on 3 elements.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/03 - Klein group.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/04 - D6 Dihedral group of the hexagon.txt +4 -0
- package/config/expert/MathematicsForBigEars/input/05 - H Group of quaternions.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/06 - S5 Symmetric group on 5 elements.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/07 - GL2(F3) Linear group of the 2/303/2272 matrices over the finite field with 3 elements.txt" +3 -0
- package/config/expert/MathematicsForBigEars/input/08 - PGL2(F3) Quotient of GL2(F3) by its centre.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/09 - PSL2(F7).txt +4 -0
- package/config/expert/MathematicsForBigEars/input/10 - S7 Symmetric group on 7 elements.txt +3 -0
- package/config/expert/MathematicsForBigEars/input/11 - Squares subgroup of the edges of the Rubik/342/200/231s cube.txt" +7 -0
- package/config/expert/MathematicsForBigEars/input/12 - M12 Mathieu group.txt +4 -0
- package/config/expert/MathematicsForBigEars/input/13 - S5/303/227S5/303/227S3.txt" +11 -0
- package/config/expert/MathematicsForBigEars/output/01 - C3 Cyclic group with 3 elements.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/02 - S3 Symmetric group on 3 elements.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/03 - Klein group.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/04 - D6 Dihedral group of the hexagon.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/05 - H Group of quaternions.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/06 - S5 Symmetric group on 5 elements.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/07 - GL2(F3) Linear group of the 2/303/2272 matrices over the finite field with 3 elements.txt" +1 -0
- package/config/expert/MathematicsForBigEars/output/08 - PGL2(F3) Quotient of GL2(F3) by its centre.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/09 - PSL2(F7).txt +1 -0
- package/config/expert/MathematicsForBigEars/output/10 - S7 Symmetric group on 7 elements.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/11 - Squares subgroup of the edges of the Rubik/342/200/231s cube.txt" +1 -0
- package/config/expert/MathematicsForBigEars/output/12 - M12 Mathieu group.txt +1 -0
- package/config/expert/MathematicsForBigEars/output/13 - S5/303/227S5/303/227S3.txt" +1 -0
- package/config/expert/MinimaxSimpleExample/code/CGCode.cpp +27 -0
- package/config/expert/MinimaxSimpleExample/code/CGCode.java +24 -0
- package/config/expert/MinimaxSimpleExample/code/CGCode.js +17 -0
- package/config/expert/MinimaxSimpleExample/code/CGCode.php +16 -0
- package/config/expert/MinimaxSimpleExample/code/CGCode.ts +17 -0
- package/config/expert/MinimaxSimpleExample/config.json +33 -0
- package/config/expert/MinimaxSimpleExample/input/01 - 4 turns.txt +6 -0
- package/config/expert/MinimaxSimpleExample/input/02 - 2 turns.txt +4 -0
- package/config/expert/MinimaxSimpleExample/input/03 - 8 turns.txt +13 -0
- package/config/expert/MinimaxSimpleExample/input/04 - 16 turns.txt +75 -0
- package/config/expert/MinimaxSimpleExample/input/05 - 24 turns - 100 words.txt +102 -0
- package/config/expert/MinimaxSimpleExample/output/01 - 4 turns.txt +1 -0
- package/config/expert/MinimaxSimpleExample/output/02 - 2 turns.txt +1 -0
- package/config/expert/MinimaxSimpleExample/output/03 - 8 turns.txt +1 -0
- package/config/expert/MinimaxSimpleExample/output/04 - 16 turns.txt +1 -0
- package/config/expert/MinimaxSimpleExample/output/05 - 24 turns - 100 words.txt +1 -0
- package/config/expert/NintendoSponsoredChallenge/config.json +1 -1
- package/config/expert/Nurikabe/code/CGCode.cpp +21 -0
- package/config/expert/Nurikabe/code/CGCode.java +22 -0
- package/config/expert/Nurikabe/code/CGCode.js +9 -0
- package/config/expert/Nurikabe/code/CGCode.php +11 -0
- package/config/expert/Nurikabe/code/CGCode.ts +9 -0
- package/config/expert/Nurikabe/config.json +63 -0
- package/config/expert/Nurikabe/input/01 - test 1.txt +6 -0
- package/config/expert/Nurikabe/input/02 - test 2.txt +6 -0
- package/config/expert/Nurikabe/input/03 - test 3.txt +8 -0
- package/config/expert/Nurikabe/input/04 - test 4.txt +8 -0
- package/config/expert/Nurikabe/input/05 - test 5.txt +11 -0
- package/config/expert/Nurikabe/input/06 - test 6.txt +11 -0
- package/config/expert/Nurikabe/input/07 - test 7.txt +13 -0
- package/config/expert/Nurikabe/input/08 - test 8.txt +13 -0
- package/config/expert/Nurikabe/input/09 - test 9.txt +16 -0
- package/config/expert/Nurikabe/input/10 - test 10.txt +16 -0
- package/config/expert/Nurikabe/input/11 - test 11.txt +21 -0
- package/config/expert/Nurikabe/output/01 - test 1.txt +5 -0
- package/config/expert/Nurikabe/output/02 - test 2.txt +5 -0
- package/config/expert/Nurikabe/output/03 - test 3.txt +7 -0
- package/config/expert/Nurikabe/output/04 - test 4.txt +7 -0
- package/config/expert/Nurikabe/output/05 - test 5.txt +10 -0
- package/config/expert/Nurikabe/output/06 - test 6.txt +10 -0
- package/config/expert/Nurikabe/output/07 - test 7.txt +12 -0
- package/config/expert/Nurikabe/output/08 - test 8.txt +12 -0
- package/config/expert/Nurikabe/output/09 - test 9.txt +15 -0
- package/config/expert/Nurikabe/output/10 - test 10.txt +15 -0
- package/config/expert/Nurikabe/output/11 - test 11.txt +20 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/code/CGCode.cpp +25 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/code/CGCode.java +23 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/code/CGCode.js +14 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/code/CGCode.php +14 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/code/CGCode.ts +14 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/config.json +48 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/01 - Basic.txt +12 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/02 - R = C (easy).txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/03 - R = C (medium).txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/04 - R = C (hard).txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/05 - R != C (easy).txt +21 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/06 - R != C (medium).txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/07 - R != C (hard).txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/input/08 - Mixed.txt +101 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/01 - Basic.txt +11 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/02 - R = C (easy).txt +100 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/03 - R = C (medium).txt +100 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/04 - R = C (hard).txt +100 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/05 - R != C (easy).txt +20 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/06 - R != C (medium).txt +100 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/07 - R != C (hard).txt +100 -0
- package/config/expert/PrimeFractalsinPascalsTriangle/output/08 - Mixed.txt +100 -0
- package/config/expert/PrimeTransformations/code/CGCode.cpp +24 -0
- package/config/expert/PrimeTransformations/code/CGCode.java +21 -0
- package/config/expert/PrimeTransformations/code/CGCode.js +12 -0
- package/config/expert/PrimeTransformations/code/CGCode.php +12 -0
- package/config/expert/PrimeTransformations/code/CGCode.ts +12 -0
- package/config/expert/PrimeTransformations/config.json +28 -0
- package/config/expert/PrimeTransformations/input/01 - Forward Power.txt +3 -0
- package/config/expert/PrimeTransformations/input/02 - Backward Power.txt +3 -0
- package/config/expert/PrimeTransformations/input/03 - Factor Deduction.txt +5 -0
- package/config/expert/PrimeTransformations/input/04 - Index Deduction.txt +3 -0
- package/config/expert/PrimeTransformations/output/01 - Forward Power.txt +1 -0
- package/config/expert/PrimeTransformations/output/02 - Backward Power.txt +1 -0
- package/config/expert/PrimeTransformations/output/03 - Factor Deduction.txt +1 -0
- package/config/expert/PrimeTransformations/output/04 - Index Deduction.txt +1 -0
- package/config/expert/RecurringDecimals/code/CGCode.cpp +17 -0
- package/config/expert/RecurringDecimals/code/CGCode.java +16 -0
- package/config/expert/RecurringDecimals/code/CGCode.js +6 -0
- package/config/expert/RecurringDecimals/code/CGCode.php +7 -0
- package/config/expert/RecurringDecimals/code/CGCode.ts +6 -0
- package/config/expert/RecurringDecimals/config.json +53 -0
- package/config/expert/RecurringDecimals/input/01 - Small Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/02 - Medium Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/03 - Large Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/04 - Small Non-Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/05 - Medium Non-Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/06 - Large Non Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/input/07 - Small Mixed.txt +1 -0
- package/config/expert/RecurringDecimals/input/08 - Large Mixed.txt +1 -0
- package/config/expert/RecurringDecimals/input/09 - Test 9.txt +1 -0
- package/config/expert/RecurringDecimals/output/01 - Small Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/02 - Medium Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/03 - Large Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/04 - Small Non-Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/05 - Medium Non-Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/06 - Large Non Terminating.txt +1 -0
- package/config/expert/RecurringDecimals/output/07 - Small Mixed.txt +1 -0
- package/config/expert/RecurringDecimals/output/08 - Large Mixed.txt +1 -0
- package/config/expert/RecurringDecimals/output/09 - Test 9.txt +1 -0
- package/config/expert/RunningUpThatHill/code/CGCode.cpp +24 -0
- package/config/expert/RunningUpThatHill/code/CGCode.java +20 -0
- package/config/expert/RunningUpThatHill/code/CGCode.js +10 -0
- package/config/expert/RunningUpThatHill/code/CGCode.php +11 -0
- package/config/expert/RunningUpThatHill/code/CGCode.ts +10 -0
- package/config/expert/RunningUpThatHill/config.json +78 -0
- package/config/expert/RunningUpThatHill/input/01 - Example: 2/303/2272.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/02 - 2/303/2272.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/03 - Another 2/303/2272.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/04 - 3/303/2273.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/05 - Another 3/303/2273.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/06 - 3/303/2273 permutation.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/07 - 4/303/2274.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/08 - Another 4/303/2274.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/09 - 5/303/2275.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/10 - Another 5/303/2275.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/11 - 5/303/2275 permutation.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/12 - 6/303/2276.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/13 - Another 6/303/2276.txt" +4 -0
- package/config/expert/RunningUpThatHill/input/14 - Mind the repetition.txt +4 -0
- package/config/expert/RunningUpThatHill/output/01 - Example: 2/303/2272.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/02 - 2/303/2272.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/03 - Another 2/303/2272.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/04 - 3/303/2273.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/05 - Another 3/303/2273.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/06 - 3/303/2273 permutation.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/07 - 4/303/2274.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/08 - Another 4/303/2274.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/09 - 5/303/2275.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/10 - Another 5/303/2275.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/11 - 5/303/2275 permutation.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/12 - 6/303/2276.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/13 - Another 6/303/2276.txt" +2 -0
- package/config/expert/RunningUpThatHill/output/14 - Mind the repetition.txt +2 -0
- package/config/expert/Skylines/code/CGCode.cpp +23 -0
- package/config/expert/Skylines/code/CGCode.java +21 -0
- package/config/expert/Skylines/code/CGCode.js +12 -0
- package/config/expert/Skylines/code/CGCode.php +11 -0
- package/config/expert/Skylines/code/CGCode.ts +12 -0
- package/config/expert/Skylines/config.json +63 -0
- package/config/expert/Skylines/input/01 - Single building.txt +2 -0
- package/config/expert/Skylines/input/02 - 2 separate buildings.txt +3 -0
- package/config/expert/Skylines/input/03 - 2 adjacent buildings.txt +3 -0
- package/config/expert/Skylines/input/04 - 2 overlapping buildings.txt +3 -0
- package/config/expert/Skylines/input/05 - 3 connected buildings.txt +4 -0
- package/config/expert/Skylines/input/06 - Lots of overlap.txt +11 -0
- package/config/expert/Skylines/input/07 - Separation.txt +11 -0
- package/config/expert/Skylines/input/08 - Big city.txt +26 -0
- package/config/expert/Skylines/input/09 - Bigger city.txt +51 -0
- package/config/expert/Skylines/input/10 - Metropolis.txt +101 -0
- package/config/expert/Skylines/input/11 - Almost adjacent.txt +3 -0
- package/config/expert/Skylines/output/01 - Single building.txt +1 -0
- package/config/expert/Skylines/output/02 - 2 separate buildings.txt +1 -0
- package/config/expert/Skylines/output/03 - 2 adjacent buildings.txt +1 -0
- package/config/expert/Skylines/output/04 - 2 overlapping buildings.txt +1 -0
- package/config/expert/Skylines/output/05 - 3 connected buildings.txt +1 -0
- package/config/expert/Skylines/output/06 - Lots of overlap.txt +1 -0
- package/config/expert/Skylines/output/07 - Separation.txt +1 -0
- package/config/expert/Skylines/output/08 - Big city.txt +1 -0
- package/config/expert/Skylines/output/09 - Bigger city.txt +1 -0
- package/config/expert/Skylines/output/10 - Metropolis.txt +1 -0
- package/config/expert/Skylines/output/11 - Almost adjacent.txt +1 -0
- package/config/expert/SlidingPuzzle/code/CGCode.cpp +22 -0
- package/config/expert/SlidingPuzzle/code/CGCode.java +23 -0
- package/config/expert/SlidingPuzzle/code/CGCode.js +11 -0
- package/config/expert/SlidingPuzzle/code/CGCode.php +11 -0
- package/config/expert/SlidingPuzzle/code/CGCode.ts +11 -0
- package/config/expert/SlidingPuzzle/config.json +28 -0
- package/config/expert/SlidingPuzzle/input/01 - 2x2.txt +3 -0
- package/config/expert/SlidingPuzzle/input/02 - 3x3.txt +4 -0
- package/config/expert/SlidingPuzzle/input/03 - 10x1.txt +11 -0
- package/config/expert/SlidingPuzzle/input/04 - 2x5.txt +3 -0
- package/config/expert/SlidingPuzzle/output/01 - 2x2.txt +1 -0
- package/config/expert/SlidingPuzzle/output/02 - 3x3.txt +1 -0
- package/config/expert/SlidingPuzzle/output/03 - 10x1.txt +1 -0
- package/config/expert/SlidingPuzzle/output/04 - 2x5.txt +1 -0
- package/config/expert/SpyTheSpies/code/CGCode.cpp +26 -0
- package/config/expert/SpyTheSpies/code/CGCode.java +27 -0
- package/config/expert/SpyTheSpies/code/CGCode.js +15 -0
- package/config/expert/SpyTheSpies/code/CGCode.php +11 -0
- package/config/expert/SpyTheSpies/code/CGCode.ts +15 -0
- package/config/expert/SpyTheSpies/config.json +33 -0
- package/config/expert/SpyTheSpies/input/01 - All in common.txt +16 -0
- package/config/expert/SpyTheSpies/input/02 - Common differentiator.txt +16 -0
- package/config/expert/SpyTheSpies/input/03 - Extra attributes.txt +16 -0
- package/config/expert/SpyTheSpies/input/04 - Extra steps.txt +16 -0
- package/config/expert/SpyTheSpies/input/05 - Very entangled.txt +16 -0
- package/config/expert/SpyTheSpies/output/01 - All in common.txt +1 -0
- package/config/expert/SpyTheSpies/output/02 - Common differentiator.txt +1 -0
- package/config/expert/SpyTheSpies/output/03 - Extra attributes.txt +1 -0
- package/config/expert/SpyTheSpies/output/04 - Extra steps.txt +3 -0
- package/config/expert/SpyTheSpies/output/05 - Very entangled.txt +11 -0
- package/config/expert/TheBarnyard/code/CGCode.cpp +26 -0
- package/config/expert/TheBarnyard/code/CGCode.java +23 -0
- package/config/expert/TheBarnyard/code/CGCode.js +15 -0
- package/config/expert/TheBarnyard/code/CGCode.php +16 -0
- package/config/expert/TheBarnyard/code/CGCode.ts +15 -0
- package/config/expert/TheBarnyard/config.json +28 -0
- package/config/expert/TheBarnyard/input/01 - Two animals.txt +4 -0
- package/config/expert/TheBarnyard/input/02 - Three animals.txt +5 -0
- package/config/expert/TheBarnyard/input/03 - Four animals.txt +6 -0
- package/config/expert/TheBarnyard/input/04 - Five animals.txt +7 -0
- package/config/expert/TheBarnyard/output/01 - Two animals.txt +2 -0
- package/config/expert/TheBarnyard/output/02 - Three animals.txt +3 -0
- package/config/expert/TheBarnyard/output/03 - Four animals.txt +4 -0
- package/config/expert/TheBarnyard/output/04 - Five animals.txt +5 -0
- package/config/expert/TheTwoPilesDifference/code/CGCode.cpp +21 -0
- package/config/expert/TheTwoPilesDifference/code/CGCode.java +19 -0
- package/config/expert/TheTwoPilesDifference/code/CGCode.js +10 -0
- package/config/expert/TheTwoPilesDifference/code/CGCode.php +12 -0
- package/config/expert/TheTwoPilesDifference/code/CGCode.ts +10 -0
- package/config/expert/TheTwoPilesDifference/config.json +33 -0
- package/config/expert/TheTwoPilesDifference/input/01 - Simple.txt +2 -0
- package/config/expert/TheTwoPilesDifference/input/02 - Normal.txt +2 -0
- package/config/expert/TheTwoPilesDifference/input/03 - Complex.txt +2 -0
- package/config/expert/TheTwoPilesDifference/input/04 - More values.txt +2 -0
- package/config/expert/TheTwoPilesDifference/input/05 - Big size.txt +2 -0
- package/config/expert/TheTwoPilesDifference/output/01 - Simple.txt +1 -0
- package/config/expert/TheTwoPilesDifference/output/02 - Normal.txt +1 -0
- package/config/expert/TheTwoPilesDifference/output/03 - Complex.txt +1 -0
- package/config/expert/TheTwoPilesDifference/output/04 - More values.txt +1 -0
- package/config/expert/TheTwoPilesDifference/output/05 - Big size.txt +1 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/code/CGCode.cpp +23 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/code/CGCode.java +20 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/code/CGCode.js +10 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/code/CGCode.php +12 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/code/CGCode.ts +10 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/config.json +28 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/input/01 - Example.txt +4 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/input/02 - 2 recipients.txt +4 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/input/03 - 3 recipients.txt +5 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/input/04 - 4 recipients.txt +6 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/output/01 - Example.txt +1 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/output/02 - 2 recipients.txt +1 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/output/03 - 3 recipients.txt +1 -0
- package/config/expert/TheWaterJugRiddleFromDieHard3/output/04 - 4 recipients.txt +1 -0
- package/config/expert/TilingBySquares/code/CGCode.cpp +18 -0
- package/config/expert/TilingBySquares/code/CGCode.java +17 -0
- package/config/expert/TilingBySquares/code/CGCode.js +8 -0
- package/config/expert/TilingBySquares/code/CGCode.php +7 -0
- package/config/expert/TilingBySquares/code/CGCode.ts +8 -0
- package/config/expert/TilingBySquares/config.json +43 -0
- package/config/expert/TilingBySquares/input/01 - test 1.txt +1 -0
- package/config/expert/TilingBySquares/input/02 - test 2.txt +1 -0
- package/config/expert/TilingBySquares/input/03 - test 3.txt +1 -0
- package/config/expert/TilingBySquares/input/04 - test 4.txt +1 -0
- package/config/expert/TilingBySquares/input/05 - test 5.txt +1 -0
- package/config/expert/TilingBySquares/input/06 - test 6.txt +1 -0
- package/config/expert/TilingBySquares/input/07 - test 7.txt +1 -0
- package/config/expert/TilingBySquares/output/01 - test 1.txt +1 -0
- package/config/expert/TilingBySquares/output/02 - test 2.txt +1 -0
- package/config/expert/TilingBySquares/output/03 - test 3.txt +1 -0
- package/config/expert/TilingBySquares/output/04 - test 4.txt +1 -0
- package/config/expert/TilingBySquares/output/05 - test 5.txt +1 -0
- package/config/expert/TilingBySquares/output/06 - test 6.txt +1 -0
- package/config/expert/TilingBySquares/output/07 - test 7.txt +1 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/code/CGCode.cpp +19 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/code/CGCode.java +18 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/code/CGCode.js +8 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/code/CGCode.php +10 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/code/CGCode.ts +8 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/config.json +33 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/input/01 - test 1.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/input/02 - test 2.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/input/03 - test 3.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/input/04 - test 4.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/input/05 - test 5.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/output/01 - test 1.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/output/02 - test 2.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/output/03 - test 3.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/output/04 - test 4.txt +25 -0
- package/config/expert/TwentyFIveXTwentyFIveSudoku/output/05 - test 5.txt +25 -0
- package/config/expert/UnfoldingPaper/code/CGCode.cpp +24 -0
- package/config/expert/UnfoldingPaper/code/CGCode.java +24 -0
- package/config/expert/UnfoldingPaper/code/CGCode.js +12 -0
- package/config/expert/UnfoldingPaper/code/CGCode.php +12 -0
- package/config/expert/UnfoldingPaper/code/CGCode.ts +12 -0
- package/config/expert/UnfoldingPaper/config.json +43 -0
- package/config/expert/UnfoldingPaper/input/01 - Example.txt +5 -0
- package/config/expert/UnfoldingPaper/input/02 - Multiple folds.txt +5 -0
- package/config/expert/UnfoldingPaper/input/03 - Big sheet.txt +13 -0
- package/config/expert/UnfoldingPaper/input/04 - Long unfolding.txt +5 -0
- package/config/expert/UnfoldingPaper/input/05 - Many pieces.txt +7 -0
- package/config/expert/UnfoldingPaper/input/06 - Random.txt +6 -0
- package/config/expert/UnfoldingPaper/input/07 - Chess board.txt +14 -0
- package/config/expert/UnfoldingPaper/output/01 - Example.txt +1 -0
- package/config/expert/UnfoldingPaper/output/02 - Multiple folds.txt +1 -0
- package/config/expert/UnfoldingPaper/output/03 - Big sheet.txt +1 -0
- package/config/expert/UnfoldingPaper/output/04 - Long unfolding.txt +1 -0
- package/config/expert/UnfoldingPaper/output/05 - Many pieces.txt +1 -0
- package/config/expert/UnfoldingPaper/output/06 - Random.txt +1 -0
- package/config/expert/UnfoldingPaper/output/07 - Chess board.txt +1 -0
- package/config/expert/WhenPigsFly/code/CGCode.cpp +21 -0
- package/config/expert/WhenPigsFly/code/CGCode.java +22 -0
- package/config/expert/WhenPigsFly/code/CGCode.js +9 -0
- package/config/expert/WhenPigsFly/code/CGCode.php +11 -0
- package/config/expert/WhenPigsFly/code/CGCode.ts +9 -0
- package/config/expert/WhenPigsFly/config.json +53 -0
- package/config/expert/WhenPigsFly/input/01 - Object classes.txt +4 -0
- package/config/expert/WhenPigsFly/input/02 - Traits and Abilities.txt +5 -0
- package/config/expert/WhenPigsFly/input/03 - Some but not all.txt +8 -0
- package/config/expert/WhenPigsFly/input/04 - Branching inheritance.txt +9 -0
- package/config/expert/WhenPigsFly/input/05 - Roundabout.txt +10 -0
- package/config/expert/WhenPigsFly/input/06 - Doubles.txt +5 -0
- package/config/expert/WhenPigsFly/input/07 - Big Loop.txt +10 -0
- package/config/expert/WhenPigsFly/input/08 - Unrelated.txt +12 -0
- package/config/expert/WhenPigsFly/input/09 - Final Test.txt +10 -0
- package/config/expert/WhenPigsFly/output/01 - Object classes.txt +1 -0
- package/config/expert/WhenPigsFly/output/02 - Traits and Abilities.txt +1 -0
- package/config/expert/WhenPigsFly/output/03 - Some but not all.txt +1 -0
- package/config/expert/WhenPigsFly/output/04 - Branching inheritance.txt +1 -0
- package/config/expert/WhenPigsFly/output/05 - Roundabout.txt +1 -0
- package/config/expert/WhenPigsFly/output/06 - Doubles.txt +1 -0
- package/config/expert/WhenPigsFly/output/07 - Big Loop.txt +1 -0
- package/config/expert/WhenPigsFly/output/08 - Unrelated.txt +1 -0
- package/config/expert/WhenPigsFly/output/09 - Final Test.txt +1 -0
- package/config/expert/Xorandor/code/CGCode.cpp +22 -0
- package/config/expert/Xorandor/code/CGCode.java +23 -0
- package/config/expert/Xorandor/code/CGCode.js +11 -0
- package/config/expert/Xorandor/code/CGCode.php +11 -0
- package/config/expert/Xorandor/code/CGCode.ts +11 -0
- package/config/expert/Xorandor/config.json +38 -0
- package/config/expert/Xorandor/input/01 - Example OrAnd.txt +10 -0
- package/config/expert/Xorandor/input/02 - Not.txt +12 -0
- package/config/expert/Xorandor/input/03 - Fork.txt +20 -0
- package/config/expert/Xorandor/input/04 - Switch.txt +16 -0
- package/config/expert/Xorandor/input/05 - Xnornandnor.txt +31 -0
- package/config/expert/Xorandor/input/06 - Big one.txt +37 -0
- package/config/expert/Xorandor/output/01 - Example OrAnd.txt +2 -0
- package/config/expert/Xorandor/output/02 - Not.txt +2 -0
- package/config/expert/Xorandor/output/03 - Fork.txt +3 -0
- package/config/expert/Xorandor/output/04 - Switch.txt +5 -0
- package/config/expert/Xorandor/output/05 - Xnornandnor.txt +6 -0
- package/config/expert/Xorandor/output/06 - Big one.txt +7 -0
- package/config/hard/PandorasBridges/code/CGCode.cpp +23 -0
- package/config/hard/PandorasBridges/code/CGCode.java +21 -0
- package/config/hard/PandorasBridges/code/CGCode.js +12 -0
- package/config/hard/PandorasBridges/code/CGCode.php +11 -0
- package/config/hard/PandorasBridges/code/CGCode.ts +12 -0
- package/config/hard/PandorasBridges/config.json +43 -0
- package/config/hard/PandorasBridges/input/01 - Small Islands.txt +11 -0
- package/config/hard/PandorasBridges/input/02 - Distance Checker.txt +5 -0
- package/config/hard/PandorasBridges/input/03 - Angle Checker.txt +6 -0
- package/config/hard/PandorasBridges/input/04 - Vertical and Horizontal.txt +6 -0
- package/config/hard/PandorasBridges/input/05 - Medium Islands.txt +28 -0
- package/config/hard/PandorasBridges/input/06 - Lots of Islands.txt +101 -0
- package/config/hard/PandorasBridges/input/07 - Lots Lots of Islands.txt +204 -0
- package/config/hard/PandorasBridges/output/01 - Small Islands.txt +2 -0
- package/config/hard/PandorasBridges/output/02 - Distance Checker.txt +2 -0
- package/config/hard/PandorasBridges/output/03 - Angle Checker.txt +2 -0
- package/config/hard/PandorasBridges/output/04 - Vertical and Horizontal.txt +2 -0
- package/config/hard/PandorasBridges/output/05 - Medium Islands.txt +2 -0
- package/config/hard/PandorasBridges/output/06 - Lots of Islands.txt +2 -0
- package/config/hard/PandorasBridges/output/07 - Lots Lots of Islands.txt +2 -0
- package/config/medium/MirrorRotation/code/CGCode.cpp +24 -0
- package/config/medium/MirrorRotation/code/CGCode.java +24 -0
- package/config/medium/MirrorRotation/code/CGCode.js +12 -0
- package/config/medium/MirrorRotation/code/CGCode.php +12 -0
- package/config/medium/MirrorRotation/code/CGCode.ts +12 -0
- package/config/medium/MirrorRotation/config.json +38 -0
- package/config/medium/MirrorRotation/input/01 - 1 Flip.txt +6 -0
- package/config/medium/MirrorRotation/input/02 - Multiple.txt +7 -0
- package/config/medium/MirrorRotation/input/03 - Shortest Path.txt +8 -0
- package/config/medium/MirrorRotation/input/04 - Swirl.txt +11 -0
- package/config/medium/MirrorRotation/input/05 - Loop.txt +7 -0
- package/config/medium/MirrorRotation/input/06 - Confusing.txt +12 -0
- package/config/medium/MirrorRotation/output/01 - 1 Flip.txt +1 -0
- package/config/medium/MirrorRotation/output/02 - Multiple.txt +2 -0
- package/config/medium/MirrorRotation/output/03 - Shortest Path.txt +1 -0
- package/config/medium/MirrorRotation/output/04 - Swirl.txt +6 -0
- package/config/medium/MirrorRotation/output/05 - Loop.txt +3 -0
- package/config/medium/MirrorRotation/output/06 - Confusing.txt +3 -0
- package/config/medium/SnakesAndLadders/code/CGCode.cpp +33 -0
- package/config/medium/SnakesAndLadders/code/CGCode.java +28 -0
- package/config/medium/SnakesAndLadders/code/CGCode.js +22 -0
- package/config/medium/SnakesAndLadders/code/CGCode.php +17 -0
- package/config/medium/SnakesAndLadders/code/CGCode.ts +22 -0
- package/config/medium/SnakesAndLadders/config.json +133 -0
- package/config/medium/SnakesAndLadders/input/01 - Small Board.txt +9 -0
- package/config/medium/SnakesAndLadders/input/02 - Standard Board.txt +12 -0
- package/config/medium/SnakesAndLadders/input/03 - Large Board.txt +20 -0
- package/config/medium/SnakesAndLadders/input/04 - Small Bland Board.txt +5 -0
- package/config/medium/SnakesAndLadders/input/05 - Medium Bland Board.txt +6 -0
- package/config/medium/SnakesAndLadders/input/06 - Large Bland Board.txt +7 -0
- package/config/medium/SnakesAndLadders/input/07 - Small Board and Small Dice.txt +12 -0
- package/config/medium/SnakesAndLadders/input/08 - Small Board and Large Dice.txt +11 -0
- package/config/medium/SnakesAndLadders/input/09 - Large Board and Small Die.txt +16 -0
- package/config/medium/SnakesAndLadders/input/10 - Large Board and Large Die.txt +18 -0
- package/config/medium/SnakesAndLadders/input/11 - Small Non-Standard Board.txt +11 -0
- package/config/medium/SnakesAndLadders/input/12 - Medium Non-Standard Board.txt +18 -0
- package/config/medium/SnakesAndLadders/input/13 - Large Non-Standard Board.txt +30 -0
- package/config/medium/SnakesAndLadders/input/14 - Pocket Board.txt +5 -0
- package/config/medium/SnakesAndLadders/input/15 - No Ladders, Just Snakes.txt +12 -0
- package/config/medium/SnakesAndLadders/input/16 - No Snakes, Just Ladders.txt +16 -0
- package/config/medium/SnakesAndLadders/input/17 - Empty Board.txt +3 -0
- package/config/medium/SnakesAndLadders/input/18 - Empty Board 2.txt +3 -0
- package/config/medium/SnakesAndLadders/input/19 - No Chaining Detector.txt +9 -0
- package/config/medium/SnakesAndLadders/input/20 - Helpful Ladder.txt +27 -0
- package/config/medium/SnakesAndLadders/input/21 - Many Snakes and Ladders.txt +44 -0
- package/config/medium/SnakesAndLadders/input/22 - Many Snakes and Ladders 2.txt +77 -0
- package/config/medium/SnakesAndLadders/input/23 - Many Snakes and Ladders 3.txt +36 -0
- package/config/medium/SnakesAndLadders/input/24 - Useful Snake.txt +14 -0
- package/config/medium/SnakesAndLadders/input/25 - Useful Snakes.txt +24 -0
- package/config/medium/SnakesAndLadders/output/01 - Small Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/02 - Standard Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/03 - Large Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/04 - Small Bland Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/05 - Medium Bland Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/06 - Large Bland Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/07 - Small Board and Small Dice.txt +1 -0
- package/config/medium/SnakesAndLadders/output/08 - Small Board and Large Dice.txt +1 -0
- package/config/medium/SnakesAndLadders/output/09 - Large Board and Small Die.txt +1 -0
- package/config/medium/SnakesAndLadders/output/10 - Large Board and Large Die.txt +1 -0
- package/config/medium/SnakesAndLadders/output/11 - Small Non-Standard Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/12 - Medium Non-Standard Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/13 - Large Non-Standard Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/14 - Pocket Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/15 - No Ladders, Just Snakes.txt +1 -0
- package/config/medium/SnakesAndLadders/output/16 - No Snakes, Just Ladders.txt +1 -0
- package/config/medium/SnakesAndLadders/output/17 - Empty Board.txt +1 -0
- package/config/medium/SnakesAndLadders/output/18 - Empty Board 2.txt +1 -0
- package/config/medium/SnakesAndLadders/output/19 - No Chaining Detector.txt +1 -0
- package/config/medium/SnakesAndLadders/output/20 - Helpful Ladder.txt +1 -0
- package/config/medium/SnakesAndLadders/output/21 - Many Snakes and Ladders.txt +1 -0
- package/config/medium/SnakesAndLadders/output/22 - Many Snakes and Ladders 2.txt +1 -0
- package/config/medium/SnakesAndLadders/output/23 - Many Snakes and Ladders 3.txt +1 -0
- package/config/medium/SnakesAndLadders/output/24 - Useful Snake.txt +1 -0
- package/config/medium/SnakesAndLadders/output/25 - Useful Snakes.txt +1 -0
- package/package.json +1 -1
@@ -0,0 +1,204 @@
|
|
1
|
+
203
|
2
|
+
652.33 125.3 1805.91
|
3
|
+
-564.96 352.98 1905.69
|
4
|
+
1057.46 -1561.74 2477.32
|
5
|
+
824.08 -1725.28 1060.38
|
6
|
+
-2479.09 179.54 2834.89
|
7
|
+
-1502.81 -926.15 2273.52
|
8
|
+
-1833.27 2011.72 1054.66
|
9
|
+
-1636.38 1545.92 1676.06
|
10
|
+
1384.78 1425.57 309.61
|
11
|
+
-1263.24 1834.6 2992.19
|
12
|
+
1287.47 2027.67 60.68
|
13
|
+
-434.34 509.84 3298.16
|
14
|
+
-1889.8 310.27 1540.45
|
15
|
+
94.02 -67.46 220.12
|
16
|
+
513.74 91.77 1395.6
|
17
|
+
1265.63 -267.63 720.22
|
18
|
+
615.82 377.34 2423.74
|
19
|
+
687.34 173.55 2385.8
|
20
|
+
-131.19 2078.1 3000.5
|
21
|
+
-600.46 88.97 292.65
|
22
|
+
384.25 -1543.86 3442.14
|
23
|
+
-983.73 2318.64 80.89
|
24
|
+
1281.57 -2457.23 54.68
|
25
|
+
-2305.92 1505.9 3099.3
|
26
|
+
244.15 -1790.06 730.79
|
27
|
+
791.27 -738.98 296.04
|
28
|
+
379.19 1981.15 2523.75
|
29
|
+
-791.5 -475.76 1085.5
|
30
|
+
-236.88 1153.12 1058.43
|
31
|
+
-1794.35 254.61 1313.08
|
32
|
+
1259.93 -774.47 568.96
|
33
|
+
1514.15 -1619.69 2954.5
|
34
|
+
1220.8 720.37 529.38
|
35
|
+
-750.00 200.0 300.00
|
36
|
+
-1500.00 400 600.00
|
37
|
+
-1500.00 -1500 2500.00
|
38
|
+
2409.23 1255.33 525.28
|
39
|
+
-1148.88 -243.27 420.97
|
40
|
+
-629.99 570.7 1423.56
|
41
|
+
69.08 1966.52 329.16
|
42
|
+
-1982.71 -870.46 3073.26
|
43
|
+
-652.36 -674.94 2482.1
|
44
|
+
-42.02 309.44 3140.51
|
45
|
+
867.09 1846.2 99.05
|
46
|
+
-1535.86 -2155.54 59.39
|
47
|
+
-849.58 -1132.14 720.58
|
48
|
+
-1146.84 687.87 2232.98
|
49
|
+
1208.54 940.46 450.43
|
50
|
+
981.49 -1706.36 3479.71
|
51
|
+
-1039.35 -851.48 2279.04
|
52
|
+
-396.44 2036.01 1750.94
|
53
|
+
-1358.95 -1241.92 1197.88
|
54
|
+
-1079.91 2299.84 3248.86
|
55
|
+
838.9 -1.11 2861.35
|
56
|
+
1172.23 2191.24 2137.7
|
57
|
+
1636.59 1669.91 3395.69
|
58
|
+
-1080.64 1758.27 1911.59
|
59
|
+
640.93 2224.55 821.27
|
60
|
+
1415.92 871.42 3194.5
|
61
|
+
-1508.99 5.46 305.18
|
62
|
+
-1197.45 -357.94 421.74
|
63
|
+
1753.71 -1277.14 71.54
|
64
|
+
614.1 -72.69 1373.32
|
65
|
+
2169.78 1495.07 3011.8
|
66
|
+
2482.59 1948.99 1040.53
|
67
|
+
-2456.16 1226.92 3064.11
|
68
|
+
-1026.44 1944.29 947.47
|
69
|
+
-1975.06 -928.85 916.73
|
70
|
+
1204.45 -1307.9 713.16
|
71
|
+
2076.35 750.32 976.22
|
72
|
+
1249.99 919.01 2692.47
|
73
|
+
-1378.04 -1940.54 2904.78
|
74
|
+
1488.82 -1968.28 840.1
|
75
|
+
1507.07 -71.76 3363.17
|
76
|
+
-2071.56 305.39 727.53
|
77
|
+
-188.04 -1776.4 3129.64
|
78
|
+
170.7 -114.13 121.24
|
79
|
+
-1788.18 1727.2 341.08
|
80
|
+
580.26 1206.42 1853.32
|
81
|
+
-1272.21 106.25 1658.67
|
82
|
+
1665.27 -617.58 640.4
|
83
|
+
262.32 -210.1 3257.08
|
84
|
+
1638.24 2333.69 2791.6
|
85
|
+
1471.09 -1436.3 602.6
|
86
|
+
302.84 -1772.2 1713.44
|
87
|
+
2070.83 -2312.62 823.7
|
88
|
+
1166.48 1244.73 248.66
|
89
|
+
-759.72 2427.89 2100.11
|
90
|
+
-2128.62 -855.95 1074.96
|
91
|
+
-244.52 506.45 2992.02
|
92
|
+
-1712.26 -1082.63 494.18
|
93
|
+
819.53 1454.14 1404.37
|
94
|
+
-1215.91 2022.64 162.25
|
95
|
+
-1081.61 1725.53 45.67
|
96
|
+
1997.79 -870.56 1654.38
|
97
|
+
1343.29 -1068.01 183.14
|
98
|
+
-2381.22 -542.96 1677.56
|
99
|
+
1330.93 -2477.0 2385.53
|
100
|
+
-1846.49 270.56 189.2
|
101
|
+
-2001.03 -1651.07 1186.08
|
102
|
+
255.17 941.68 3140.49
|
103
|
+
412.02 -331.66 1782.62
|
104
|
+
1689.81 -1752.27 2443.97
|
105
|
+
1733.54 1224.45 1696.73
|
106
|
+
1436.82 609.48 2136.94
|
107
|
+
69.21 1956.1 899.47
|
108
|
+
-1947.57 -399.47 837.68
|
109
|
+
-397.26 787.76 2829.81
|
110
|
+
2415.81 -322.33 67.19
|
111
|
+
-827.7 -2479.1 258.02
|
112
|
+
-891.59 781.63 3153.62
|
113
|
+
1488.24 -664.34 2649.39
|
114
|
+
516.68 -1817.12 3033.95
|
115
|
+
-1127.4 -1773.21 1402.37
|
116
|
+
-699.06 -1088.29 504.34
|
117
|
+
-1162.32 -1417.18 1125.15
|
118
|
+
2455.2 -1740.09 2928.67
|
119
|
+
1114.6 1296.15 1273.22
|
120
|
+
-2327.63 2296.92 2074.22
|
121
|
+
1628.89 -1592.13 1768.14
|
122
|
+
-867.07 1100.2 935.66
|
123
|
+
1654.15 -215.68 2073.48
|
124
|
+
-1798.67 72.48 614.6
|
125
|
+
-1708.01 339.59 2162.48
|
126
|
+
895.24 703.53 3061.29
|
127
|
+
312.1 -425.46 2601.97
|
128
|
+
-2043.34 1637.26 1018.3
|
129
|
+
1443.65 -1670.53 595.13
|
130
|
+
-21.36 18.16 1948.9
|
131
|
+
-1902.06 -1786.19 3428.71
|
132
|
+
316.97 128.58 2991.27
|
133
|
+
590.66 2269.29 54.72
|
134
|
+
-2370.24 -1586.29 2001.51
|
135
|
+
886.69 -1568.53 247.75
|
136
|
+
-134.64 1941.68 483.09
|
137
|
+
-506.85 1643.67 1733.68
|
138
|
+
-310.19 880.62 1884.77
|
139
|
+
961.77 -1868.31 3008.12
|
140
|
+
1761.27 169.05 3159.27
|
141
|
+
429.38 -527.86 1002.86
|
142
|
+
2295.53 -37.98 880.37
|
143
|
+
-966.03 -2108.11 622.27
|
144
|
+
206.07 -782.57 971.24
|
145
|
+
-328.35 53.19 46.3
|
146
|
+
41.18 -1664.83 2890.42
|
147
|
+
1481.41 1650.28 1785.98
|
148
|
+
-2065.67 1243.23 3142.99
|
149
|
+
760.9 335.01 422.55
|
150
|
+
2444.17 -476.95 3127.27
|
151
|
+
-1733.9 -2345.11 1815.0
|
152
|
+
1400.84 -1587.76 3186.55
|
153
|
+
653.91 -357.98 1367.77
|
154
|
+
-1943.08 1175.75 1891.19
|
155
|
+
-873.68 1387.73 2372.03
|
156
|
+
-75.03 -73.06 1460.9
|
157
|
+
-146.75 609.44 2870.4
|
158
|
+
-87.45 -781.31 100.6
|
159
|
+
-258.53 128.82 251.7
|
160
|
+
403.56 -1736.32 183.09
|
161
|
+
-1782.4 1297.39 2933.84
|
162
|
+
-1333.9 2289.97 2486.85
|
163
|
+
193.97 -1093.98 2001.78
|
164
|
+
620.61 1831.66 59.62
|
165
|
+
1905.06 1349.9 2836.77
|
166
|
+
1446.39 -666.78 3216.32
|
167
|
+
190.04 -114.11 775.78
|
168
|
+
-2184.32 -2440.66 2732.36
|
169
|
+
723.51 -2341.1 1239.61
|
170
|
+
-419.7 1195.54 1150.69
|
171
|
+
1482.71 -1306.86 1463.08
|
172
|
+
984.17 2029.5 253.11
|
173
|
+
-1976.7 -275.53 894.57
|
174
|
+
2140.91 1128.49 3106.91
|
175
|
+
-528.42 407.57 574.92
|
176
|
+
781.33 -128.55 1784.14
|
177
|
+
923.25 -785.51 1386.32
|
178
|
+
2486.69 -1768.9 2843.91
|
179
|
+
-762.07 -220.2 952.27
|
180
|
+
-2396.24 1365.01 2103.65
|
181
|
+
-2213.23 -2299.63 2351.68
|
182
|
+
2129.72 859.39 2821.3
|
183
|
+
912.43 -529.07 81.46
|
184
|
+
640.57 -2003.49 1376.17
|
185
|
+
-2310.64 428.74 406.16
|
186
|
+
91.53 -1275.1 3248.37
|
187
|
+
-1897.08 603.23 3232.5
|
188
|
+
-1631.21 -995.96 1349.7
|
189
|
+
-1092.57 337.01 2753.35
|
190
|
+
-868.04 680.12 497.57
|
191
|
+
-211.9 -1013.85 1026.35
|
192
|
+
-96.27 -1451.74 3266.77
|
193
|
+
1466.33 2438.42 1955.99
|
194
|
+
-2115.81 -1331.3 1916.46
|
195
|
+
2086.19 -171.21 1226.0
|
196
|
+
263.57 2134.14 2992.11
|
197
|
+
2349.97 1101.13 200.83
|
198
|
+
1786.48 -1291.16 1392.00
|
199
|
+
-1607.59 1565.11 1232.15
|
200
|
+
2073.16 588.92 537.81
|
201
|
+
-1324.04 1459.58 92.21
|
202
|
+
752.62 -1799.73 1885.10
|
203
|
+
2145.48 1775.38 2339.13
|
204
|
+
1830.41 821.98 2876.85
|
@@ -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 l;
|
11
|
+
int w;
|
12
|
+
cin >> l >> w; cin.ignore();
|
13
|
+
for (int i = 0; i < w; i++) {
|
14
|
+
string s;
|
15
|
+
getline(cin, s);
|
16
|
+
}
|
17
|
+
string dir;
|
18
|
+
cin >> dir; cin.ignore();
|
19
|
+
|
20
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
21
|
+
// To debug: cerr << "Debug messages..." << endl;
|
22
|
+
|
23
|
+
cout << "coords of the mirrors" << endl;
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import java.util.*;
|
2
|
+
import java.io.*;
|
3
|
+
import java.math.*;
|
4
|
+
|
5
|
+
class Solution {
|
6
|
+
|
7
|
+
public static void main(String args[]) {
|
8
|
+
Scanner in = new Scanner(System.in);
|
9
|
+
int l = in.nextInt();
|
10
|
+
int w = in.nextInt();
|
11
|
+
if (in.hasNextLine()) {
|
12
|
+
in.nextLine();
|
13
|
+
}
|
14
|
+
for (int i = 0; i < w; i++) {
|
15
|
+
String s = in.nextLine();
|
16
|
+
}
|
17
|
+
String dir = in.next();
|
18
|
+
|
19
|
+
// Write an answer using System.out.println()
|
20
|
+
// To debug: System.err.println("Debug messages...");
|
21
|
+
|
22
|
+
System.out.println("coords of the mirrors");
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
var inputs = readline().split(' ');
|
2
|
+
const l = parseInt(inputs[0]);
|
3
|
+
const w = parseInt(inputs[1]);
|
4
|
+
for (let i = 0; i < w; i++) {
|
5
|
+
const s = readline();
|
6
|
+
}
|
7
|
+
const dir = readline();
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('coords of the mirrors');
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d %d", $l, $w);
|
3
|
+
for ($i = 0; $i < $w; $i++)
|
4
|
+
{
|
5
|
+
$s = stream_get_line(STDIN, $l + 1, "\n");
|
6
|
+
}
|
7
|
+
fscanf(STDIN, "%s", $dir);
|
8
|
+
|
9
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
10
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
11
|
+
|
12
|
+
echo("coords of the mirrors\n");
|
@@ -0,0 +1,12 @@
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
2
|
+
const l: number = parseInt(inputs[0]);
|
3
|
+
const w: number = parseInt(inputs[1]);
|
4
|
+
for (let i = 0; i < w; i++) {
|
5
|
+
const s: string = readline();
|
6
|
+
}
|
7
|
+
const dir: string = readline();
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('coords of the mirrors');
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/MirrorRotation",
|
3
|
+
"name": "Mirror Rotation",
|
4
|
+
"alphanumName": "MirrorRotation",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/mirror-rotation",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "1 Flip",
|
9
|
+
"alphanumName": "OneFlip",
|
10
|
+
"file": "01 - 1 Flip.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Multiple",
|
14
|
+
"alphanumName": "Multiple",
|
15
|
+
"file": "02 - Multiple.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Shortest Path",
|
19
|
+
"alphanumName": "ShortestPath",
|
20
|
+
"file": "03 - Shortest Path.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Swirl",
|
24
|
+
"alphanumName": "Swirl",
|
25
|
+
"file": "04 - Swirl.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Loop",
|
29
|
+
"alphanumName": "Loop",
|
30
|
+
"file": "05 - Loop.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Confusing",
|
34
|
+
"alphanumName": "Confusing",
|
35
|
+
"file": "06 - Confusing.txt"
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
3 0
|
@@ -0,0 +1 @@
|
|
1
|
+
2 2
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#include <iostream>
|
2
|
+
#include <string>
|
3
|
+
#include <vector>
|
4
|
+
#include <algorithm>
|
5
|
+
|
6
|
+
using namespace std;
|
7
|
+
|
8
|
+
int main()
|
9
|
+
{
|
10
|
+
int width;
|
11
|
+
int height;
|
12
|
+
cin >> width >> height; cin.ignore();
|
13
|
+
int n;
|
14
|
+
cin >> n; cin.ignore();
|
15
|
+
int snake_amount;
|
16
|
+
int ladder_amount;
|
17
|
+
cin >> snake_amount >> ladder_amount; cin.ignore();
|
18
|
+
for (int i = 0; i < snake_amount; i++) {
|
19
|
+
int head;
|
20
|
+
int tail;
|
21
|
+
cin >> head >> tail; cin.ignore();
|
22
|
+
}
|
23
|
+
for (int i = 0; i < ladder_amount; i++) {
|
24
|
+
int top;
|
25
|
+
int bottom;
|
26
|
+
cin >> top >> bottom; cin.ignore();
|
27
|
+
}
|
28
|
+
|
29
|
+
// Write an answer using cout. DON'T FORGET THE "<< endl"
|
30
|
+
// To debug: cerr << "Debug messages..." << endl;
|
31
|
+
|
32
|
+
cout << "answer" << endl;
|
33
|
+
}
|
@@ -0,0 +1,28 @@
|
|
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 width = in.nextInt();
|
10
|
+
int height = in.nextInt();
|
11
|
+
int n = in.nextInt();
|
12
|
+
int snakeAmount = in.nextInt();
|
13
|
+
int ladderAmount = in.nextInt();
|
14
|
+
for (int i = 0; i < snakeAmount; i++) {
|
15
|
+
int head = in.nextInt();
|
16
|
+
int tail = in.nextInt();
|
17
|
+
}
|
18
|
+
for (int i = 0; i < ladderAmount; i++) {
|
19
|
+
int top = in.nextInt();
|
20
|
+
int bottom = in.nextInt();
|
21
|
+
}
|
22
|
+
|
23
|
+
// Write an answer using System.out.println()
|
24
|
+
// To debug: System.err.println("Debug messages...");
|
25
|
+
|
26
|
+
System.out.println("answer");
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
var inputs = readline().split(' ');
|
2
|
+
const width = parseInt(inputs[0]);
|
3
|
+
const height = parseInt(inputs[1]);
|
4
|
+
const n = parseInt(readline());
|
5
|
+
var inputs = readline().split(' ');
|
6
|
+
const snakeAmount = parseInt(inputs[0]);
|
7
|
+
const ladderAmount = parseInt(inputs[1]);
|
8
|
+
for (let i = 0; i < snakeAmount; i++) {
|
9
|
+
var inputs = readline().split(' ');
|
10
|
+
const head = parseInt(inputs[0]);
|
11
|
+
const tail = parseInt(inputs[1]);
|
12
|
+
}
|
13
|
+
for (let i = 0; i < ladderAmount; i++) {
|
14
|
+
var inputs = readline().split(' ');
|
15
|
+
const top = parseInt(inputs[0]);
|
16
|
+
const bottom = parseInt(inputs[1]);
|
17
|
+
}
|
18
|
+
|
19
|
+
// Write an answer using console.log()
|
20
|
+
// To debug: console.error('Debug messages...');
|
21
|
+
|
22
|
+
console.log('answer');
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d %d", $width, $height);
|
3
|
+
fscanf(STDIN, "%d", $n);
|
4
|
+
fscanf(STDIN, "%d %d", $snakeAmount, $ladderAmount);
|
5
|
+
for ($i = 0; $i < $snakeAmount; $i++)
|
6
|
+
{
|
7
|
+
fscanf(STDIN, "%d %d", $head, $tail);
|
8
|
+
}
|
9
|
+
for ($i = 0; $i < $ladderAmount; $i++)
|
10
|
+
{
|
11
|
+
fscanf(STDIN, "%d %d", $top, $bottom);
|
12
|
+
}
|
13
|
+
|
14
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
15
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
16
|
+
|
17
|
+
echo("answer\n");
|
@@ -0,0 +1,22 @@
|
|
1
|
+
var inputs: string[] = readline().split(' ');
|
2
|
+
const width: number = parseInt(inputs[0]);
|
3
|
+
const height: number = parseInt(inputs[1]);
|
4
|
+
const n: number = parseInt(readline());
|
5
|
+
var inputs: string[] = readline().split(' ');
|
6
|
+
const snakeAmount: number = parseInt(inputs[0]);
|
7
|
+
const ladderAmount: number = parseInt(inputs[1]);
|
8
|
+
for (let i = 0; i < snakeAmount; i++) {
|
9
|
+
var inputs: string[] = readline().split(' ');
|
10
|
+
const head: number = parseInt(inputs[0]);
|
11
|
+
const tail: number = parseInt(inputs[1]);
|
12
|
+
}
|
13
|
+
for (let i = 0; i < ladderAmount; i++) {
|
14
|
+
var inputs: string[] = readline().split(' ');
|
15
|
+
const top: number = parseInt(inputs[0]);
|
16
|
+
const bottom: number = parseInt(inputs[1]);
|
17
|
+
}
|
18
|
+
|
19
|
+
// Write an answer using console.log()
|
20
|
+
// To debug: console.error('Debug messages...');
|
21
|
+
|
22
|
+
console.log('answer');
|