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 22:59Victor MerckléVictor MerckléScore: 3,323Success
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:003,315117,197,999108,285,0001,112,0002,113,536
2Jun 27, 2026 23:003,316117,246,325108,361,0001,096,0002,113,536
3Jun 27, 2026 23:003,317117,274,888108,390,0001,103,0002,113,536
4Jun 27, 2026 23:003,319118,924,024108,452,0001,100,0002,113,536
5Jun 27, 2026 23:003,323117,485,567108,585,0001,105,0002,113,536
6Jun 27, 2026 23:003,328117,501,046108,715,0001,116,0002,113,536
7Jun 27, 2026 23:003,329117,567,107108,757,0001,112,0002,113,536
8Jun 27, 2026 23:003,332117,658,119108,818,0001,164,0002,113,536
9Jun 27, 2026 23:003,345118,440,650109,221,0001,191,0002,113,536