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 listJul 29, 2022 06:04Robert BurkeRobert BurkeScore: 10,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 06:049,561380,594,219315,507,55502,224,128
2Jul 29, 2022 06:049,585387,721,613316,311,34502,224,128
3Jul 29, 2022 06:049,632379,841,787317,840,65102,220,032
4Jul 29, 2022 06:0410,083355,337,123314,763,00017,986,0002,314,240
5Jul 29, 2022 06:0410,117359,084,259315,884,00017,993,0002,318,336
6Jul 29, 2022 06:0410,144359,664,333314,757,00019,984,0002,371,584
7Jul 29, 2022 06:0410,196365,053,454319,434,00017,023,0002,326,528
8Jul 29, 2022 06:0410,285366,398,151326,387,00013,015,0002,535,424
9Jul 29, 2022 06:0410,365372,797,033326,058,00016,002,0002,322,432
10Jul 29, 2022 06:0410,366365,042,396325,082,00017,004,0002,322,432
11Jul 29, 2022 06:0410,374364,787,105325,330,00017,017,0002,326,528
12Jul 29, 2022 06:0410,405369,395,477324,344,00019,020,0002,269,184