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 listMar 6, 2026 21:11Pavel SamyginPavel SamyginScore: 20,923Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 21:1120,300697,290,953649,948,00019,937,0002,310,144
2Mar 6, 2026 21:1120,476705,176,918652,759,00022,956,0002,383,872
3Mar 6, 2026 21:1120,741720,716,775666,496,00017,959,0002,580,480
4Mar 6, 2026 21:1120,875715,450,833665,868,00022,995,0002,273,280
5Mar 6, 2026 21:1120,923721,377,161668,461,00021,982,0002,260,992
6Mar 6, 2026 21:1120,924719,155,111670,507,00019,985,0002,379,776
7Mar 6, 2026 21:1120,948718,144,348664,310,00026,971,0002,412,544
8Mar 6, 2026 21:1121,037724,673,341666,267,00027,969,0002,490,368
9Mar 6, 2026 21:1121,072717,491,510675,394,00019,982,0002,408,448