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 01:12Andrew EpsteinAndrew EpsteinScore: 44,496Success
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 01:4444,4171,477,290,9551,458,491,0007,278,0002,121,728stderr
2Oct 30, 2026 01:4444,4301,477,543,7741,458,897,0007,325,0002,121,728stderr
3Oct 30, 2026 01:4444,4491,477,862,7351,459,408,0007,417,0002,121,728stderr
4Oct 30, 2026 01:4444,4621,478,236,8011,459,824,0007,428,0002,121,728stderr
5Oct 30, 2026 01:4444,4961,479,567,5121,461,108,0007,281,0002,121,728stderr
6Oct 30, 2026 01:4444,5011,479,492,3611,461,192,0007,342,0002,121,728stderr
7Oct 30, 2026 01:4444,6011,483,043,6001,464,491,0007,365,0002,121,728stderr
8Oct 30, 2026 01:4444,9121,493,541,5111,474,824,0007,293,0002,121,728stderr
9Oct 30, 2026 01:4445,4501,510,786,9791,492,666,0007,193,0002,121,728stderr