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 22, 2024 18:37Joad NacerJoad NacerScore: 8,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2024 18:378,151326,322,292268,980,90602,232,320
2May 22, 2024 18:378,177324,918,203269,843,15502,228,224
3May 22, 2024 18:378,234336,223,677271,720,74402,228,224
4May 22, 2024 18:378,244295,871,846216,046,00056,012,0002,424,832
5May 22, 2024 18:378,275296,574,941216,062,00057,016,0002,490,368
6May 22, 2024 18:378,355298,704,857218,775,00056,941,0002,490,368
7May 22, 2024 18:378,416300,815,845218,778,00058,940,0002,428,928
8May 22, 2024 18:378,516309,951,879226,013,00055,003,0002,433,024
9May 22, 2024 18:378,537305,738,854222,790,00058,944,0002,281,472
10May 22, 2024 18:378,549308,545,971222,088,00060,023,0002,387,968
11May 22, 2024 18:378,588310,634,958227,531,00055,884,0002,424,832
12May 22, 2024 18:378,653309,576,141227,645,00057,909,0002,428,928