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:46Joad NacerJoad NacerScore: 8,692Success
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:468,070329,743,098266,322,40502,228,224
2May 27, 2024 23:468,190342,760,729270,256,09602,236,416
3May 27, 2024 23:468,212340,289,225270,988,32802,224,128
4May 27, 2024 23:468,649308,367,101227,537,00057,882,0002,424,832
5May 27, 2024 23:468,669312,436,224227,051,00059,013,0002,428,928
6May 27, 2024 23:468,683310,793,172227,636,00058,905,0002,437,120
7May 27, 2024 23:468,692308,321,557229,881,00056,970,0002,510,848
8May 27, 2024 23:468,726319,973,507227,977,00059,994,0002,383,872
9May 27, 2024 23:468,755312,579,657230,941,00057,985,0002,359,296
10May 27, 2024 23:468,768312,839,388230,485,00058,868,0002,433,024
11May 27, 2024 23:468,778316,849,965230,732,00058,931,0002,514,944
12May 27, 2024 23:468,792317,299,034235,123,00055,028,0002,338,816