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:26matsuoka-601matsuoka-601Score: 10,884Success
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:2610,706376,444,532348,317,0004,990,0002,277,376
2Aug 6, 2023 16:2610,721381,825,611349,799,0003,997,0002,494,464
3Aug 6, 2023 16:2610,724381,934,090348,904,0004,998,0002,453,504
4Aug 6, 2023 16:2610,780381,279,988350,734,0004,996,0002,301,952
5Aug 6, 2023 16:2610,850428,115,192358,059,33902,256,896
6Aug 6, 2023 16:2610,855438,861,336358,219,64902,248,704
7Aug 6, 2023 16:2610,884384,671,459353,173,0005,985,0002,453,504
8Aug 6, 2023 16:2610,889389,736,100355,333,0003,992,0002,457,600
9Aug 6, 2023 16:2610,931417,942,031360,720,52002,248,704
10Aug 6, 2023 16:2610,968388,204,620357,947,0003,988,0002,449,408
11Aug 6, 2023 16:2611,167393,090,607364,522,0003,994,0002,277,376
12Aug 6, 2023 16:2611,379403,306,960370,511,0004,993,0002,277,376