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 28, 2026 15:37Victor MerckléVictor MerckléScore: 3,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 15:383,296116,539,480107,665,0001,134,0002,117,632stderr
2Jun 28, 2026 15:383,296116,470,467107,680,0001,113,0002,117,632stderr
3Jun 28, 2026 15:383,297116,501,199107,687,0001,121,0002,117,632stderr
4Jun 28, 2026 15:383,298116,584,708107,692,0001,144,0002,117,632stderr
5Jun 28, 2026 15:383,299116,609,649107,732,0001,145,0002,117,632stderr
6Jun 28, 2026 15:383,299116,634,206107,768,0001,117,0002,117,632stderr
7Jun 28, 2026 15:383,307117,057,665108,004,0001,158,0002,117,632stderr
8Jun 28, 2026 15:383,312117,124,625108,182,0001,141,0002,117,632stderr
9Jun 28, 2026 15:383,325117,432,543108,607,0001,149,0002,117,632stderr