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 18, 2023 05:44matsuoka-601matsuoka-601Score: 12,890Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 05:4411,279433,182,344372,210,20502,244,608
2Jun 18, 2023 05:4412,820452,204,926414,068,0008,979,0002,293,760
3Jun 18, 2023 05:4412,835481,821,098423,555,48802,248,704
4Jun 18, 2023 05:4412,852448,735,059415,132,0008,981,0002,367,488
5Jun 18, 2023 05:4412,857454,448,063415,273,0009,005,0002,396,160
6Jun 18, 2023 05:4412,889449,783,890416,337,0008,985,0002,355,200
7Jun 18, 2023 05:4412,890449,692,885415,384,0009,985,0002,510,848
8Jun 18, 2023 05:4412,900448,670,198416,694,0008,993,0002,273,280
9Jun 18, 2023 05:4412,909458,104,225417,026,0008,979,0002,494,464
10Jun 18, 2023 05:4412,926451,651,253418,556,0007,991,0002,449,408
11Jun 18, 2023 05:4413,024499,876,572429,797,03902,252,800
12Jun 18, 2023 05:4413,037453,029,202421,251,0008,984,0002,453,504