@cyrilverloop/codingame-configuration 1.5.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +42 -0
- package/config/easy/BlendingColors/config.json +1 -1
- package/config/easy/CrazyList/config.json +1 -1
- package/config/easy/FurlongsPerFortnight/config.json +8 -8
- package/config/easy/SavingSnoopy/config.json +1 -1
- package/config/easy/TheAlienBusinessOfCows/code/CGCode.js +9 -0
- package/config/easy/TheAlienBusinessOfCows/code/CGCode.php +11 -0
- package/config/easy/TheAlienBusinessOfCows/config.json +33 -0
- package/config/easy/TheAlienBusinessOfCows/input/01 - United Steak of America.txt +12 -0
- package/config/easy/TheAlienBusinessOfCows/input/02 - Free Tacow !.txt +9 -0
- package/config/easy/TheAlienBusinessOfCows/input/03 - Is that a Mowse.txt +5 -0
- package/config/easy/TheAlienBusinessOfCows/input/04 - Those missions are stupid.txt +5 -0
- package/config/easy/TheAlienBusinessOfCows/input/05 - Union of Steak Amateurs.txt +9 -0
- package/config/easy/TheAlienBusinessOfCows/output/01 - United Steak of America.txt +11 -0
- package/config/easy/TheAlienBusinessOfCows/output/02 - Free Tacow !.txt +8 -0
- package/config/easy/TheAlienBusinessOfCows/output/03 - Is that a Mowse.txt +4 -0
- package/config/easy/TheAlienBusinessOfCows/output/04 - Those missions are stupid.txt +4 -0
- package/config/easy/TheAlienBusinessOfCows/output/05 - Union of Steak Amateurs.txt +8 -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/LexiScrambleQuest/code/CGCode.js +6 -0
- package/config/medium/LexiScrambleQuest/code/CGCode.php +7 -0
- package/config/medium/LexiScrambleQuest/config.json +48 -0
- package/config/medium/LexiScrambleQuest/input/01 - Nursery.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/02 - Just words....txt +1 -0
- package/config/medium/LexiScrambleQuest/input/03 - Small words.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/04 - Medium length.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/05 - Little long.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/06 - mississippi.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/07 - Monstrous.txt +1 -0
- package/config/medium/LexiScrambleQuest/input/08 - Beatles.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/01 - Nursery.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/02 - Just words....txt +1 -0
- package/config/medium/LexiScrambleQuest/output/03 - Small words.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/04 - Medium length.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/05 - Little long.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/06 - mississippi.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/07 - Monstrous.txt +1 -0
- package/config/medium/LexiScrambleQuest/output/08 - Beatles.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 @@
|
|
1
|
+
1
|
@@ -0,0 +1 @@
|
|
1
|
+
3:4
|
@@ -0,0 +1 @@
|
|
1
|
+
+10.375
|
package/config/medium/DecimalNumbersToFloatingNumbers/input/05 - Decimal with rounding (1).txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1
|
package/config/medium/DecimalNumbersToFloatingNumbers/input/06 - Decimal with rounding (2).txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.15
|
@@ -0,0 +1 @@
|
|
1
|
+
15e0
|
@@ -0,0 +1 @@
|
|
1
|
+
1.2e+5
|
@@ -0,0 +1 @@
|
|
1
|
+
3.5e-5
|
@@ -0,0 +1 @@
|
|
1
|
+
-1.875e-4
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?php
|
2
|
+
for ($i = 0; $i < 8; $i++)
|
3
|
+
{
|
4
|
+
fscanf(STDIN, "%s", $row);
|
5
|
+
}
|
6
|
+
for ($i = 0; $i < 8; $i++)
|
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("row\n");
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"path": "easy/FinishTheEightQueens",
|
3
|
+
"name": "Finish the Eight Queens",
|
4
|
+
"alphanumName": "FinishTheEightQueens",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/finish-the-eight-queens",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Test 1",
|
9
|
+
"alphanumName": "test1",
|
10
|
+
"file": "01 - test 1.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Test 2",
|
14
|
+
"alphanumName": "test2",
|
15
|
+
"file": "02 - test 2.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Test 3",
|
19
|
+
"alphanumName": "test3",
|
20
|
+
"file": "03 - test 3.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Test 4",
|
24
|
+
"alphanumName": "test4",
|
25
|
+
"file": "04 - test 4.txt"
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const numNodes = parseInt(readline());
|
2
|
+
const virusLocation = parseInt(readline());
|
3
|
+
const numLinks = parseInt(readline());
|
4
|
+
for (let i = 0; i < numLinks; i++) {
|
5
|
+
const link = 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,13 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $numNodes);
|
3
|
+
fscanf(STDIN, "%d", $virusLocation);
|
4
|
+
fscanf(STDIN, "%d", $numLinks);
|
5
|
+
for ($i = 0; $i < $numLinks; $i++)
|
6
|
+
{
|
7
|
+
$link = stream_get_line(STDIN, 1024 + 1, "\n");
|
8
|
+
}
|
9
|
+
|
10
|
+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
|
11
|
+
// To debug: error_log(var_export($var, true)); (equivalent to var_dump)
|
12
|
+
|
13
|
+
echo("answer\n");
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"path": "medium/FirewallPlacement",
|
3
|
+
"name": "Firewall placement",
|
4
|
+
"alphanumName": "FirewallPlacement",
|
5
|
+
"link": "https://www.codingame.com/ide/puzzle/firewall-placement",
|
6
|
+
"tests": [
|
7
|
+
{
|
8
|
+
"name": "Small network",
|
9
|
+
"alphanumName": "SmallNetwork",
|
10
|
+
"file": "01 - Small network.txt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "Medium network",
|
14
|
+
"alphanumName": "MediumNetwork",
|
15
|
+
"file": "02 - Medium network.txt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "Larger lobster graph",
|
19
|
+
"alphanumName": "LargerLobsterGraph",
|
20
|
+
"file": "03 - Larger lobster graph.txt"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Large graph",
|
24
|
+
"alphanumName": "LargeGraph",
|
25
|
+
"file": "04 - Large graph.txt"
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
116
|
2
|
+
3
|
3
|
+
115
|
4
|
+
0 1
|
5
|
+
1 2
|
6
|
+
1 18
|
7
|
+
1 22
|
8
|
+
1 28
|
9
|
+
2 3
|
10
|
+
2 30
|
11
|
+
2 32
|
12
|
+
2 33
|
13
|
+
2 36
|
14
|
+
3 4
|
15
|
+
3 39
|
16
|
+
3 43
|
17
|
+
4 5
|
18
|
+
5 6
|
19
|
+
5 44
|
20
|
+
6 7
|
21
|
+
7 8
|
22
|
+
7 46
|
23
|
+
7 47
|
24
|
+
8 9
|
25
|
+
8 49
|
26
|
+
8 50
|
27
|
+
9 10
|
28
|
+
10 11
|
29
|
+
11 12
|
30
|
+
12 13
|
31
|
+
12 53
|
32
|
+
12 55
|
33
|
+
12 57
|
34
|
+
12 61
|
35
|
+
12 62
|
36
|
+
13 14
|
37
|
+
13 67
|
38
|
+
13 68
|
39
|
+
13 69
|
40
|
+
13 70
|
41
|
+
13 74
|
42
|
+
13 76
|
43
|
+
13 78
|
44
|
+
13 80
|
45
|
+
14 15
|
46
|
+
15 16
|
47
|
+
15 82
|
48
|
+
15 85
|
49
|
+
15 90
|
50
|
+
15 93
|
51
|
+
16 17
|
52
|
+
16 95
|
53
|
+
16 97
|
54
|
+
16 102
|
55
|
+
16 105
|
56
|
+
17 106
|
57
|
+
17 112
|
58
|
+
18 19
|
59
|
+
18 20
|
60
|
+
18 21
|
61
|
+
22 23
|
62
|
+
22 24
|
63
|
+
22 25
|
64
|
+
22 26
|
65
|
+
22 27
|
66
|
+
28 29
|
67
|
+
30 31
|
68
|
+
33 34
|
69
|
+
33 35
|
70
|
+
36 37
|
71
|
+
36 38
|
72
|
+
39 40
|
73
|
+
39 41
|
74
|
+
39 42
|
75
|
+
44 45
|
76
|
+
47 48
|
77
|
+
50 51
|
78
|
+
50 52
|
79
|
+
53 54
|
80
|
+
55 56
|
81
|
+
57 58
|
82
|
+
57 59
|
83
|
+
57 60
|
84
|
+
62 63
|
85
|
+
62 64
|
86
|
+
62 65
|
87
|
+
62 66
|
88
|
+
70 71
|
89
|
+
70 72
|
90
|
+
70 73
|
91
|
+
74 75
|
92
|
+
76 77
|
93
|
+
78 79
|
94
|
+
80 81
|
95
|
+
82 83
|
96
|
+
82 84
|
97
|
+
85 86
|
98
|
+
85 87
|
99
|
+
85 88
|
100
|
+
85 89
|
101
|
+
90 91
|
102
|
+
90 92
|
103
|
+
93 94
|
104
|
+
95 96
|
105
|
+
97 98
|
106
|
+
97 99
|
107
|
+
97 100
|
108
|
+
97 101
|
109
|
+
102 103
|
110
|
+
102 104
|
111
|
+
106 107
|
112
|
+
106 108
|
113
|
+
106 109
|
114
|
+
106 110
|
115
|
+
106 111
|
116
|
+
112 113
|
117
|
+
112 114
|
118
|
+
112 115
|
@@ -0,0 +1,253 @@
|
|
1
|
+
250
|
2
|
+
54
|
3
|
+
250
|
4
|
+
0 72
|
5
|
+
0 234
|
6
|
+
0 204
|
7
|
+
1 2
|
8
|
+
1 216
|
9
|
+
1 184
|
10
|
+
3 95
|
11
|
+
4 245
|
12
|
+
5 22
|
13
|
+
5 35
|
14
|
+
5 164
|
15
|
+
5 104
|
16
|
+
6 99
|
17
|
+
7 98
|
18
|
+
7 69
|
19
|
+
7 163
|
20
|
+
8 148
|
21
|
+
8 157
|
22
|
+
8 34
|
23
|
+
9 72
|
24
|
+
10 244
|
25
|
+
11 60
|
26
|
+
11 145
|
27
|
+
12 71
|
28
|
+
12 185
|
29
|
+
12 227
|
30
|
+
13 175
|
31
|
+
14 240
|
32
|
+
14 192
|
33
|
+
15 118
|
34
|
+
15 95
|
35
|
+
15 93
|
36
|
+
15 222
|
37
|
+
16 197
|
38
|
+
16 43
|
39
|
+
17 180
|
40
|
+
17 54
|
41
|
+
18 59
|
42
|
+
18 117
|
43
|
+
19 152
|
44
|
+
19 243
|
45
|
+
20 83
|
46
|
+
21 101
|
47
|
+
21 102
|
48
|
+
21 189
|
49
|
+
21 28
|
50
|
+
23 76
|
51
|
+
23 31
|
52
|
+
24 66
|
53
|
+
24 158
|
54
|
+
24 30
|
55
|
+
25 178
|
56
|
+
25 231
|
57
|
+
26 151
|
58
|
+
26 115
|
59
|
+
27 132
|
60
|
+
28 155
|
61
|
+
28 87
|
62
|
+
29 31
|
63
|
+
30 151
|
64
|
+
31 59
|
65
|
+
32 69
|
66
|
+
33 195
|
67
|
+
34 174
|
68
|
+
34 124
|
69
|
+
36 178
|
70
|
+
37 174
|
71
|
+
38 172
|
72
|
+
38 201
|
73
|
+
38 55
|
74
|
+
39 161
|
75
|
+
40 55
|
76
|
+
41 215
|
77
|
+
41 189
|
78
|
+
42 71
|
79
|
+
43 225
|
80
|
+
43 204
|
81
|
+
44 187
|
82
|
+
44 55
|
83
|
+
45 115
|
84
|
+
45 97
|
85
|
+
45 230
|
86
|
+
46 51
|
87
|
+
46 183
|
88
|
+
46 210
|
89
|
+
47 57
|
90
|
+
47 66
|
91
|
+
48 190
|
92
|
+
48 158
|
93
|
+
49 214
|
94
|
+
50 66
|
95
|
+
52 174
|
96
|
+
53 91
|
97
|
+
53 139
|
98
|
+
54 135
|
99
|
+
54 123
|
100
|
+
55 83
|
101
|
+
55 122
|
102
|
+
56 199
|
103
|
+
56 147
|
104
|
+
56 167
|
105
|
+
57 166
|
106
|
+
58 161
|
107
|
+
58 228
|
108
|
+
61 113
|
109
|
+
62 241
|
110
|
+
62 121
|
111
|
+
63 193
|
112
|
+
63 137
|
113
|
+
64 209
|
114
|
+
64 141
|
115
|
+
65 116
|
116
|
+
66 206
|
117
|
+
67 82
|
118
|
+
68 159
|
119
|
+
69 80
|
120
|
+
69 104
|
121
|
+
70 211
|
122
|
+
70 87
|
123
|
+
70 77
|
124
|
+
73 159
|
125
|
+
73 125
|
126
|
+
74 223
|
127
|
+
74 134
|
128
|
+
75 146
|
129
|
+
77 183
|
130
|
+
78 163
|
131
|
+
79 132
|
132
|
+
79 120
|
133
|
+
80 86
|
134
|
+
81 231
|
135
|
+
82 100
|
136
|
+
84 119
|
137
|
+
85 168
|
138
|
+
88 213
|
139
|
+
89 234
|
140
|
+
90 122
|
141
|
+
90 96
|
142
|
+
90 205
|
143
|
+
90 145
|
144
|
+
92 202
|
145
|
+
92 154
|
146
|
+
93 247
|
147
|
+
94 167
|
148
|
+
95 176
|
149
|
+
96 204
|
150
|
+
97 128
|
151
|
+
99 200
|
152
|
+
99 212
|
153
|
+
99 129
|
154
|
+
100 137
|
155
|
+
103 226
|
156
|
+
103 131
|
157
|
+
105 243
|
158
|
+
106 237
|
159
|
+
106 188
|
160
|
+
107 117
|
161
|
+
107 243
|
162
|
+
108 161
|
163
|
+
109 130
|
164
|
+
109 142
|
165
|
+
109 162
|
166
|
+
109 157
|
167
|
+
110 118
|
168
|
+
111 242
|
169
|
+
112 185
|
170
|
+
113 129
|
171
|
+
113 138
|
172
|
+
113 231
|
173
|
+
114 182
|
174
|
+
116 169
|
175
|
+
119 212
|
176
|
+
120 205
|
177
|
+
121 248
|
178
|
+
121 230
|
179
|
+
122 233
|
180
|
+
123 160
|
181
|
+
123 244
|
182
|
+
123 246
|
183
|
+
124 248
|
184
|
+
125 217
|
185
|
+
125 239
|
186
|
+
125 227
|
187
|
+
126 127
|
188
|
+
126 182
|
189
|
+
128 222
|
190
|
+
131 184
|
191
|
+
131 185
|
192
|
+
133 231
|
193
|
+
134 222
|
194
|
+
135 194
|
195
|
+
135 224
|
196
|
+
136 219
|
197
|
+
137 147
|
198
|
+
138 196
|
199
|
+
138 229
|
200
|
+
139 221
|
201
|
+
140 183
|
202
|
+
141 232
|
203
|
+
141 203
|
204
|
+
143 206
|
205
|
+
144 198
|
206
|
+
144 174
|
207
|
+
145 171
|
208
|
+
145 214
|
209
|
+
146 225
|
210
|
+
147 191
|
211
|
+
147 220
|
212
|
+
147 221
|
213
|
+
149 202
|
214
|
+
150 200
|
215
|
+
151 213
|
216
|
+
153 231
|
217
|
+
153 249
|
218
|
+
154 169
|
219
|
+
155 167
|
220
|
+
156 218
|
221
|
+
156 165
|
222
|
+
158 242
|
223
|
+
160 175
|
224
|
+
161 181
|
225
|
+
163 176
|
226
|
+
165 224
|
227
|
+
166 210
|
228
|
+
166 192
|
229
|
+
168 227
|
230
|
+
168 176
|
231
|
+
169 195
|
232
|
+
169 198
|
233
|
+
170 215
|
234
|
+
173 228
|
235
|
+
177 196
|
236
|
+
179 215
|
237
|
+
181 235
|
238
|
+
182 209
|
239
|
+
186 196
|
240
|
+
188 192
|
241
|
+
190 228
|
242
|
+
192 219
|
243
|
+
195 243
|
244
|
+
201 207
|
245
|
+
203 239
|
246
|
+
205 245
|
247
|
+
208 214
|
248
|
+
214 230
|
249
|
+
224 230
|
250
|
+
230 238
|
251
|
+
236 244
|
252
|
+
246 249
|
253
|
+
131 198
|
@@ -0,0 +1 @@
|
|
1
|
+
3
|
@@ -0,0 +1 @@
|
|
1
|
+
9
|
@@ -0,0 +1 @@
|
|
1
|
+
4
|
@@ -0,0 +1 @@
|
|
1
|
+
135
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?php
|
2
|
+
fscanf(STDIN, "%d", $n);
|
3
|
+
for ($i = 0; $i < $n; $i++)
|
4
|
+
{
|
5
|
+
$line = stream_get_line(STDIN, 1000 + 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("result\n");
|