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 27, 2026 17:27Victor MerckléVictor MerckléScore: 4,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 17:284,686162,592,561117,766,00036,872,0002,117,632stderr
2Jun 27, 2026 17:284,688162,553,764117,819,00036,895,0002,117,632stderr
3Jun 27, 2026 17:284,693162,666,755118,055,00036,839,0002,117,632stderr
4Jun 27, 2026 17:284,693162,719,824117,934,00036,937,0002,117,632stderr
5Jun 27, 2026 17:284,697163,295,352118,124,00036,885,0002,117,632stderr
6Jun 27, 2026 17:284,704163,009,529118,408,00036,834,0002,117,632stderr
7Jun 27, 2026 17:284,714163,453,535118,570,00037,009,0002,117,632stderr
8Jun 27, 2026 17:284,722164,074,435118,785,00037,063,0002,117,632stderr
9Jun 27, 2026 17:284,727163,780,837118,253,00037,739,0002,117,632stderr