Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: spiwips
Problemset: เรียงสตริง
Language: python
Time: 0.012 second
Submitted On: 2025-09-29 19:57:12
s = input()
l = []
a = []
for i in s:
l.append(ord(i))
l.sort()
for j in range(len(l)):
if j!=len(l)-1 and l[j] != l[j+1]:
a.append(chr(l[j]))
elif j == len(l)-1:
a.append(chr(l[j]))
print(' '.join(a))