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 30, 2025 09:07Alexander-PopovAlexander-PopovScore: 270,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2025 09:04267,7008,865,792,1568,700,177,000133,925,0002,433,024
2Oct 30, 2025 09:04268,7988,899,430,3318,721,420,000148,904,0002,461,696
3Oct 30, 2025 09:07268,8228,898,333,3108,715,222,000155,896,0002,400,256
4Oct 30, 2025 09:04269,4128,919,794,1938,741,719,000148,893,0002,338,816
5Oct 30, 2025 09:04270,1958,947,674,3698,768,548,000147,891,0002,318,336
6Oct 30, 2025 09:04270,4578,958,326,9198,779,186,000145,903,0002,301,952
7Oct 30, 2025 09:07270,5238,955,714,0788,783,380,000143,891,0002,355,200
8Oct 30, 2025 09:04270,5448,955,768,7738,777,023,000150,931,0002,510,848
9Oct 30, 2025 09:04270,7478,970,219,2748,757,768,000176,874,0002,334,720
10Oct 30, 2025 09:07272,0319,014,705,1208,825,129,000151,898,0002,330,624
11Oct 30, 2025 09:04273,5749,062,915,9898,876,050,000151,898,0002,338,816
12Oct 30, 2025 09:04273,8299,069,918,9378,895,417,000140,927,0002,330,624