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 6, 2023 16:25matsuoka-601matsuoka-601Score: 10,741Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2023 16:2510,508368,160,630342,761,0003,997,0002,449,408
2Aug 6, 2023 16:2510,516373,939,992341,061,0005,983,0002,449,408
3Aug 6, 2023 16:2510,618373,999,736345,390,0004,991,0002,453,504
4Aug 6, 2023 16:2510,638380,143,485346,080,0004,986,0002,277,376
5Aug 6, 2023 16:2510,677380,041,800346,360,0005,988,0002,445,312
6Aug 6, 2023 16:2510,722419,500,947353,818,70902,248,704
7Aug 6, 2023 16:2510,741376,778,762348,470,0005,990,0002,338,816
8Aug 6, 2023 16:2510,753378,928,129349,857,0004,997,0002,359,296
9Aug 6, 2023 16:2510,766380,859,908350,263,0005,003,0002,457,600
10Aug 6, 2023 16:2510,774412,801,899355,544,66002,252,800
11Aug 6, 2023 16:2510,824425,661,123357,180,99102,240,512
12Aug 6, 2023 16:2510,845387,926,128352,903,0004,998,0002,523,136