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:33Henry CafaroHenry CafaroScore: 17,237Success
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:3317,144587,112,165550,751,00014,993,0002,408,448
2Aug 4, 2024 00:3317,169621,345,924566,567,54302,260,992
3Aug 4, 2024 00:3317,222602,673,561550,308,00018,010,0002,277,376
4Aug 4, 2024 00:3317,225598,756,606554,450,00013,986,0002,277,376
5Aug 4, 2024 00:3317,228591,874,677554,531,00013,988,0002,473,984
6Aug 4, 2024 00:3317,228597,503,859550,550,00017,985,0002,387,968
7Aug 4, 2024 00:3317,237638,790,960568,830,82302,269,184
8Aug 4, 2024 00:3317,250636,165,711569,245,68102,269,184
9Aug 4, 2024 00:3317,262596,157,223554,669,00014,991,0002,490,368
10Aug 4, 2024 00:3317,266595,938,297553,787,00015,993,0002,277,376
11Aug 4, 2024 00:3317,442601,122,308557,609,00017,987,0002,478,080
12Aug 4, 2024 00:3317,604607,854,944560,970,00019,963,0002,277,376