← Back to List

18256번: Interleaved Periodic String ↗

Solutions

Python 3
55 B | 55 chars
for _ in range(int(input())): print(len(set(input())))