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 listOct 29, 2026 22:28Andrew EpsteinAndrew EpsteinScore: 79,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:3278,8162,612,166,2702,591,515,0009,443,0002,121,728stderr
2Oct 29, 2026 22:3278,9032,614,854,4452,595,450,0008,360,0002,121,728stderr
3Oct 29, 2026 22:3278,9122,617,046,3882,594,693,0009,433,0002,121,728stderr
4Oct 29, 2026 22:3279,0442,619,436,4862,598,885,0009,571,0002,121,728stderr
5Oct 29, 2026 22:3279,0512,619,778,9052,597,242,00011,459,0002,121,728stderr
6Oct 29, 2026 22:3279,1672,623,521,3222,603,037,0009,481,0002,121,728stderr
7Oct 29, 2026 22:3279,4422,632,524,7672,613,218,0008,382,0002,121,728stderr
8Oct 29, 2026 22:3279,4892,634,207,8002,613,744,0009,425,0002,121,728stderr
9Oct 29, 2026 22:3279,5502,636,324,2162,615,696,0009,457,0002,121,728stderr