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:12matsuoka-601matsuoka-601Score: 9,412Success
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:129,380332,492,162287,566,00021,966,0002,371,584
2Aug 8, 2023 17:129,383334,940,923289,654,00019,976,0002,379,776
3Aug 8, 2023 17:129,384335,097,216292,702,00016,982,0002,461,696
4Aug 8, 2023 17:129,385334,437,922292,729,00016,984,0002,342,912
5Aug 8, 2023 17:129,386336,000,479290,743,00018,983,0002,269,184
6Aug 8, 2023 17:129,388340,032,239286,832,00022,986,0002,347,008
7Aug 8, 2023 17:129,412334,879,319285,639,00024,968,0002,363,392
8Aug 8, 2023 17:129,429339,029,136291,150,00020,010,0002,351,104
9Aug 8, 2023 17:129,442336,388,869291,607,00019,973,0002,342,912
10Aug 8, 2023 17:129,489374,723,325313,123,43002,293,760
11Aug 8, 2023 17:129,540375,437,829314,824,47602,281,472
12Aug 8, 2023 17:129,557376,051,491315,387,80502,228,224