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 listAug 11, 2025 19:12Leon ZhaoLeon ZhaoScore: 489,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 19:12487,59616,130,843,13916,000,714,00089,947,0002,269,184
2Aug 11, 2025 19:12487,62716,126,710,71115,990,759,000100,935,0002,457,600
3Aug 11, 2025 19:12488,36316,158,079,10016,018,039,00097,945,0002,465,792
4Aug 11, 2025 19:12488,54416,157,881,14316,036,012,00085,951,0002,326,528
5Aug 11, 2025 19:12489,30416,193,128,04716,049,081,00097,939,0002,318,336
6Aug 11, 2025 19:12489,50816,189,010,87016,065,818,00087,949,0002,400,256
7Aug 11, 2025 19:12491,06416,242,895,65516,115,180,00089,945,0002,473,984
8Aug 11, 2025 19:12491,14816,243,785,18016,126,926,00080,954,0002,490,368
9Aug 11, 2025 19:12491,50116,258,355,22016,124,600,00094,938,0002,314,240