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 listMay 27, 2024 23:59Joad NacerJoad NacerScore: 8,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:598,545347,271,560281,968,89702,228,224
2May 27, 2024 23:598,616339,705,337284,343,63902,359,296
3May 27, 2024 23:598,656359,811,092285,645,24202,215,936
4May 27, 2024 23:598,756314,565,369232,962,00055,991,0002,318,336
5May 27, 2024 23:598,835316,273,015236,650,00054,918,0002,478,080
6May 27, 2024 23:598,841320,183,041235,788,00055,949,0002,404,352
7May 27, 2024 23:598,853321,142,557237,125,00055,029,0002,281,472
8May 27, 2024 23:598,854321,456,098237,140,00055,032,0002,371,584
9May 27, 2024 23:598,860323,165,057235,489,00056,876,0002,420,736
10May 27, 2024 23:598,860317,228,336238,309,00054,070,0002,506,752
11May 27, 2024 23:598,879325,080,798234,999,00057,999,0002,428,928
12May 27, 2024 23:599,030326,474,485239,985,00057,996,0002,469,888