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 listFeb 26, 2025 17:01AdityaAdityaScore: 162,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2025 17:01161,1745,344,880,2185,294,753,00023,980,0002,437,120
2Feb 26, 2025 17:01161,7735,372,073,5315,307,537,00030,979,0002,514,944
3Feb 26, 2025 17:01161,9935,371,794,9825,313,790,00031,980,0002,396,160
4Feb 26, 2025 17:01162,1085,379,541,2445,322,586,00026,982,0002,363,392
5Feb 26, 2025 17:01162,3955,391,303,0595,332,065,00026,980,0002,314,240
6Feb 26, 2025 17:01162,5365,400,891,7415,337,711,00025,979,0002,281,472
7Feb 26, 2025 17:01164,6905,467,633,9685,397,802,00036,971,0002,494,464
8Feb 26, 2025 17:01165,3295,486,233,8185,423,893,00031,975,0002,445,312
9Feb 26, 2025 17:01169,0875,618,260,9055,548,881,00030,977,0002,281,472