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 listOct 30, 2026 02:08Andrew EpsteinAndrew EpsteinScore: 65,691Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 02:1365,3462,167,943,6822,144,882,00011,546,0002,121,728stderr
2Oct 30, 2026 02:1365,3652,169,877,8502,146,559,00010,512,0002,121,728stderr
3Oct 30, 2026 02:1365,5042,173,225,7362,151,175,00010,458,0002,121,728stderr
4Oct 30, 2026 02:1365,5932,175,797,5472,154,138,00010,438,0002,121,728stderr
5Oct 30, 2026 02:1365,6912,179,305,6422,157,320,00010,503,0002,121,728stderr
6Oct 30, 2026 02:1366,0622,191,436,5642,169,705,00010,349,0002,121,728stderr
7Oct 30, 2026 02:1366,1212,192,979,7282,171,474,00010,548,0002,121,728stderr
8Oct 30, 2026 02:1366,2032,196,026,6152,174,225,00010,485,0002,121,728stderr
9Oct 30, 2026 02:1366,2762,198,475,1652,176,559,00010,571,0002,121,728stderr