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 20, 2026 21:14Victor MerckléVictor MerckléScore: 7,261Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 21:147,253246,805,887201,926,00037,438,0002,117,632stderr
2Jun 20, 2026 21:147,256247,426,275201,938,00037,513,0002,117,632stderr
3Jun 20, 2026 21:147,257247,655,986201,940,00037,557,0002,117,632stderr
4Jun 20, 2026 21:147,259247,668,096202,109,00037,448,0002,117,632stderr
5Jun 20, 2026 21:147,261247,365,902202,022,00037,602,0002,117,632stderr
6Jun 20, 2026 21:147,274247,772,688202,510,00037,556,0002,117,632stderr
7Jun 20, 2026 21:147,291248,618,075202,176,00038,445,0002,117,632stderr
8Jun 20, 2026 21:147,408252,531,730206,952,00037,542,0002,117,632stderr
9Jun 20, 2026 21:147,442253,295,814208,104,00037,485,0002,117,632stderr