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 listDec 6, 2025 18:01Rajarshi BasuRajarshi BasuScore: 491,231Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2025 18:01489,01816,174,466,09316,028,658,000108,936,0002,478,080
2Dec 6, 2025 18:01490,65216,230,856,74916,094,565,00096,949,0002,306,048
3Dec 6, 2025 18:01491,02216,239,780,50716,102,783,000100,935,0002,310,144
4Dec 6, 2025 18:01491,04416,238,532,86516,125,493,00078,953,0002,473,984
5Dec 6, 2025 18:01491,23116,250,813,84916,126,668,00083,941,0002,273,280
6Dec 6, 2025 18:01491,45316,259,869,52416,103,993,000113,943,0002,412,544
7Dec 6, 2025 18:01491,93416,267,733,79116,144,876,00088,944,0002,269,184
8Dec 6, 2025 18:01492,13016,276,521,85916,158,349,00081,956,0002,404,352
9Dec 6, 2025 18:01495,82816,399,940,98516,265,363,00096,948,0002,383,872