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 20, 2023 06:43matsuoka-601matsuoka-601Score: 10,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:4310,379408,604,529342,502,95502,256,896
2Jun 20, 2023 06:4310,382403,554,510342,606,99602,260,992
3Jun 20, 2023 06:4310,420403,364,519343,862,24802,260,992
4Jun 20, 2023 06:4310,422369,563,032338,938,0004,999,0002,453,504
5Jun 20, 2023 06:4310,440372,410,213339,540,0004,993,0002,269,184
6Jun 20, 2023 06:4310,447371,525,855339,749,0004,996,0002,461,696
7Jun 20, 2023 06:4310,490373,049,136340,193,0005,985,0002,457,600
8Jun 20, 2023 06:4310,527370,303,568341,395,0005,989,0002,469,888
9Jun 20, 2023 06:4310,545371,928,305342,988,0004,999,0002,486,272
10Jun 20, 2023 06:4310,580377,893,092344,154,0004,987,0002,461,696
11Jun 20, 2023 06:4310,637377,666,623347,031,0004,000,0002,465,792
12Jun 20, 2023 06:4310,642374,323,194346,193,0005,002,0002,285,568