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 listDec 17, 2022 22:57Franek KortaFranek KortaScore: 16,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 22:5716,613574,345,608531,232,00017,007,0002,355,200
2Dec 17, 2022 22:5716,621573,201,626530,503,00017,983,0002,342,912
3Dec 17, 2022 22:5716,646575,384,152530,347,00018,976,0002,351,104
4Dec 17, 2022 22:5716,649580,152,761531,447,00017,981,0002,359,296
5Dec 17, 2022 22:5716,651578,162,497533,505,00015,985,0002,465,792
6Dec 17, 2022 22:5716,651577,503,978534,513,00014,986,0002,355,200
7Dec 17, 2022 22:5716,660576,651,956531,784,00017,992,0002,506,752
8Dec 17, 2022 22:5716,714572,575,917535,572,00015,987,0002,363,392
9Dec 17, 2022 22:5716,749575,420,693534,727,00017,990,0002,412,544
10Dec 17, 2022 22:5717,231627,988,457568,612,08602,265,088
11Dec 17, 2022 22:5717,365645,902,362573,037,02402,269,184
12Dec 17, 2022 22:5717,374644,205,825573,349,70602,277,376