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:21matsuoka-601matsuoka-601Score: 9,644Success
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:219,598342,216,168292,752,00023,979,0002,318,336
2Aug 8, 2023 17:219,607339,511,386296,025,00021,001,0002,441,216
3Aug 8, 2023 17:219,607344,682,451302,034,00015,001,0002,367,488
4Aug 8, 2023 17:219,621346,528,850296,522,00020,966,0002,338,816
5Aug 8, 2023 17:219,623341,892,476297,577,00019,971,0002,506,752
6Aug 8, 2023 17:219,640345,378,723301,126,00017,007,0002,371,584
7Aug 8, 2023 17:219,644347,762,544299,235,00019,014,0002,375,680
8Aug 8, 2023 17:219,684346,097,744291,598,00027,961,0002,449,408
9Aug 8, 2023 17:219,752354,463,184300,819,00020,987,0002,519,040
10Aug 8, 2023 17:219,900397,391,242326,696,48602,252,800
11Aug 8, 2023 17:219,911394,911,671327,052,76802,297,856
12Aug 8, 2023 17:219,912387,734,684327,091,88002,297,856