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 listJun 21, 2026 19:17Victor MerckléVictor MerckléScore: 7,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 19:187,613258,775,306213,801,00037,441,0002,117,632stderr
2Jun 21, 2026 19:187,614258,785,063213,830,00037,460,0002,117,632stderr
3Jun 21, 2026 19:187,628259,627,008214,173,00037,577,0002,117,632stderr
4Jun 21, 2026 19:187,631262,569,400214,536,00037,299,0002,117,632stderr
5Jun 21, 2026 19:187,647259,878,640214,027,00038,346,0002,117,632stderr
6Jun 21, 2026 19:187,651260,196,213214,948,00037,546,0002,117,632stderr
7Jun 21, 2026 19:187,661260,378,799214,300,00038,545,0002,117,632stderr
8Jun 21, 2026 19:187,667260,490,893214,626,00038,387,0002,117,632stderr
9Jun 21, 2026 19:187,681260,965,452215,011,00038,494,0002,117,632stderr