Files
CodeObject/zeta/py/1509.py
2025-05-07 04:44:30 +09:00

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()