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 listSep 18, 2026 18:49Andrew EpsteinAndrew EpsteinScore: 73,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 18:5173,0952,423,320,8182,405,978,0006,160,0002,121,728stderr
2Sep 18, 2026 18:5173,1732,426,403,7752,408,516,0006,220,0002,121,728stderr
3Sep 18, 2026 18:5173,2142,426,652,2462,409,885,0006,197,0002,121,728stderr
4Sep 18, 2026 18:5173,3622,432,271,7022,414,553,0006,410,0002,121,728stderr
5Sep 18, 2026 18:5173,4752,435,368,7072,418,383,0006,300,0002,121,728stderr
6Sep 18, 2026 18:5173,5652,438,787,5462,421,463,0006,200,0002,121,728stderr
7Sep 18, 2026 18:5173,6362,440,502,5712,423,746,0006,259,0002,121,728stderr
8Sep 18, 2026 18:5173,6452,440,788,0492,423,911,0006,385,0002,121,728stderr
9Sep 18, 2026 18:5174,1582,457,872,4172,440,929,0006,295,0002,121,728stderr