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 23:06Victor MerckléVictor MerckléScore: 3,335Success
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 23:073,316117,249,370108,339,0001,119,0002,117,632stderr
2Jun 27, 2026 23:073,324117,494,023108,600,0001,117,0002,117,632stderr
3Jun 27, 2026 23:073,326117,592,379108,573,0001,185,0002,117,632stderr
4Jun 27, 2026 23:073,329118,024,205108,656,0001,202,0002,117,632stderr
5Jun 27, 2026 23:073,335117,878,250108,891,0001,176,0002,117,632stderr
6Jun 27, 2026 23:073,341118,127,827109,056,0001,216,0002,117,632stderr
7Jun 27, 2026 23:073,343118,168,391109,144,0001,202,0002,117,632stderr
8Jun 27, 2026 23:073,344118,139,186109,179,0001,188,0002,117,632stderr
9Jun 27, 2026 23:073,347118,625,033109,253,0001,204,0002,117,632stderr