Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listDec 16, 2025 14:12Rajarshi BasuRajarshi BasuScore: 8,052Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2025 14:127,990294,662,497254,687,0008,988,0002,498,560
2Dec 16, 2025 14:127,998286,584,211250,948,00012,997,0002,510,848
3Dec 16, 2025 14:128,019288,278,486254,656,0009,986,0002,347,008
4Dec 16, 2025 14:128,024294,205,316256,793,0007,993,0002,469,888
5Dec 16, 2025 14:128,031296,012,701257,014,0008,000,0002,363,392
6Dec 16, 2025 14:128,034290,232,749256,126,0009,004,0002,510,848
7Dec 16, 2025 14:128,048294,005,663255,610,0009,984,0002,473,984
8Dec 16, 2025 14:128,052292,502,175259,707,0005,993,0002,347,008
9Dec 16, 2025 14:128,053296,219,441256,765,0008,991,0002,297,856
10Dec 16, 2025 14:128,076295,702,883258,537,0007,985,0002,510,848
11Dec 16, 2025 14:128,078292,202,909256,590,0009,984,0002,494,464
12Dec 16, 2025 14:128,092296,211,942259,029,0008,000,0002,297,856
13Dec 16, 2025 14:128,107292,693,171259,546,0007,986,0002,351,104
14Dec 16, 2025 14:128,250301,788,794263,282,0008,975,0002,514,944
15Dec 16, 2025 14:128,285302,197,491264,413,0008,980,0002,510,848