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 4, 2024 00:35Henry CafaroHenry CafaroScore: 16,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:3516,585629,907,421547,318,53102,269,184
2Aug 4, 2024 00:3516,646576,448,121530,313,00019,011,0002,277,376
3Aug 4, 2024 00:3516,661577,145,192530,835,00018,994,0002,473,984
4Aug 4, 2024 00:3516,684577,972,873532,579,00017,985,0002,473,984
5Aug 4, 2024 00:3516,710579,929,583538,450,00012,986,0002,502,656
6Aug 4, 2024 00:3516,724581,435,363534,908,00016,997,0002,494,464
7Aug 4, 2024 00:3516,737620,887,352552,309,26702,269,184
8Aug 4, 2024 00:3516,758576,406,261535,011,00018,000,0002,277,376
9Aug 4, 2024 00:3516,808630,511,273554,658,11002,265,088
10Aug 4, 2024 00:3516,828582,966,099539,313,00016,009,0002,461,696
11Aug 4, 2024 00:3516,846581,030,797538,921,00016,997,0002,473,984
12Aug 4, 2024 00:3516,924578,762,826540,502,00017,983,0002,306,048