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 14, 2025 17:07Nguyen Thanh VinhNguyen Thanh VinhScore: 318,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 17:07314,82210,422,703,29110,304,172,00084,943,0002,437,120
2Oct 14, 2025 17:07315,26410,434,091,54110,335,740,00067,958,0002,465,792
3Oct 14, 2025 17:07315,96610,461,233,47110,341,915,00084,950,0002,355,200
4Oct 14, 2025 17:07317,87810,525,929,37410,394,027,00095,935,0002,289,664
5Oct 14, 2025 17:07318,49410,540,843,86710,416,358,00093,940,0002,478,080
6Oct 14, 2025 17:07318,94910,555,148,47310,437,358,00087,944,0002,441,216
7Oct 14, 2025 17:07319,21610,562,931,92810,454,198,00079,940,0002,351,104
8Oct 14, 2025 17:07320,50410,606,091,19710,495,681,00080,951,0002,445,312
9Oct 14, 2025 17:07321,85810,653,226,09510,534,383,00086,945,0002,482,176