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:56Joad NacerJoad NacerScore: 8,233Success
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:567,622324,250,464251,532,02002,224,128
2May 27, 2024 23:567,714324,112,322254,553,32802,224,128
3May 27, 2024 23:567,788318,627,343257,019,08802,240,512
4May 27, 2024 23:568,045286,452,965208,583,00056,886,0002,334,720
5May 27, 2024 23:568,165302,141,298212,564,00056,883,0002,342,912
6May 27, 2024 23:568,226299,763,430216,577,00054,893,0002,514,944
7May 27, 2024 23:568,233298,456,985211,762,00059,932,0002,437,120
8May 27, 2024 23:568,294298,297,391214,754,00058,932,0002,424,832
9May 27, 2024 23:568,300308,902,441214,917,00058,977,0002,506,752
10May 27, 2024 23:568,315297,534,777215,522,00058,869,0002,310,144
11May 27, 2024 23:568,337302,329,932220,110,00055,027,0002,433,024
12May 27, 2024 23:568,369308,424,828217,129,00059,035,0002,293,760