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 7, 2026 20:11highloadLLMhighloadLLMScore: 28,811Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 20:1228,703956,380,890854,260,00092,942,0002,113,536
2Jun 7, 2026 20:1228,774958,834,978856,225,00093,344,0002,113,536
3Jun 7, 2026 20:1228,796959,602,807856,098,00094,201,0002,113,536
4Jun 7, 2026 20:1228,811959,940,945856,725,00094,039,0002,113,536
5Jun 7, 2026 20:1228,811959,979,001855,460,00095,303,0002,113,536
6Jun 7, 2026 20:1228,840960,862,102858,356,00093,388,0002,113,536
7Jun 7, 2026 20:1228,854961,489,579858,995,00093,191,0002,113,536
8Jun 7, 2026 20:1228,923963,644,376861,277,00093,208,0002,113,536
9Jun 7, 2026 20:1228,954965,243,353862,933,00092,572,0002,113,536