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 listJun 20, 2023 06:52matsuoka-601matsuoka-601Score: 10,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:5210,626377,829,974345,662,0004,995,0002,514,944
2Jun 20, 2023 06:5210,661379,462,036346,806,0004,997,0002,469,888
3Jun 20, 2023 06:5210,682382,590,843347,513,0004,993,0002,469,888
4Jun 20, 2023 06:5210,689383,232,552347,750,0004,996,0002,293,760
5Jun 20, 2023 06:5210,701381,063,699347,137,0005,985,0002,314,240
6Jun 20, 2023 06:5210,751377,501,511348,795,0005,996,0002,457,600
7Jun 20, 2023 06:5210,776383,607,957350,600,0004,994,0002,465,792
8Jun 20, 2023 06:5210,812415,175,010356,791,76102,256,896
9Jun 20, 2023 06:5210,865381,511,014352,558,0005,992,0002,293,760
10Jun 20, 2023 06:5210,890434,474,119359,374,34902,252,800
11Jun 20, 2023 06:5210,952431,907,808361,420,83902,252,800
12Jun 20, 2023 06:5210,964394,598,164355,806,0005,996,0002,265,088