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 09:03Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 00:24Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 01:57020,021,330,57120,008,449,0003,178,00016,384Killed by timeout
2Jun 28, 2026 09:043,333118,037,648108,905,0001,091,0002,113,536
3Jun 28, 2026 09:043,334118,130,827108,986,0001,051,0002,113,536
4Jun 28, 2026 09:043,335118,108,599109,020,0001,039,0002,113,536
5Jun 28, 2026 09:043,339118,233,258109,088,0001,100,0002,113,536
6Jun 28, 2026 09:043,339118,179,834109,113,0001,091,0002,113,536
7Jun 28, 2026 09:043,341118,267,929109,229,0001,039,0002,113,536
8Jun 28, 2026 09:043,344118,466,728109,280,0001,103,0002,113,536
9Jun 28, 2026 09:043,344118,414,471109,253,0001,101,0002,113,536
10Jun 28, 2026 09:043,348118,742,292109,486,0001,030,0002,113,536