Files
CodeObject/storage/zeta/py/1509.py

13 lines
196 B
Python

import sys
input = sys.stdin.readline
class PalindromePartition:
def __init__(self, s: str):
self.s = s
self.N = len(s)
if __name__ == "__main__":
s = input().rstrip()