Es soll die Menge (!) aller längsten Subpalindrome ausgeben werden. Dafür gibt es 3 Punkte.
Comment prefix | # |
---|---|
Given input | odnracmulasaluchiarmdheflrifreuibiederfred |
Expected output | derfreibierfred draculasalucard |
Comment prefix | # |
Given input | lqmoxxngoglnqomx |
Expected output | mongognom |
Comment prefix | # |
Given input | lagexrregxal |
Expected output | lagerregal |
Comment prefix | # |
Given input | cfdigartgafossagitinacanfdgitissotratgic |
Expected output | cigartossitinacanitissotragic |
Comment prefix | # |
Given input | abgfvhadfahdfcalhcalfdioejid |
Expected output | afhadahfa afhafahfa ahadadaha ahadfdaha ahadhdaha ahafafaha ahafdfaha ahafhfaha ddfacafdd ddfahafdd ddfalafdd ddfcacfdd ddfchcfdd ddfclcfdd ddflalfdd ddflclfdd ddflhlfdd dfacacafd dfachcafd dfaclcafd dfahahafd dfahchafd dfahdhafd dfahfhafd dfahlhafd fhadadahf fhadfdahf fhadhdahf fhafafahf fhafdfahf fhafhfahf |
Comment prefix | # |
Given input | daklskl |
Expected output | klk ksk lkl lsl |