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 16:23Victor MerckléVictor MerckléScore: 3,289Success
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 16:243,279116,088,815107,126,0001,094,0002,113,536
2Jun 28, 2026 16:243,282116,291,299107,209,0001,110,0002,113,536
3Jun 28, 2026 16:243,284116,221,264107,301,0001,094,0002,113,536
4Jun 28, 2026 16:243,286116,164,642107,308,0001,148,0002,113,536
5Jun 28, 2026 16:243,289116,398,826107,439,0001,105,0002,113,536
6Jun 28, 2026 16:243,297116,621,204107,669,0001,147,0002,113,536
7Jun 28, 2026 16:243,302116,981,794107,800,0001,178,0002,113,536
8Jun 28, 2026 16:243,304116,814,052107,861,0001,176,0002,113,536
9Jun 28, 2026 16:243,307116,928,588107,975,0001,183,0002,113,536