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 05:23Robert BurkeRobert BurkeScore: 13,019Success
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 05:2312,661441,714,568388,822,00028,986,0002,465,792
2Jul 29, 2022 05:2312,678445,136,069387,350,00031,028,0002,461,696
3Jul 29, 2022 05:2312,859450,501,483395,310,00029,022,0002,392,064
4Jul 29, 2022 05:2312,905489,853,689425,880,46702,232,320
5Jul 29, 2022 05:2312,909447,410,050388,994,00036,999,0002,289,664
6Jul 29, 2022 05:2312,967454,321,687403,908,00023,994,0002,535,424
7Jul 29, 2022 05:2313,019494,292,997429,617,22802,236,416
8Jul 29, 2022 05:2313,027506,186,169429,891,52802,232,320
9Jul 29, 2022 05:2313,027457,057,779397,900,00031,991,0002,285,568
10Jul 29, 2022 05:2313,060457,729,850398,984,00031,998,0002,457,600
11Jul 29, 2022 05:2313,244459,783,879410,040,00027,002,0002,457,600
12Jul 29, 2022 05:2313,412467,366,615411,628,00030,972,0002,273,280