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:39Andrew EpsteinAndrew EpsteinScore: 82,156Success
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:4081,9102,713,817,3952,695,850,0007,185,0002,121,728stderr
2Sep 18, 2026 18:4081,9252,714,215,9912,695,136,0008,396,0002,121,728stderr
3Sep 18, 2026 18:4081,9592,715,139,4062,697,427,0007,238,0002,121,728stderr
4Sep 18, 2026 18:4082,0292,718,175,8432,699,700,0007,288,0002,121,728stderr
5Sep 18, 2026 18:4082,1562,723,674,1622,703,898,0007,268,0002,121,728stderr
6Sep 18, 2026 18:4082,1702,722,178,7892,704,393,0007,248,0002,121,728stderr
7Sep 18, 2026 18:4082,2342,724,199,8062,706,533,0007,199,0002,121,728stderr
8Sep 18, 2026 18:4082,3372,727,653,6722,709,871,0007,258,0002,121,728stderr
9Sep 18, 2026 18:4082,4862,732,679,5022,714,812,0007,226,0002,121,728stderr