#P3370. Count Unique Strings
Count Unique Strings
Count Unique Strings
You are given an integer N and N strings. The i-th string has a length of $M_i$ and may contain digits, uppercase letters, and lowercase letters. Note that the strings are case-sensitive. Your task is to determine how many distinct strings appear in the input.
Tip: If you really want to get good practice with hashing, dive in!
inputFormat
The input starts with a single integer on the first line. Each of the following lines contains one string comprised of digits and letters. The string provided in the -th line has a length of .
outputFormat
Output a single integer, which is the number of distinct strings among the provided strings.
sample
3
abc
abc
ABC
2