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 22, 2023 09:04matsuoka-601matsuoka-601Score: 15,238Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2023 09:0414,909553,579,978492,003,50702,293,760
2Jun 22, 2023 09:0415,082524,738,659491,710,0005,996,0002,502,656
3Jun 22, 2023 09:0415,144523,116,308493,766,0005,997,0002,318,336
4Jun 22, 2023 09:0415,202524,651,501495,659,0005,995,0002,490,368
5Jun 22, 2023 09:0415,227526,163,023496,496,0005,993,0002,285,568
6Jun 22, 2023 09:0415,231531,317,407497,631,0004,996,0002,494,464
7Jun 22, 2023 09:0415,238523,869,540497,859,0004,998,0002,351,104
8Jun 22, 2023 09:0415,270525,327,528498,914,0004,999,0002,293,760
9Jun 22, 2023 09:0415,470568,111,049510,509,48602,289,664
10Jun 22, 2023 09:0415,507589,707,652511,741,75602,281,472
11Jun 22, 2023 09:0415,695546,509,814511,940,0005,987,0002,490,368
12Jun 22, 2023 09:0415,700541,425,401512,099,0005,989,0002,498,560