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, 2023 08:12Kenneth MaplesKenneth MaplesScore: 18,270Success
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, 2023 08:1217,880657,391,606590,041,00902,236,416
2Dec 17, 2023 08:1217,950669,382,573592,345,18702,236,416
3Dec 17, 2023 08:1217,980662,533,769593,347,36202,240,512
4Dec 17, 2023 08:1218,221630,482,818583,270,00018,008,0002,326,528
5Dec 17, 2023 08:1218,232627,876,189579,673,00021,987,0002,465,792
6Dec 17, 2023 08:1218,256629,114,299579,474,00022,979,0002,510,848
7Dec 17, 2023 08:1218,270628,474,466583,916,00018,997,0002,347,008
8Dec 17, 2023 08:1218,277626,933,930585,126,00018,003,0002,338,816
9Dec 17, 2023 08:1218,291626,874,021586,603,00016,988,0002,277,376
10Dec 17, 2023 08:1218,380632,291,099589,561,00016,987,0002,342,912
11Dec 17, 2023 08:1218,646639,497,170596,342,00018,979,0002,338,816
12Dec 17, 2023 08:1218,803644,803,058602,516,00017,985,0002,330,624