Files
CodeObject/zeta_python/completed/11656.py
2020-08-12 04:15:11 +09:00

7 lines
96 B
Python

I = input()
T = set()
for i in range(len(I)):
T.add(I[i:])
for t in sorted(T):
print(t)