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 23:42Andrew EpsteinAndrew EpsteinScore: 41,351Success
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 23:4441,1211,368,560,5631,347,512,0009,482,0002,121,728stderr
2Oct 30, 2026 23:4441,2421,372,045,4231,351,665,0009,336,0002,121,728stderr
3Oct 30, 2026 23:4441,2451,372,335,6391,351,625,0009,488,0002,121,728stderr
4Oct 30, 2026 23:4441,2841,373,330,2911,352,926,0009,458,0002,121,728stderr
5Oct 30, 2026 23:4441,3511,375,837,0221,355,123,0009,478,0002,121,728stderr
6Oct 30, 2026 23:4441,5311,381,533,5681,361,204,0009,322,0002,121,728stderr
7Oct 30, 2026 23:4441,6721,386,171,2821,365,773,0009,417,0002,121,728stderr
8Oct 30, 2026 23:4441,7641,389,719,5801,368,839,0009,378,0002,121,728stderr
9Oct 30, 2026 23:4441,9591,395,557,1731,375,067,0009,598,0002,121,728stderr