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 listJun 30, 2024 14:34Robert BurkeRobert BurkeScore: 7,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 14:346,790278,939,469224,066,33102,265,088
2Jun 30, 2024 14:346,886287,802,476227,228,38902,392,064
3Jun 30, 2024 14:347,037290,810,731232,234,64702,273,280
4Jun 30, 2024 14:347,216261,628,506234,118,0004,002,0002,342,912
5Jun 30, 2024 14:347,250275,337,060235,247,0004,004,0002,379,776
6Jun 30, 2024 14:347,271265,882,996234,938,0004,998,0002,363,392
7Jun 30, 2024 14:347,296267,716,049236,776,0003,996,0002,326,528
8Jun 30, 2024 14:347,297260,355,009236,796,0003,996,0002,392,064
9Jun 30, 2024 14:347,335262,282,590237,047,0005,001,0002,371,584
10Jun 30, 2024 14:347,337268,353,570237,128,0005,002,0002,306,048
11Jun 30, 2024 14:347,353266,170,774237,648,0004,992,0002,445,312
12Jun 30, 2024 14:347,378273,569,871239,473,0003,991,0002,375,680