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 listAug 8, 2023 17:47matsuoka-601matsuoka-601Score: 8,532Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 17:478,456304,072,202257,032,00022,002,0002,531,328
2Aug 8, 2023 17:478,456305,888,223254,033,00025,003,0002,342,912
3Aug 8, 2023 17:478,465312,610,256246,315,00033,042,0002,445,312
4Aug 8, 2023 17:478,482301,616,924254,901,00024,990,0002,371,584
5Aug 8, 2023 17:478,487302,110,770254,078,00026,008,0002,506,752
6Aug 8, 2023 17:478,490307,217,616251,161,00029,018,0002,355,200
7Aug 8, 2023 17:478,532309,893,659257,609,00023,963,0002,334,720
8Aug 8, 2023 17:478,539304,595,277254,797,00026,978,0002,506,752
9Aug 8, 2023 17:478,572351,288,698282,891,15402,174,976
10Aug 8, 2023 17:478,585308,814,438256,264,00027,027,0002,326,528
11Aug 8, 2023 17:478,619356,784,625284,439,92102,252,800
12Aug 8, 2023 17:478,646363,085,008285,327,61902,281,472