题解 | #质数因子#
字符个数统计
http://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
【Python】双指针法
mystr=input()
str_len=len(mystr)
mystr=sorted(mystr)
i=j=0
count=0
while i<=j:
for j in range(0,str_len):
if(mystr[j]=='\n'):
print(count)
exit()
elif mystr[i]!=mystr[j]:
i=j
count+=1
break
print(count+1)