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 30, 2026 14:56Victor MerckléVictor MerckléScore: 4,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2026 14:574,086142,834,470133,759,0001,092,0002,117,632stderr
2Jun 30, 2026 14:574,088142,729,992133,817,0001,112,0002,117,632stderr
3Jun 30, 2026 14:574,092142,790,368133,959,0001,107,0002,117,632stderr
4Jun 30, 2026 14:574,100143,305,273134,213,0001,105,0002,117,632stderr
5Jun 30, 2026 14:574,104143,539,018134,244,0001,196,0002,117,632stderr
6Jun 30, 2026 14:574,106143,370,273134,345,0001,177,0002,117,632stderr
7Jun 30, 2026 14:574,107143,455,057134,349,0001,182,0002,121,728stderr
8Jun 30, 2026 14:574,108143,926,070134,390,0001,179,0002,117,632stderr
9Jun 30, 2026 14:574,110144,920,133134,467,0001,169,0002,117,632stderr