Saturday, June 16, 2018

IITKWPCA - Niceness of the string : Classical

#The solution in Python 3 is as follows:

for _ in range(int(input())): print (len(set(input().split())))


#Keep visiting for more solutions of SPOJ problems in Python 3.Thank you!!!