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 22, 2026 23:21Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2026 23:240171,223,445126,804,00036,905,0002,113,536expected "1022265 ", got "1022264 "
2Jun 22, 2026 23:244,965171,943,394126,977,00036,884,0002,113,536
3Jun 22, 2026 23:244,970171,725,582127,150,00036,886,0002,113,536
4Jun 22, 2026 23:244,971171,602,483126,545,00037,525,0002,113,536
5Jun 22, 2026 23:244,972171,712,956126,461,00037,629,0002,113,536
6Jun 22, 2026 23:244,978171,947,053127,347,00036,959,0002,113,536
7Jun 22, 2026 23:244,981172,197,107127,420,00036,965,0002,113,536
8Jun 22, 2026 23:244,987172,067,853126,822,00037,763,0002,113,536
9Jun 22, 2026 23:244,997172,366,656127,080,00037,821,0002,113,536