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 11, 2024 16:46Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 16:4100000Error: expected "1019228 ", got "1019227 "stderr
2May 11, 2024 16:4617,604646,781,840580,938,61802,256,896
3May 11, 2024 16:4617,665665,492,289582,940,35002,191,360
4May 11, 2024 16:4617,752648,743,284585,818,23302,199,552
5May 11, 2024 16:4618,830650,629,934458,559,000162,843,0002,461,696
6May 11, 2024 16:4618,886651,248,589472,429,000150,818,0002,355,200
7May 11, 2024 16:4618,894656,155,583457,370,000166,134,0002,277,376
8May 11, 2024 16:4618,974659,369,749465,362,000160,779,0002,478,080
9May 11, 2024 16:4619,088657,184,739463,929,000165,974,0002,269,184
10May 11, 2024 16:4619,143661,191,192464,049,000167,656,0002,494,464
11May 11, 2024 16:4619,245662,455,742459,337,000175,746,0002,338,816
12May 11, 2024 16:4619,267670,514,340470,129,000165,693,0002,449,408
13May 11, 2024 16:4619,558670,016,803482,554,000162,849,0002,314,240