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 listNov 6, 2024 15:45spacecat8086spacecat8086Score: 471,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 15:45469,85215,541,110,43115,392,183,000112,935,0002,265,088
2Nov 6, 2024 15:45470,80815,576,373,20715,457,710,00078,952,0002,330,624
3Nov 6, 2024 15:45471,47415,599,075,38515,447,700,000110,933,0002,486,272
4Nov 6, 2024 15:45471,48615,596,039,42215,453,104,000105,932,0002,351,104
5Nov 6, 2024 15:45471,59715,606,760,76115,452,768,000109,927,0002,416,640
6Nov 6, 2024 15:45472,82015,642,958,67215,491,127,000111,935,0002,506,752
7Nov 6, 2024 15:45472,94815,647,128,71115,516,351,00090,943,0002,433,024
8Nov 6, 2024 15:45473,89815,680,176,27415,544,710,00093,931,0002,498,560
9Nov 6, 2024 15:45482,20216,010,224,71415,809,763,000102,913,0002,469,888