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 listJul 25, 2023 15:09matsuoka-601matsuoka-601Score: 10,371Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2023 15:0910,196419,569,089336,473,52102,256,896
2Jul 25, 2023 15:0910,213397,318,656337,045,31502,256,896
3Jul 25, 2023 15:0910,242394,215,475337,977,02202,252,800
4Jul 25, 2023 15:0910,312368,368,039334,320,0005,987,0002,461,696
5Jul 25, 2023 15:0910,326363,784,317335,753,0004,996,0002,465,792
6Jul 25, 2023 15:0910,344370,517,029335,357,0005,988,0002,375,680
7Jul 25, 2023 15:0910,371364,944,062337,252,0004,988,0002,383,872
8Jul 25, 2023 15:0910,384365,619,584337,665,0004,995,0002,441,216
9Jul 25, 2023 15:0910,398369,981,952337,144,0005,984,0002,453,504
10Jul 25, 2023 15:0910,453377,508,398339,959,0004,999,0002,469,888
11Jul 25, 2023 15:0910,482366,955,339339,915,0005,998,0002,453,504
12Jul 25, 2023 15:0910,489369,720,217342,123,0004,001,0002,506,752