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 listApr 27, 2026 09:56Victor MerckléVictor MerckléScore: 561,991Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 09:57560,55718,542,124,63518,165,771,000332,629,0002,326,528stderr
2Apr 27, 2026 09:57561,99118,588,311,97518,237,056,000308,662,0002,322,432stderr
3Apr 27, 2026 09:57564,71818,675,755,23618,305,064,000330,639,0002,314,240stderr