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:38Nguyen Thanh VinhNguyen Thanh VinhScore: 253,248Success
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:38251,0168,317,522,8288,263,558,00019,986,0002,469,888
2Oct 14, 2025 17:38252,3378,357,027,4858,305,142,00021,984,0002,293,760
3Oct 14, 2025 17:38252,4098,359,873,8148,307,499,00021,982,0002,433,024
4Oct 14, 2025 17:38252,9958,381,826,8948,331,846,00016,987,0002,338,816
5Oct 14, 2025 17:38253,2488,395,068,9838,335,200,00021,984,0002,449,408
6Oct 14, 2025 17:38253,7918,410,969,4638,354,109,00020,987,0002,531,328
7Oct 14, 2025 17:38254,9448,441,814,6028,389,166,00023,983,0002,289,664
8Oct 14, 2025 17:38255,0698,454,675,9768,402,291,00014,989,0002,404,352
9Oct 14, 2025 17:38255,3998,461,478,6388,406,189,00021,984,0002,404,352