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 1, 2023 03:46matsuoka-601matsuoka-601Score: 10,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2023 03:4610,566370,735,879344,672,0003,996,0002,461,696
2Jul 1, 2023 03:4610,594371,944,246344,613,0004,994,0002,494,464
3Jul 1, 2023 03:4610,596408,239,137349,667,57202,256,896
4Jul 1, 2023 03:4610,605374,112,211344,955,0004,999,0002,469,888
5Jul 1, 2023 03:4610,617373,852,986345,380,0004,991,0002,469,888
6Jul 1, 2023 03:4610,628374,058,372345,732,0004,996,0002,297,856
7Jul 1, 2023 03:4610,631430,595,239350,832,44102,260,992
8Jul 1, 2023 03:4610,662373,431,626346,856,0004,997,0002,306,048
9Jul 1, 2023 03:4610,672376,818,515347,186,0004,988,0002,465,792
10Jul 1, 2023 03:4610,719382,309,073347,735,0005,995,0002,330,624
11Jul 1, 2023 03:4610,985423,999,664362,516,43802,256,896
12Jul 1, 2023 03:4611,105392,019,591362,483,0003,994,0002,285,568