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:41matsuoka-601matsuoka-601Score: 11,116Success
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:4110,984422,025,936362,459,21902,281,472
2Jun 20, 2023 06:4110,986391,949,691356,557,0005,992,0002,494,464
3Jun 20, 2023 06:4111,002424,963,066363,056,10202,281,472
4Jun 20, 2023 06:4111,046436,498,520364,524,27602,281,472
5Jun 20, 2023 06:4111,073387,503,789359,423,0005,990,0002,494,464
6Jun 20, 2023 06:4111,077389,481,745359,560,0005,992,0002,486,272
7Jun 20, 2023 06:4111,116388,500,847361,816,0004,997,0002,486,272
8Jun 20, 2023 06:4111,120394,299,157361,959,0004,985,0002,379,776
9Jun 20, 2023 06:4111,131393,059,703362,324,0005,004,0002,265,088
10Jun 20, 2023 06:4111,152394,715,384364,009,0004,000,0002,494,464
11Jun 20, 2023 06:4111,158391,593,955363,238,0004,989,0002,519,040
12Jun 20, 2023 06:4111,186396,543,640364,161,0004,988,0002,494,464