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 27, 2026 20:36Victor MerckléVictor MerckléScore: 3,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 20:373,377119,280,797110,358,0001,107,0002,113,536
2Jun 27, 2026 20:373,379119,688,241110,359,0001,167,0002,113,536
3Jun 27, 2026 20:373,381119,966,188110,417,0001,174,0002,113,536
4Jun 27, 2026 20:373,387120,027,678110,609,0001,182,0002,113,536
5Jun 27, 2026 20:373,388120,047,014110,636,0001,186,0002,113,536
6Jun 27, 2026 20:373,389119,785,903110,678,0001,169,0002,113,536
7Jun 27, 2026 20:373,391119,586,083110,740,0001,167,0002,113,536
8Jun 27, 2026 20:373,393119,707,661110,812,0001,171,0002,113,536
9Jun 27, 2026 20:373,395120,167,237110,835,0001,207,0002,113,536