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: 13,800Success
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:0913,596509,049,029448,680,12402,281,472
2Jul 25, 2023 15:0913,631520,188,871449,833,77702,273,280
3Jul 25, 2023 15:0913,714479,152,244447,578,0004,995,0002,490,368
4Jul 25, 2023 15:0913,755479,601,640448,919,0004,987,0002,375,680
5Jul 25, 2023 15:0913,772477,298,581450,472,0003,995,0002,326,528
6Jul 25, 2023 15:0913,776518,542,930454,616,53702,285,568
7Jul 25, 2023 15:0913,800479,236,198450,417,0004,993,0002,486,272
8Jul 25, 2023 15:0913,932479,870,809453,760,0005,996,0002,338,816
9Jul 25, 2023 15:0913,961483,461,912454,728,0005,996,0002,445,312
10Jul 25, 2023 15:0913,971485,429,761456,058,0005,000,0002,363,392
11Jul 25, 2023 15:0913,994487,261,684456,813,0004,997,0002,502,656
12Jul 25, 2023 15:0914,494508,677,456473,307,0004,992,0002,490,368