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 13:42Victor MerckléVictor MerckléScore: 116,046Success
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 13:4394,8323,137,560,5373,086,731,00042,746,0002,117,632stderr
2Jun 27, 2026 13:4399,2553,283,352,2933,232,690,00042,726,0002,117,632stderr
3Jun 27, 2026 13:43102,3253,385,135,6183,332,807,00043,945,0002,117,632stderr
4Jun 27, 2026 13:43115,7033,827,096,8773,774,991,00043,208,0002,117,632stderr
5Jun 27, 2026 13:43116,0463,837,600,7603,785,841,00043,688,0002,117,632stderr
6Jun 27, 2026 13:43125,8254,160,091,9844,108,155,00044,087,0002,117,632stderr
7Jun 27, 2026 13:43135,7404,489,440,1664,436,396,00043,026,0002,117,632stderr
8Jun 27, 2026 13:43143,1554,732,578,1094,681,190,00042,943,0002,117,632stderr
9Jun 27, 2026 13:43144,8854,789,545,2014,738,466,00042,755,0002,117,632stderr