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 28, 2024 23:05Joad NacerJoad NacerScore: 7,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 23:057,452267,623,937189,948,00055,984,0002,441,216
2May 28, 2024 23:057,481315,972,083246,870,03002,236,416
3May 28, 2024 23:057,482270,297,251190,916,00055,975,0002,478,080
4May 28, 2024 23:057,608275,285,101195,041,00056,011,0002,437,120
5May 28, 2024 23:057,613278,633,591196,189,00055,053,0002,326,528
6May 28, 2024 23:057,625278,763,752194,714,00056,916,0002,453,504
7May 28, 2024 23:057,638275,268,285196,046,00056,013,0002,433,024
8May 28, 2024 23:057,643278,457,919194,158,00058,047,0002,441,216
9May 28, 2024 23:057,674280,633,109195,192,00058,057,0002,355,200
10May 28, 2024 23:057,677283,543,096193,261,00060,081,0002,342,912
11May 28, 2024 23:057,876316,247,624259,904,48102,236,416
12May 28, 2024 23:057,927324,423,970261,576,08102,232,320