@cyrilverloop/codingame-configuration 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +31 -0
- package/config/medium/ASCIIArtWithLogoLanguage/code/CGCode.js +9 -0
- package/config/medium/ASCIIArtWithLogoLanguage/code/CGCode.php +11 -0
- package/config/medium/ASCIIArtWithLogoLanguage/config.json +48 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/01 - test 1.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/02 - test 2.txt +10 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/03 - test 3.txt +14 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/04 - test 4.txt +52 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/05 - test 5.txt +32 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/06 - test 6.txt +19 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/07 - test 7.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguage/input/08 - test 8.txt +24 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/01 - test 1.txt +1 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/02 - test 2.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/03 - test 3.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/04 - test 4.txt +9 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/05 - test 5.txt +5 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/06 - test 6.txt +1 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/07 - test 7.txt +5 -0
- package/config/medium/ASCIIArtWithLogoLanguage/output/08 - test 8.txt +21 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/code/CGCode.js +9 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/code/CGCode.php +11 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/config.json +53 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/01 - test 1.txt +3 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/02 - test 2.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/03 - test 3.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/04 - test 4.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/05 - test 5.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/06 - test 6.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/07 - test 7.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/08 - test 8.txt +2 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/input/09 - test 9.txt +3 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/01 - test 1.txt +5 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/02 - test 2.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/03 - test 3.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/04 - test 4.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/05 - test 5.txt +13 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/06 - test 6.txt +1 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/07 - test 7.txt +6 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/08 - test 8.txt +16 -0
- package/config/medium/ASCIIArtWithLogoLanguagePart2/output/09 - test 9.txt +10 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/code/CGCode.js +17 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/code/CGCode.php +20 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/config.json +28 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/input/01 - First contact.txt +11 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/input/02 - Longer Message with More Words.txt +163 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/input/03 - A Lot More Words.txt +559 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/input/04 - Final Test.txt +1072 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/output/01 - First contact.txt +27 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/output/02 - Longer Message with More Words.txt +27 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/output/03 - A Lot More Words.txt +27 -0
- package/config/medium/AgentXMission2MysteriousCryptogram/output/04 - Final Test.txt +27 -0
- package/config/medium/BinPacking/code/CGCode.js +9 -0
- package/config/medium/BinPacking/code/CGCode.php +11 -0
- package/config/medium/BinPacking/config.json +28 -0
- package/config/medium/BinPacking/input/01 - Samples.txt +13 -0
- package/config/medium/BinPacking/input/02 - NP-Easy.txt +62 -0
- package/config/medium/BinPacking/input/03 - NP-Medium.txt +87 -0
- package/config/medium/BinPacking/input/04 - NP-Hard.txt +82 -0
- package/config/medium/BinPacking/output/01 - Samples.txt +12 -0
- package/config/medium/BinPacking/output/02 - NP-Easy.txt +61 -0
- package/config/medium/BinPacking/output/03 - NP-Medium.txt +86 -0
- package/config/medium/BinPacking/output/04 - NP-Hard.txt +81 -0
- package/config/medium/BoardingPassesReady/code/CGCode.js +11 -0
- package/config/medium/BoardingPassesReady/code/CGCode.php +13 -0
- package/config/medium/BoardingPassesReady/config.json +38 -0
- package/config/medium/BoardingPassesReady/input/01 - A very small plane indeed.txt +5 -0
- package/config/medium/BoardingPassesReady/input/02 - Just A Few.txt +7 -0
- package/config/medium/BoardingPassesReady/input/03 - Small Flight.txt +15 -0
- package/config/medium/BoardingPassesReady/input/04 - Half Full.txt +27 -0
- package/config/medium/BoardingPassesReady/input/05 - Wide-Body Craft.txt +43 -0
- package/config/medium/BoardingPassesReady/input/06 - Half-full Wide-Body.txt +57 -0
- package/config/medium/BoardingPassesReady/output/01 - A very small plane indeed.txt +2 -0
- package/config/medium/BoardingPassesReady/output/02 - Just A Few.txt +2 -0
- package/config/medium/BoardingPassesReady/output/03 - Small Flight.txt +6 -0
- package/config/medium/BoardingPassesReady/output/04 - Half Full.txt +6 -0
- package/config/medium/BoardingPassesReady/output/05 - Wide-Body Craft.txt +8 -0
- package/config/medium/BoardingPassesReady/output/06 - Half-full Wide-Body.txt +7 -0
- package/config/medium/BoggleWithFriends/code/CGCode.js +12 -0
- package/config/medium/BoggleWithFriends/code/CGCode.php +15 -0
- package/config/medium/BoggleWithFriends/config.json +68 -0
- package/config/medium/BoggleWithFriends/input/01 - all words are valid, no dups.txt +11 -0
- package/config/medium/BoggleWithFriends/input/02 - some words are not valid for this boggle board.txt +10 -0
- package/config/medium/BoggleWithFriends/input/03 - Multiple players have the same word.txt +7 -0
- package/config/medium/BoggleWithFriends/input/04 - Individual players repeat their own words.txt +10 -0
- package/config/medium/BoggleWithFriends/input/05 - All put together.txt +9 -0
- package/config/medium/BoggleWithFriends/input/06 - The one where it/342/200/231s funny.txt" +10 -0
- package/config/medium/BoggleWithFriends/input/07 - Random.txt +9 -0
- package/config/medium/BoggleWithFriends/input/08 - Pivot, Break, RIP Matthew Perry.txt +8 -0
- package/config/medium/BoggleWithFriends/input/09 - Smelly Cat, Haircut.txt +7 -0
- package/config/medium/BoggleWithFriends/input/10 - Awkward and Too Tidy.txt +9 -0
- package/config/medium/BoggleWithFriends/input/11 - Intense.txt +8 -0
- package/config/medium/BoggleWithFriends/input/12 - Friendship is valuable.txt +7 -0
- package/config/medium/BoggleWithFriends/output/01 - all words are valid, no dups.txt +35 -0
- package/config/medium/BoggleWithFriends/output/02 - some words are not valid for this boggle board.txt +32 -0
- package/config/medium/BoggleWithFriends/output/03 - Multiple players have the same word.txt +16 -0
- package/config/medium/BoggleWithFriends/output/04 - Individual players repeat their own words.txt +49 -0
- package/config/medium/BoggleWithFriends/output/05 - All put together.txt +24 -0
- package/config/medium/BoggleWithFriends/output/06 - The one where it/342/200/231s funny.txt" +31 -0
- package/config/medium/BoggleWithFriends/output/07 - Random.txt +27 -0
- package/config/medium/BoggleWithFriends/output/08 - Pivot, Break, RIP Matthew Perry.txt +33 -0
- package/config/medium/BoggleWithFriends/output/09 - Smelly Cat, Haircut.txt +42 -0
- package/config/medium/BoggleWithFriends/output/10 - Awkward and Too Tidy.txt +24 -0
- package/config/medium/BoggleWithFriends/output/11 - Intense.txt +29 -0
- package/config/medium/BoggleWithFriends/output/12 - Friendship is valuable.txt +44 -0
- package/config/medium/Coastline/code/CGCode.js +9 -0
- package/config/medium/Coastline/code/CGCode.php +11 -0
- package/config/medium/Coastline/config.json +28 -0
- package/config/medium/Coastline/input/01 - Easy cases.txt +11 -0
- package/config/medium/Coastline/input/02 - Harder cases.txt +11 -0
- package/config/medium/Coastline/input/03 - Long list of cases.txt +51 -0
- package/config/medium/Coastline/input/04 - Long list of rocks.txt +21 -0
- package/config/medium/Coastline/output/01 - Easy cases.txt +10 -0
- package/config/medium/Coastline/output/02 - Harder cases.txt +10 -0
- package/config/medium/Coastline/output/03 - Long list of cases.txt +50 -0
- package/config/medium/Coastline/output/04 - Long list of rocks.txt +20 -0
- package/config/medium/CountAsICount2/code/CGCode.js +6 -0
- package/config/medium/CountAsICount2/code/CGCode.php +7 -0
- package/config/medium/CountAsICount2/config.json +43 -0
- package/config/medium/CountAsICount2/input/01 - Bring back memory.txt +1 -0
- package/config/medium/CountAsICount2/input/02 - Not 4 rounds.txt +1 -0
- package/config/medium/CountAsICount2/input/03 - Only one.txt +1 -0
- package/config/medium/CountAsICount2/input/04 - Smarter not faster.txt +1 -0
- package/config/medium/CountAsICount2/input/05 - Bigger.txt +1 -0
- package/config/medium/CountAsICount2/input/06 - Even bigger.txt +1 -0
- package/config/medium/CountAsICount2/input/07 - The end.txt +1 -0
- package/config/medium/CountAsICount2/output/01 - Bring back memory.txt +1 -0
- package/config/medium/CountAsICount2/output/02 - Not 4 rounds.txt +1 -0
- package/config/medium/CountAsICount2/output/03 - Only one.txt +1 -0
- package/config/medium/CountAsICount2/output/04 - Smarter not faster.txt +1 -0
- package/config/medium/CountAsICount2/output/05 - Bigger.txt +1 -0
- package/config/medium/CountAsICount2/output/06 - Even bigger.txt +1 -0
- package/config/medium/CountAsICount2/output/07 - The end.txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/code/CGCode.js +7 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/code/CGCode.php +8 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/config.json +58 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/01 - Zero.txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/02 - Simple integer.txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/03 - Invalid number.txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/04 - Simple decimal.txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/05 - Decimal with rounding (1).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/06 - Decimal with rounding (2).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/07 - Scientific notation (1).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/08 - Scientific notation (2).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/09 - Scientific notation (3).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/input/10 - Scientific notation (4).txt +1 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/01 - Zero.txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/02 - Simple integer.txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/03 - Invalid number.txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/04 - Simple decimal.txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/05 - Decimal with rounding (1).txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/06 - Decimal with rounding (2).txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/07 - Scientific notation (1).txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/08 - Scientific notation (2).txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/09 - Scientific notation (3).txt +2 -0
- package/config/medium/DecimalNumbersToFloatingNumbers/output/10 - Scientific notation (4).txt +2 -0
- package/config/medium/FinishTheEightQueens/code/CGCode.js +10 -0
- package/config/medium/FinishTheEightQueens/code/CGCode.php +13 -0
- package/config/medium/FinishTheEightQueens/config.json +28 -0
- package/config/medium/FinishTheEightQueens/input/01 - test 1.txt +8 -0
- package/config/medium/FinishTheEightQueens/input/02 - test 2.txt +8 -0
- package/config/medium/FinishTheEightQueens/input/03 - test 3.txt +8 -0
- package/config/medium/FinishTheEightQueens/input/04 - test 4.txt +8 -0
- package/config/medium/FinishTheEightQueens/output/01 - test 1.txt +8 -0
- package/config/medium/FinishTheEightQueens/output/02 - test 2.txt +8 -0
- package/config/medium/FinishTheEightQueens/output/03 - test 3.txt +8 -0
- package/config/medium/FinishTheEightQueens/output/04 - test 4.txt +8 -0
- package/config/medium/FirewallPlacement/code/CGCode.js +11 -0
- package/config/medium/FirewallPlacement/code/CGCode.php +13 -0
- package/config/medium/FirewallPlacement/config.json +28 -0
- package/config/medium/FirewallPlacement/input/01 - Small network.txt +12 -0
- package/config/medium/FirewallPlacement/input/02 - Medium network.txt +18 -0
- package/config/medium/FirewallPlacement/input/03 - Larger lobster graph.txt +118 -0
- package/config/medium/FirewallPlacement/input/04 - Large graph.txt +253 -0
- package/config/medium/FirewallPlacement/output/01 - Small network.txt +1 -0
- package/config/medium/FirewallPlacement/output/02 - Medium network.txt +1 -0
- package/config/medium/FirewallPlacement/output/03 - Larger lobster graph.txt +1 -0
- package/config/medium/FirewallPlacement/output/04 - Large graph.txt +1 -0
- package/config/medium/FunWithCGXExpressions/code/CGCode.js +9 -0
- package/config/medium/FunWithCGXExpressions/code/CGCode.php +11 -0
- package/config/medium/FunWithCGXExpressions/config.json +53 -0
- package/config/medium/FunWithCGXExpressions/input/01 - Very simple.txt +2 -0
- package/config/medium/FunWithCGXExpressions/input/02 - Easy.txt +2 -0
- package/config/medium/FunWithCGXExpressions/input/03 - Simple.txt +3 -0
- package/config/medium/FunWithCGXExpressions/input/04 - Fractions.txt +10 -0
- package/config/medium/FunWithCGXExpressions/input/05 - Negative constants.txt +5 -0
- package/config/medium/FunWithCGXExpressions/input/06 - Not so simple.txt +10 -0
- package/config/medium/FunWithCGXExpressions/input/07 - Negative denominator.txt +5 -0
- package/config/medium/FunWithCGXExpressions/input/08 - Some recursion.txt +18 -0
- package/config/medium/FunWithCGXExpressions/input/09 - Random variables.txt +10 -0
- package/config/medium/FunWithCGXExpressions/output/01 - Very simple.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/02 - Easy.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/03 - Simple.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/04 - Fractions.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/05 - Negative constants.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/06 - Not so simple.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/07 - Negative denominator.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/08 - Some recursion.txt +1 -0
- package/config/medium/FunWithCGXExpressions/output/09 - Random variables.txt +1 -0
- package/config/medium/HowManyRoadsLeadToRome/code/CGCode.js +12 -0
- package/config/medium/HowManyRoadsLeadToRome/code/CGCode.php +15 -0
- package/config/medium/HowManyRoadsLeadToRome/config.json +33 -0
- package/config/medium/HowManyRoadsLeadToRome/input/01 - One road.txt +5 -0
- package/config/medium/HowManyRoadsLeadToRome/input/02 - Two roads.txt +5 -0
- package/config/medium/HowManyRoadsLeadToRome/input/03 - No way.txt +3 -0
- package/config/medium/HowManyRoadsLeadToRome/input/04 - Oops, loops!.txt +14 -0
- package/config/medium/HowManyRoadsLeadToRome/input/05 - Big graph!.txt +100 -0
- package/config/medium/HowManyRoadsLeadToRome/output/01 - One road.txt +1 -0
- package/config/medium/HowManyRoadsLeadToRome/output/02 - Two roads.txt +1 -0
- package/config/medium/HowManyRoadsLeadToRome/output/03 - No way.txt +1 -0
- package/config/medium/HowManyRoadsLeadToRome/output/04 - Oops, loops!.txt +1 -0
- package/config/medium/HowManyRoadsLeadToRome/output/05 - Big graph!.txt +1 -0
- package/config/medium/MagicColoring/code/CGCode.js +11 -0
- package/config/medium/MagicColoring/code/CGCode.php +11 -0
- package/config/medium/MagicColoring/config.json +38 -0
- package/config/medium/MagicColoring/input/01 - Yin Yang.txt +8 -0
- package/config/medium/MagicColoring/input/02 - Television Image.txt +7 -0
- package/config/medium/MagicColoring/input/03 - Monochrome.txt +11 -0
- package/config/medium/MagicColoring/input/04 - Chaos Line.txt +2 -0
- package/config/medium/MagicColoring/input/05 - Wall Of Color.txt +51 -0
- package/config/medium/MagicColoring/input/06 - A Dot.txt +2 -0
- package/config/medium/MagicColoring/output/01 - Yin Yang.txt +1 -0
- package/config/medium/MagicColoring/output/02 - Television Image.txt +7 -0
- package/config/medium/MagicColoring/output/03 - Monochrome.txt +1 -0
- package/config/medium/MagicColoring/output/04 - Chaos Line.txt +9 -0
- package/config/medium/MagicColoring/output/05 - Wall Of Color.txt +9 -0
- package/config/medium/MagicColoring/output/06 - A Dot.txt +1 -0
- package/config/medium/MarkovAnts/code/CGCode.js +12 -0
- package/config/medium/MarkovAnts/code/CGCode.php +12 -0
- package/config/medium/MarkovAnts/config.json +53 -0
- package/config/medium/MarkovAnts/input/01 - Base case.txt +7 -0
- package/config/medium/MarkovAnts/input/02 - Square 6.txt +9 -0
- package/config/medium/MarkovAnts/input/03 - Different step.txt +9 -0
- package/config/medium/MarkovAnts/input/04 - Different origin.txt +7 -0
- package/config/medium/MarkovAnts/input/05 - Different shape (rectangle).txt +5 -0
- package/config/medium/MarkovAnts/input/06 - Different shape + start.txt +7 -0
- package/config/medium/MarkovAnts/input/07 - Different shape + start + step.txt +7 -0
- package/config/medium/MarkovAnts/input/08 - Extra test 1.txt +10 -0
- package/config/medium/MarkovAnts/input/09 - Extra test 2.txt +17 -0
- package/config/medium/MarkovAnts/output/01 - Base case.txt +1 -0
- package/config/medium/MarkovAnts/output/02 - Square 6.txt +1 -0
- package/config/medium/MarkovAnts/output/03 - Different step.txt +1 -0
- package/config/medium/MarkovAnts/output/04 - Different origin.txt +1 -0
- package/config/medium/MarkovAnts/output/05 - Different shape (rectangle).txt +1 -0
- package/config/medium/MarkovAnts/output/06 - Different shape + start.txt +1 -0
- package/config/medium/MarkovAnts/output/07 - Different shape + start + step.txt +1 -0
- package/config/medium/MarkovAnts/output/08 - Extra test 1.txt +1 -0
- package/config/medium/MarkovAnts/output/09 - Extra test 2.txt +1 -0
- package/config/medium/Mosaic/code/CGCode.js +11 -0
- package/config/medium/Mosaic/code/CGCode.php +14 -0
- package/config/medium/Mosaic/config.json +63 -0
- package/config/medium/Mosaic/input/01 - Then those ones must be empty.txt +4 -0
- package/config/medium/Mosaic/input/02 - All blank.txt +4 -0
- package/config/medium/Mosaic/input/03 - Then those ones must be filled.txt +4 -0
- package/config/medium/Mosaic/input/04 - Careful.txt +5 -0
- package/config/medium/Mosaic/input/05 - 5x5.txt +6 -0
- package/config/medium/Mosaic/input/06 - 10x10.txt +11 -0
- package/config/medium/Mosaic/input/07 - 15x15.txt +16 -0
- package/config/medium/Mosaic/input/08 - 20x20.txt +21 -0
- package/config/medium/Mosaic/input/09 - 25x25.txt +26 -0
- package/config/medium/Mosaic/input/10 - Pixel art - Yin Yang.txt +19 -0
- package/config/medium/Mosaic/input/11 - Pixel art - Congratulations.txt +26 -0
- package/config/medium/Mosaic/output/01 - Then those ones must be empty.txt +3 -0
- package/config/medium/Mosaic/output/02 - All blank.txt +3 -0
- package/config/medium/Mosaic/output/03 - Then those ones must be filled.txt +3 -0
- package/config/medium/Mosaic/output/04 - Careful.txt +4 -0
- package/config/medium/Mosaic/output/05 - 5x5.txt +5 -0
- package/config/medium/Mosaic/output/06 - 10x10.txt +10 -0
- package/config/medium/Mosaic/output/07 - 15x15.txt +15 -0
- package/config/medium/Mosaic/output/08 - 20x20.txt +20 -0
- package/config/medium/Mosaic/output/09 - 25x25.txt +25 -0
- package/config/medium/Mosaic/output/10 - Pixel art - Yin Yang.txt +18 -0
- package/config/medium/Mosaic/output/11 - Pixel art - Congratulations.txt +25 -0
- package/config/medium/NeedleInAHaystack/code/CGCode.js +15 -0
- package/config/medium/NeedleInAHaystack/code/CGCode.php +16 -0
- package/config/medium/NeedleInAHaystack/config.json +33 -0
- package/config/medium/NeedleInAHaystack/input/01 - Examples.txt +16 -0
- package/config/medium/NeedleInAHaystack/input/02 - Digits.txt +18 -0
- package/config/medium/NeedleInAHaystack/input/03 - Mixed.txt +22 -0
- package/config/medium/NeedleInAHaystack/input/04 - Large Heap.txt +29 -0
- package/config/medium/NeedleInAHaystack/input/05 - Larger Heap.txt +33 -0
- package/config/medium/NeedleInAHaystack/output/01 - Examples.txt +11 -0
- package/config/medium/NeedleInAHaystack/output/02 - Digits.txt +12 -0
- package/config/medium/NeedleInAHaystack/output/03 - Mixed.txt +10 -0
- package/config/medium/NeedleInAHaystack/output/04 - Large Heap.txt +12 -0
- package/config/medium/NeedleInAHaystack/output/05 - Larger Heap.txt +12 -0
- package/config/medium/OneForHisNobs/code/CGCode.js +14 -0
- package/config/medium/OneForHisNobs/code/CGCode.php +18 -0
- package/config/medium/OneForHisNobs/config.json +53 -0
- package/config/medium/OneForHisNobs/input/01 - Fifteens.txt +6 -0
- package/config/medium/OneForHisNobs/input/02 - Runs.txt +4 -0
- package/config/medium/OneForHisNobs/input/03 - Pairs.txt +4 -0
- package/config/medium/OneForHisNobs/input/04 - Flushes.txt +4 -0
- package/config/medium/OneForHisNobs/input/05 - One for his nobs.txt +2 -0
- package/config/medium/OneForHisNobs/input/06 - Compound runs.txt +5 -0
- package/config/medium/OneForHisNobs/input/07 - Big Hands.txt +6 -0
- package/config/medium/OneForHisNobs/input/08 - 19 hand.txt +2 -0
- package/config/medium/OneForHisNobs/input/09 - Wikipedia hands.txt +8 -0
- package/config/medium/OneForHisNobs/output/01 - Fifteens.txt +5 -0
- package/config/medium/OneForHisNobs/output/02 - Runs.txt +3 -0
- package/config/medium/OneForHisNobs/output/03 - Pairs.txt +3 -0
- package/config/medium/OneForHisNobs/output/04 - Flushes.txt +3 -0
- package/config/medium/OneForHisNobs/output/05 - One for his nobs.txt +1 -0
- package/config/medium/OneForHisNobs/output/06 - Compound runs.txt +4 -0
- package/config/medium/OneForHisNobs/output/07 - Big Hands.txt +5 -0
- package/config/medium/OneForHisNobs/output/08 - 19 hand.txt +1 -0
- package/config/medium/OneForHisNobs/output/09 - Wikipedia hands.txt +7 -0
- package/config/medium/PartitionNumbers/code/CGCode.js +9 -0
- package/config/medium/PartitionNumbers/code/CGCode.php +11 -0
- package/config/medium/PartitionNumbers/config.json +43 -0
- package/config/medium/PartitionNumbers/input/01 - test 1.txt +2 -0
- package/config/medium/PartitionNumbers/input/02 - test 2.txt +3 -0
- package/config/medium/PartitionNumbers/input/03 - test 3.txt +2 -0
- package/config/medium/PartitionNumbers/input/04 - test 4.txt +6 -0
- package/config/medium/PartitionNumbers/input/05 - test 5.txt +11 -0
- package/config/medium/PartitionNumbers/input/06 - test 6.txt +16 -0
- package/config/medium/PartitionNumbers/input/07 - test 7.txt +16 -0
- package/config/medium/PartitionNumbers/output/01 - test 1.txt +1 -0
- package/config/medium/PartitionNumbers/output/02 - test 2.txt +2 -0
- package/config/medium/PartitionNumbers/output/03 - test 3.txt +1 -0
- package/config/medium/PartitionNumbers/output/04 - test 4.txt +5 -0
- package/config/medium/PartitionNumbers/output/05 - test 5.txt +10 -0
- package/config/medium/PartitionNumbers/output/06 - test 6.txt +15 -0
- package/config/medium/PartitionNumbers/output/07 - test 7.txt +15 -0
- package/config/medium/RiskOddsCalculator/code/CGCode.js +7 -0
- package/config/medium/RiskOddsCalculator/code/CGCode.php +8 -0
- package/config/medium/RiskOddsCalculator/config.json +48 -0
- package/config/medium/RiskOddsCalculator/input/01 - Minimal armies.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/02 - Small armies, advantage attacker.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/03 - Small armies, advantage defender.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/04 - Small armies, balanced.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/05 - Crushing endgame.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/06 - Hail Mary.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/07 - Large, uncertain battle.txt +2 -0
- package/config/medium/RiskOddsCalculator/input/08 - Mother of all battles.txt +2 -0
- package/config/medium/RiskOddsCalculator/output/01 - Minimal armies.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/02 - Small armies, advantage attacker.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/03 - Small armies, advantage defender.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/04 - Small armies, balanced.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/05 - Crushing endgame.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/06 - Hail Mary.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/07 - Large, uncertain battle.txt +1 -0
- package/config/medium/RiskOddsCalculator/output/08 - Mother of all battles.txt +1 -0
- package/config/medium/RomanSorting/code/CGCode.js +9 -0
- package/config/medium/RomanSorting/code/CGCode.php +11 -0
- package/config/medium/RomanSorting/config.json +28 -0
- package/config/medium/RomanSorting/input/01 - Single Roman Numerals.txt +8 -0
- package/config/medium/RomanSorting/input/02 - Subtracted Prefix.txt +7 -0
- package/config/medium/RomanSorting/input/03 - Be Careful.txt +8 -0
- package/config/medium/RomanSorting/input/04 - A Legion Of Romans.txt +21 -0
- package/config/medium/RomanSorting/output/01 - Single Roman Numerals.txt +1 -0
- package/config/medium/RomanSorting/output/02 - Subtracted Prefix.txt +1 -0
- package/config/medium/RomanSorting/output/03 - Be Careful.txt +1 -0
- package/config/medium/RomanSorting/output/04 - A Legion Of Romans.txt +1 -0
- package/config/medium/Rummikub1/code/CGCode.js +11 -0
- package/config/medium/Rummikub1/code/CGCode.php +13 -0
- package/config/medium/Rummikub1/config.json +113 -0
- package/config/medium/Rummikub1/input/01 - Add to a run.txt +4 -0
- package/config/medium/Rummikub1/input/02 - Add to a run the end.txt +5 -0
- package/config/medium/Rummikub1/input/03 - Add to set.txt +4 -0
- package/config/medium/Rummikub1/input/04 - Insert to the middle of a run.txt +4 -0
- package/config/medium/Rummikub1/input/05 - Insert to run.txt +4 -0
- package/config/medium/Rummikub1/input/06 - Choose the run.txt +4 -0
- package/config/medium/Rummikub1/input/07 - Take one and add.txt +4 -0
- package/config/medium/Rummikub1/input/08 - Take one and add again.txt +4 -0
- package/config/medium/Rummikub1/input/09 - Take one and insert.txt +4 -0
- package/config/medium/Rummikub1/input/10 - Take a split.txt +5 -0
- package/config/medium/Rummikub1/input/11 - Switch right to left.txt +6 -0
- package/config/medium/Rummikub1/input/12 - Switch left to right.txt +6 -0
- package/config/medium/Rummikub1/input/13 - Combine for the first.txt +6 -0
- package/config/medium/Rummikub1/input/14 - Combine for the last.txt +6 -0
- package/config/medium/Rummikub1/input/15 - Combine priority.txt +9 -0
- package/config/medium/Rummikub1/input/16 - Combine to insert.txt +5 -0
- package/config/medium/Rummikub1/input/17 - Combine to take.txt +6 -0
- package/config/medium/Rummikub1/input/18 - Prepare for the split.txt +5 -0
- package/config/medium/Rummikub1/input/19 - Prepare for the split again.txt +5 -0
- package/config/medium/Rummikub1/input/20 - You take some, you put some.txt +6 -0
- package/config/medium/Rummikub1/input/21 - Its time for Rummikub 2.txt +10 -0
- package/config/medium/Rummikub1/output/01 - Add to a run.txt +3 -0
- package/config/medium/Rummikub1/output/02 - Add to a run the end.txt +4 -0
- package/config/medium/Rummikub1/output/03 - Add to set.txt +3 -0
- package/config/medium/Rummikub1/output/04 - Insert to the middle of a run.txt +4 -0
- package/config/medium/Rummikub1/output/05 - Insert to run.txt +4 -0
- package/config/medium/Rummikub1/output/06 - Choose the run.txt +3 -0
- package/config/medium/Rummikub1/output/07 - Take one and add.txt +5 -0
- package/config/medium/Rummikub1/output/08 - Take one and add again.txt +5 -0
- package/config/medium/Rummikub1/output/09 - Take one and insert.txt +6 -0
- package/config/medium/Rummikub1/output/10 - Take a split.txt +9 -0
- package/config/medium/Rummikub1/output/11 - Switch right to left.txt +11 -0
- package/config/medium/Rummikub1/output/12 - Switch left to right.txt +11 -0
- package/config/medium/Rummikub1/output/13 - Combine for the first.txt +9 -0
- package/config/medium/Rummikub1/output/14 - Combine for the last.txt +9 -0
- package/config/medium/Rummikub1/output/15 - Combine priority.txt +12 -0
- package/config/medium/Rummikub1/output/16 - Combine to insert.txt +5 -0
- package/config/medium/Rummikub1/output/17 - Combine to take.txt +10 -0
- package/config/medium/Rummikub1/output/18 - Prepare for the split.txt +9 -0
- package/config/medium/Rummikub1/output/19 - Prepare for the split again.txt +9 -0
- package/config/medium/Rummikub1/output/20 - You take some, you put some.txt +12 -0
- package/config/medium/Rummikub1/output/21 - Its time for Rummikub 2.txt +16 -0
- package/config/medium/RussianDolls/code/CGCode.js +9 -0
- package/config/medium/RussianDolls/code/CGCode.php +11 -0
- package/config/medium/RussianDolls/config.json +33 -0
- package/config/medium/RussianDolls/input/01 - Examples.txt +12 -0
- package/config/medium/RussianDolls/input/02 - Valid Examples.txt +16 -0
- package/config/medium/RussianDolls/input/03 - Basic Doll Sets.txt +101 -0
- package/config/medium/RussianDolls/input/04 - Advanced Doll Sets.txt +105 -0
- package/config/medium/RussianDolls/input/05 - Complicated Nesting.txt +101 -0
- package/config/medium/RussianDolls/output/01 - Examples.txt +11 -0
- package/config/medium/RussianDolls/output/02 - Valid Examples.txt +15 -0
- package/config/medium/RussianDolls/output/03 - Basic Doll Sets.txt +100 -0
- package/config/medium/RussianDolls/output/04 - Advanced Doll Sets.txt +104 -0
- package/config/medium/RussianDolls/output/05 - Complicated Nesting.txt +100 -0
- package/config/medium/SPORECityPlanner/code/CGCode.js +10 -0
- package/config/medium/SPORECityPlanner/code/CGCode.php +12 -0
- package/config/medium/SPORECityPlanner/config.json +33 -0
- package/config/medium/SPORECityPlanner/input/01 - Test city.txt +5 -0
- package/config/medium/SPORECityPlanner/input/02 - Civilization stage, small city.txt +10 -0
- package/config/medium/SPORECityPlanner/input/03 - Civilization stage, big city.txt +16 -0
- package/config/medium/SPORECityPlanner/input/04 - Space stage, big city 1.txt +17 -0
- package/config/medium/SPORECityPlanner/input/05 - Space stage, big city 2.txt +19 -0
- package/config/medium/SPORECityPlanner/output/01 - Test city.txt +1 -0
- package/config/medium/SPORECityPlanner/output/02 - Civilization stage, small city.txt +1 -0
- package/config/medium/SPORECityPlanner/output/03 - Civilization stage, big city.txt +1 -0
- package/config/medium/SPORECityPlanner/output/04 - Space stage, big city 1.txt +1 -0
- package/config/medium/SPORECityPlanner/output/05 - Space stage, big city 2.txt +1 -0
- package/config/medium/SixteenBySixteenSudoku/code/CGCode.js +8 -0
- package/config/medium/SixteenBySixteenSudoku/code/CGCode.php +10 -0
- package/config/medium/SixteenBySixteenSudoku/config.json +38 -0
- package/config/medium/SixteenBySixteenSudoku/input/01 - test 1.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/input/02 - test 2.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/input/03 - test 3.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/input/04 - test 4.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/input/05 - test 5.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/input/06 - test 6.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/01 - test 1.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/02 - test 2.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/03 - test 3.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/04 - test 4.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/05 - test 5.txt +16 -0
- package/config/medium/SixteenBySixteenSudoku/output/06 - test 6.txt +16 -0
- package/config/medium/StringBalls/code/CGCode.js +7 -0
- package/config/medium/StringBalls/code/CGCode.php +8 -0
- package/config/medium/StringBalls/config.json +63 -0
- package/config/medium/StringBalls/input/01 - r=1, edge=yes, char=1.txt +2 -0
- package/config/medium/StringBalls/input/02 - r=1, edge=no, char=1.txt +2 -0
- package/config/medium/StringBalls/input/03 - rGT1, edge=no, char=1.txt +2 -0
- package/config/medium/StringBalls/input/04 - rGT1, edge=yes, charGT1.txt +2 -0
- package/config/medium/StringBalls/input/05 - rGT1, edge=no, charGT1.txt +2 -0
- package/config/medium/StringBalls/input/06 - Small test 1.txt +2 -0
- package/config/medium/StringBalls/input/07 - Big radius.txt +2 -0
- package/config/medium/StringBalls/input/08 - Medium 1 (GT100k).txt +2 -0
- package/config/medium/StringBalls/input/09 - Medium 2.txt +2 -0
- package/config/medium/StringBalls/input/10 - Big ( GT 500k).txt +2 -0
- package/config/medium/StringBalls/input/11 - Big 2.txt +2 -0
- package/config/medium/StringBalls/output/01 - r=1, edge=yes, char=1.txt +1 -0
- package/config/medium/StringBalls/output/02 - r=1, edge=no, char=1.txt +1 -0
- package/config/medium/StringBalls/output/03 - rGT1, edge=no, char=1.txt +1 -0
- package/config/medium/StringBalls/output/04 - rGT1, edge=yes, charGT1.txt +1 -0
- package/config/medium/StringBalls/output/05 - rGT1, edge=no, charGT1.txt +1 -0
- package/config/medium/StringBalls/output/06 - Small test 1.txt +1 -0
- package/config/medium/StringBalls/output/07 - Big radius.txt +1 -0
- package/config/medium/StringBalls/output/08 - Medium 1 (GT100k).txt +1 -0
- package/config/medium/StringBalls/output/09 - Medium 2.txt +1 -0
- package/config/medium/StringBalls/output/10 - Big ( GT 500k).txt +1 -0
- package/config/medium/StringBalls/output/11 - Big 2.txt +1 -0
- package/config/medium/TheCashRegister/code/CGCode.js +7 -0
- package/config/medium/TheCashRegister/code/CGCode.php +8 -0
- package/config/medium/TheCashRegister/config.json +63 -0
- package/config/medium/TheCashRegister/input/01 - Simple case.txt +2 -0
- package/config/medium/TheCashRegister/input/02 - A bit harder.txt +2 -0
- package/config/medium/TheCashRegister/input/03 - Nothing to give back.txt +2 -0
- package/config/medium/TheCashRegister/input/04 - Bigger amount.txt +2 -0
- package/config/medium/TheCashRegister/input/05 - Weird money.txt +2 -0
- package/config/medium/TheCashRegister/input/06 - One coin only.txt +2 -0
- package/config/medium/TheCashRegister/input/07 - Multiple solutions.txt +2 -0
- package/config/medium/TheCashRegister/input/08 - Nothing to do.txt +2 -0
- package/config/medium/TheCashRegister/input/09 - Very big amount.txt +2 -0
- package/config/medium/TheCashRegister/input/10 - Bad luck !.txt +2 -0
- package/config/medium/TheCashRegister/input/11 - Several solutions.txt +2 -0
- package/config/medium/TheCashRegister/output/01 - Simple case.txt +1 -0
- package/config/medium/TheCashRegister/output/02 - A bit harder.txt +1 -0
- package/config/medium/TheCashRegister/output/03 - Nothing to give back.txt +1 -0
- package/config/medium/TheCashRegister/output/04 - Bigger amount.txt +1 -0
- package/config/medium/TheCashRegister/output/05 - Weird money.txt +1 -0
- package/config/medium/TheCashRegister/output/06 - One coin only.txt +1 -0
- package/config/medium/TheCashRegister/output/07 - Multiple solutions.txt +1 -0
- package/config/medium/TheCashRegister/output/08 - Nothing to do.txt +1 -0
- package/config/medium/TheCashRegister/output/09 - Very big amount.txt +1 -0
- package/config/medium/TheCashRegister/output/10 - Bad luck !.txt +1 -0
- package/config/medium/TheCashRegister/output/11 - Several solutions.txt +1 -0
- package/config/medium/TinyForest/code/CGCode.js +10 -0
- package/config/medium/TinyForest/code/CGCode.php +12 -0
- package/config/medium/TinyForest/config.json +38 -0
- package/config/medium/TinyForest/input/01 - No Trees.txt +7 -0
- package/config/medium/TinyForest/input/02 - One Tree.txt +7 -0
- package/config/medium/TinyForest/input/03 - Some Trees.txt +12 -0
- package/config/medium/TinyForest/input/04 - Long Forest.txt +7 -0
- package/config/medium/TinyForest/input/05 - Huge Forest.txt +22 -0
- package/config/medium/TinyForest/input/06 - Symetrical Forest.txt +7 -0
- package/config/medium/TinyForest/output/01 - No Trees.txt +1 -0
- package/config/medium/TinyForest/output/02 - One Tree.txt +1 -0
- package/config/medium/TinyForest/output/03 - Some Trees.txt +1 -0
- package/config/medium/TinyForest/output/04 - Long Forest.txt +1 -0
- package/config/medium/TinyForest/output/05 - Huge Forest.txt +1 -0
- package/config/medium/TinyForest/output/06 - Symetrical Forest.txt +1 -0
- package/package.json +1 -1
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/FunWithCGXExpressions",
|
3
|
+
"name": "Fun with CGX Expressions",
|
4
|
+
"alphanumName": "FunWithCGXExpressions",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/fun-with-cgx-expressions",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Very simple",
|
9
|
+
"alphanumName": "VerySimple",
|
10
|
+
"file": "01 - Very simple.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Easy",
|
14
|
+
"alphanumName": "Easy",
|
15
|
+
"file": "02 - Easy.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Simple",
|
19
|
+
"alphanumName": "Simple",
|
20
|
+
"file": "03 - Simple.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Fractions",
|
24
|
+
"alphanumName": "Fractions",
|
25
|
+
"file": "04 - Fractions.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Negative constants",
|
29
|
+
"alphanumName": "NegativeConstants",
|
30
|
+
"file": "05 - Negative constants.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Not so simple",
|
34
|
+
"alphanumName": "NotSoSimple",
|
35
|
+
"file": "06 - Not so simple.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "Negative denominator",
|
39
|
+
"alphanumName": "NegativeDenominator",
|
40
|
+
"file": "07 - Negative denominator.txt"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "Some recursion",
|
44
|
+
"alphanumName": "SomeRecursion",
|
45
|
+
"file": "08 - Some recursion.txt"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "Random variables",
|
49
|
+
"alphanumName": "RandomVariables",
|
50
|
+
"file": "09 - Random variables.txt"
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
9
|
2
|
+
('result'='v8';'vars'=('v1'=5;'v2'='v4';'v3'=('num1'='v1';'num2'='v2';'operator'='+')
|
3
|
+
;'v4'=('numerator'='v1';'denominator'=19)
|
4
|
+
;'v5'=('num1'=1;'num2'='v1';'operator'='/')
|
5
|
+
;'v6'=('numerator'=1;'denominator'=3)
|
6
|
+
;'v7'=('num1'='v6';'num2'='v4';'operator'='*')
|
7
|
+
;'v8'=('num1'=('num1'='v7';'num2'='v5';'operator'='-')
|
8
|
+
;'num2'='v1';'operator'='*')
|
9
|
+
)
|
10
|
+
)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
9
|
2
|
+
('result'='v8';'vars'=('v1'=5;'v2'='v4';'v3'=('num1'='v1';'num2'='v2';'operator'='+')
|
3
|
+
;'v4'=('numerator'='v1';'denominator'=2)
|
4
|
+
;'v5'=('num1'=1;'num2'=3;'operator'='/')
|
5
|
+
;'v6'=('numerator'=1;'denominator'=3)
|
6
|
+
;'v7'=('num1'='v6';'num2'='v4';'operator'='*')
|
7
|
+
;'v8'=('num1'=('num1'=20;'num2'=10;'operator'='-')
|
8
|
+
;'num2'=5;'operator'='*')
|
9
|
+
)
|
10
|
+
)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
17
|
2
|
+
('result'='out';'vars'=('basei'=5;'basej'=10;'out'=('num1'='i';'num2'='j';'operator'='*')
|
3
|
+
;'i'=('num1'=('num1'=('num1'='basei';'num2'='basei';'operator'='+')
|
4
|
+
;'num2'=('num1'='basei';'num2'='basei';'operator'='+')
|
5
|
+
;'operator'='+')
|
6
|
+
;'num2'=('num1'=('num1'='basei';'num2'='basei';'operator'='+')
|
7
|
+
;'num2'=('num1'='basei';'num2'='basei';'operator'='+')
|
8
|
+
;'operator'='+')
|
9
|
+
;'operator'='+')
|
10
|
+
;'j'=('num1'=('num1'=('num1'='basej';'num2'='basej';'operator'='+')
|
11
|
+
;'num2'=('num1'='basej';'num2'='basej';'operator'='+')
|
12
|
+
;'operator'='+')
|
13
|
+
;'num2'=('num1'=('num1'='basej';'num2'='basej';'operator'='+')
|
14
|
+
;'num2'=('num1'='basej';'num2'='basej';'operator'='+')
|
15
|
+
;'operator'='+')
|
16
|
+
;'operator'='+')
|
17
|
+
)
|
18
|
+
)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
9
|
2
|
+
('result'='out';'vars'=('YSVPHbD'=945;'hxEpyIg'=302;'UnArlXy'=('num1'='YSVPHbD';'num2'='hxEpyIg';'operator'='-')
|
3
|
+
;'NCiiaan'='UnArlXy';'sumIROn'=322;'tbxAkjq'=('num1'='NCiiaan';'num2'='sumIROn';'operator'='+')
|
4
|
+
;'LaMRTve'='tbxAkjq';'ESulEET'=454;'bVwzbJY'=('num1'='LaMRTve';'num2'='ESulEET';'operator'='/')
|
5
|
+
;'aCcTlNm'='bVwzbJY';'wGwHqXD'=137;'scBfnvG'=('num1'='aCcTlNm';'num2'='wGwHqXD';'operator'='*')
|
6
|
+
;'SIftRut'='scBfnvG';'UStEkUd'=212;'zcpVMwq'=('num1'='SIftRut';'num2'='UStEkUd';'operator'='/')
|
7
|
+
;'OcZFvni'='zcpVMwq';'gkBxjdA'=926;'NkHDFSU'=('num1'='OcZFvni';'num2'='gkBxjdA';'operator'='*')
|
8
|
+
;'EzjhyIl'='NkHDFSU';'fFrGYJG'=752;'SLQcWtx'=('num1'='EzjhyIl';'num2'='fFrGYJG';'operator'='*')
|
9
|
+
;'out'='SLQcWtx')
|
10
|
+
)
|
@@ -0,0 +1 @@
|
|
1
|
+
10
|
@@ -0,0 +1 @@
|
|
1
|
+
10
|
@@ -0,0 +1 @@
|
|
1
|
+
30
|
@@ -0,0 +1 @@
|
|
1
|
+
-32/57
|
@@ -0,0 +1 @@
|
|
1
|
+
-20
|
@@ -0,0 +1 @@
|
|
1
|
+
50
|
@@ -0,0 +1 @@
|
|
1
|
+
226/41
|
@@ -0,0 +1 @@
|
|
1
|
+
3200
|
@@ -0,0 +1 @@
|
|
1
|
+
11507652020/12031
|
@@ -0,0 +1,12 @@
|
|
1
|
+
const n = parseInt(readline());
|
2
|
+
for (let i = 0; i < n; i++) {
|
3
|
+
var inputs = readline().split(' ');
|
4
|
+
for (let j = 0; j < 2; j++) {
|
5
|
+
const c = parseInt(inputs[j]);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('answer');
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $n);
|
3
|
+
for ($i = 0; $i < $n; $i++)
|
4
|
+
{
|
5
|
+
$inputs = explode(" ", fgets(STDIN));
|
6
|
+
for ($j = 0; $j < 2; $j++)
|
7
|
+
{
|
8
|
+
$c = intval($inputs[$j]);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
13
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
14
|
+
|
15
|
+
echo("answer\n");
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/HowManyRoadsLeadToRome",
|
3
|
+
"name": "How many roads lead to Rome?",
|
4
|
+
"alphanumName": "HowManyRoadsLeadToRome",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/how-many-roads-lead-to-rome",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "One road",
|
9
|
+
"alphanumName": "OneRoad",
|
10
|
+
"file": "01 - One road.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Two roads",
|
14
|
+
"alphanumName": "TwoRoads",
|
15
|
+
"file": "02 - Two roads.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "No way",
|
19
|
+
"alphanumName": "NoWay",
|
20
|
+
"file": "03 - No way.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Oops, loops!",
|
24
|
+
"alphanumName": "OopsLoops",
|
25
|
+
"file": "04 - Oops, loops!.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Big graph!",
|
29
|
+
"alphanumName": "BigGraph",
|
30
|
+
"file": "05 - Big graph!.txt"
|
31
|
+
}
|
32
|
+
]
|
33
|
+
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
99
|
2
|
+
88 21
|
3
|
+
82 76
|
4
|
+
16 38
|
5
|
+
80 70
|
6
|
+
69 39
|
7
|
+
12 46
|
8
|
+
77 95
|
9
|
+
92 20
|
10
|
+
41 44
|
11
|
+
8 76
|
12
|
+
65 49
|
13
|
+
58 15
|
14
|
+
62 47
|
15
|
+
84 60
|
16
|
+
57 1
|
17
|
+
9 15
|
18
|
+
24 90
|
19
|
+
24 26
|
20
|
+
20 84
|
21
|
+
73 58
|
22
|
+
9 23
|
23
|
+
5 21
|
24
|
+
80 94
|
25
|
+
80 84
|
26
|
+
80 20
|
27
|
+
72 59
|
28
|
+
64 73
|
29
|
+
77 39
|
30
|
+
19 45
|
31
|
+
16 46
|
32
|
+
84 69
|
33
|
+
85 79
|
34
|
+
91 31
|
35
|
+
100 63
|
36
|
+
46 6
|
37
|
+
9 11
|
38
|
+
88 61
|
39
|
+
12 86
|
40
|
+
8 34
|
41
|
+
15 31
|
42
|
+
67 22
|
43
|
+
48 74
|
44
|
+
76 31
|
45
|
+
1 87
|
46
|
+
37 38
|
47
|
+
83 7
|
48
|
+
34 45
|
49
|
+
85 78
|
50
|
+
85 30
|
51
|
+
24 49
|
52
|
+
81 97
|
53
|
+
43 46
|
54
|
+
86 63
|
55
|
+
87 63
|
56
|
+
88 75
|
57
|
+
7 79
|
58
|
+
59 6
|
59
|
+
40 86
|
60
|
+
41 37
|
61
|
+
97 10
|
62
|
+
42 23
|
63
|
+
41 39
|
64
|
+
42 20
|
65
|
+
70 30
|
66
|
+
1 2
|
67
|
+
97 1
|
68
|
+
64 25
|
69
|
+
16 79
|
70
|
+
16 36
|
71
|
+
33 84
|
72
|
+
18 67
|
73
|
+
58 52
|
74
|
+
38 23
|
75
|
+
32 67
|
76
|
+
16 42
|
77
|
+
17 21
|
78
|
+
9 44
|
79
|
+
73 20
|
80
|
+
11 21
|
81
|
+
56 14
|
82
|
+
72 66
|
83
|
+
73 26
|
84
|
+
2 84
|
85
|
+
81 26
|
86
|
+
96 67
|
87
|
+
49 43
|
88
|
+
32 98
|
89
|
+
44 53
|
90
|
+
69 23
|
91
|
+
60 20
|
92
|
+
2 35
|
93
|
+
74 35
|
94
|
+
8 91
|
95
|
+
82 67
|
96
|
+
72 29
|
97
|
+
67 14
|
98
|
+
66 91
|
99
|
+
85 62
|
100
|
+
16 43
|
@@ -0,0 +1 @@
|
|
1
|
+
1
|
@@ -0,0 +1 @@
|
|
1
|
+
2
|
@@ -0,0 +1 @@
|
|
1
|
+
0
|
@@ -0,0 +1 @@
|
|
1
|
+
12
|
@@ -0,0 +1 @@
|
|
1
|
+
863
|
@@ -0,0 +1,11 @@
|
|
1
|
+
var inputs = readline().split(' ');
|
2
|
+
const x = parseInt(inputs[0]);
|
3
|
+
const y = parseInt(inputs[1]);
|
4
|
+
for (let i = 0; i < y; i++) {
|
5
|
+
const line = readline();
|
6
|
+
}
|
7
|
+
|
8
|
+
// Write an answer using console.log()
|
9
|
+
// To debug: console.error('Debug messages...');
|
10
|
+
|
11
|
+
console.log('answer');
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d %d", $x, $y);
|
3
|
+
for ($i = 0; $i < $y; $i++)
|
4
|
+
{
|
5
|
+
$line = stream_get_line(STDIN, $x + 1, "\n");
|
6
|
+
}
|
7
|
+
|
8
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
9
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
10
|
+
|
11
|
+
echo("answer\n");
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/MagicColoring",
|
3
|
+
"name": "Magic Coloring",
|
4
|
+
"alphanumName": "MagicColoring",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/magic-coloring",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Yin Yang",
|
9
|
+
"alphanumName": "YinYang",
|
10
|
+
"file": "01 - Yin Yang.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Television Image",
|
14
|
+
"alphanumName": "TelevisionImage",
|
15
|
+
"file": "02 - Television Image.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Monochrome",
|
19
|
+
"alphanumName": "Monochrome",
|
20
|
+
"file": "03 - Monochrome.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Chaos Line",
|
24
|
+
"alphanumName": "ChaosLine",
|
25
|
+
"file": "04 - Chaos Line.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Wall Of Color",
|
29
|
+
"alphanumName": "WallOfColor",
|
30
|
+
"file": "05 - Wall Of Color.txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "A Dot",
|
34
|
+
"alphanumName": "ADot",
|
35
|
+
"file": "06 - A Dot.txt"
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
50 50
|
2
|
+
80996517352068402710716955819750006530462914249142
|
3
|
+
29946566115409940772985277418958700100192664057892
|
4
|
+
39613612939190919957122540502037599723533198693560
|
5
|
+
95315061917336519082037083226480455979709887846820
|
6
|
+
15472317572958532177654008823321761223259255429059
|
7
|
+
38086114181655225862919474653088742441142658713131
|
8
|
+
90760824965865445779356210664425890995578207624018
|
9
|
+
32121144736577662208829285160696951727995551344143
|
10
|
+
99180074567775331337451478534746228157435065794152
|
11
|
+
02620765604157386724828668489495213300886399940624
|
12
|
+
51772238261458133196032764196916942594773748976470
|
13
|
+
83903002778090568705597337502162468726012817069222
|
14
|
+
89640818921590161399447384938199043858540784585064
|
15
|
+
41493838097747419703928241474474146522907641631178
|
16
|
+
24958986826827800233252741387531622006099930976935
|
17
|
+
65881407021220393641804684410186685153270452790047
|
18
|
+
41124697428948841353648480147586788438586663120753
|
19
|
+
48523921217089875070459460439835703097991364220690
|
20
|
+
28308402342069729689213579315412826785289282176809
|
21
|
+
27768444655087094982753235538804500886125807167863
|
22
|
+
85557627028690178470916908298143979432385415619261
|
23
|
+
94953391888336543628102717275423831044341599646626
|
24
|
+
15522201014817660648953654300412209441868324094850
|
25
|
+
21289661875949184956429606317361918005928751706881
|
26
|
+
22801459681542615966936168874892161552505050250138
|
27
|
+
92858778419819455440531326990073921223873634919955
|
28
|
+
41434741891835024029680320113273033669271942712374
|
29
|
+
11161507077343084836595175497154100901564069081651
|
30
|
+
58878590803544939328840696233528481120982923714460
|
31
|
+
56542803717033184117428076627331191640248652964564
|
32
|
+
42315231494808831928399534838649558236612886828757
|
33
|
+
37348199461270593078422391491272791039638833010667
|
34
|
+
25242075296571592657726710140442960818636918204778
|
35
|
+
57614917645281138263065510189667833598490491428352
|
36
|
+
83380729100950033634176552324670811963663506218171
|
37
|
+
85286776829390510340502261381498432475399066929462
|
38
|
+
50381591536837681225849668411082375335586245625464
|
39
|
+
03887578900604598494564868613572224113511530369867
|
40
|
+
90254011180473230377917872287933574253975278804264
|
41
|
+
40377047050905800779007807628359383218772827777080
|
42
|
+
64979935643106935280560460529624484095277669401155
|
43
|
+
05946536347065382626532271488051333177838829590928
|
44
|
+
55049311317089882407154800185707470712821181283409
|
45
|
+
27230871157745709087002398038469448870378397773175
|
46
|
+
71689459658083117636584422340817992395947314932744
|
47
|
+
51830169651683471506912889006980251493990522319826
|
48
|
+
87522801025293910752009235137284720080008174240261
|
49
|
+
71795975098474991771605210359742195768485290053254
|
50
|
+
44499609559475708962384577009253435400071258897256
|
51
|
+
35995015623517948990420018550299638949803472517533
|
@@ -0,0 +1 @@
|
|
1
|
+
1 -> 2
|
@@ -0,0 +1 @@
|
|
1
|
+
No coloring today
|
@@ -0,0 +1 @@
|
|
1
|
+
6 -> 1
|
@@ -0,0 +1,12 @@
|
|
1
|
+
const step = parseInt(readline());
|
2
|
+
var inputs = readline().split(' ');
|
3
|
+
const w = parseInt(inputs[0]);
|
4
|
+
const h = parseInt(inputs[1]);
|
5
|
+
for (let i = 0; i < h; i++) {
|
6
|
+
const row = readline();
|
7
|
+
}
|
8
|
+
|
9
|
+
// Write an answer using console.log()
|
10
|
+
// To debug: console.error('Debug messages...');
|
11
|
+
|
12
|
+
console.log('average time to reach food');
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $step);
|
3
|
+
fscanf(STDIN, "%d %d", $w, $h);
|
4
|
+
for ($i = 0; $i < $h; $i++)
|
5
|
+
{
|
6
|
+
$row = stream_get_line(STDIN, 31 + 1, "\n");
|
7
|
+
}
|
8
|
+
|
9
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
10
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
11
|
+
|
12
|
+
echo("average time to reach food\n");
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/MarkovAnts",
|
3
|
+
"name": "Markov ants",
|
4
|
+
"alphanumName": "MarkovAnts",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/markov-ants",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Base case",
|
9
|
+
"alphanumName": "BaseCase",
|
10
|
+
"file": "01 - Base case.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Square 6",
|
14
|
+
"alphanumName": "Square6",
|
15
|
+
"file": "02 - Square 6.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Different step",
|
19
|
+
"alphanumName": "DifferentStep",
|
20
|
+
"file": "03 - Different step.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Different origin",
|
24
|
+
"alphanumName": "DifferentOrigin",
|
25
|
+
"file": "04 - Different origin.txt"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "Different shape (rectangle)",
|
29
|
+
"alphanumName": "DifferentShapeRectangle",
|
30
|
+
"file": "05 - Different shape (rectangle).txt"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "Different shape + start",
|
34
|
+
"alphanumName": "DifferentShapeStart",
|
35
|
+
"file": "06 - Different shape + start.txt"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "Different shape + start + step",
|
39
|
+
"alphanumName": "DifferentShapeStartStep",
|
40
|
+
"file": "07 - Different shape + start + step.txt"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "Extra test 1",
|
44
|
+
"alphanumName": "ExtraTest1",
|
45
|
+
"file": "08 - Extra test 1.txt"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "Extra test 2",
|
49
|
+
"alphanumName": "ExtraTest2",
|
50
|
+
"file": "09 - Extra test 2.txt"
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|