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 07:03matsuoka-601matsuoka-601Score: 10,461Success
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 07:0310,400375,575,905337,199,0005,985,0002,490,368
2Jun 20, 2023 07:0310,403369,694,187337,324,0005,988,0002,392,064
3Jun 20, 2023 07:0310,423370,012,418338,973,0004,999,0002,461,696
4Jun 20, 2023 07:0310,430370,914,201339,186,0004,988,0002,510,848
5Jun 20, 2023 07:0310,430375,239,525338,212,0005,986,0002,453,504
6Jun 20, 2023 07:0310,442368,241,259339,591,0004,993,0002,404,352
7Jun 20, 2023 07:0310,461370,614,855339,232,0005,986,0002,277,376
8Jun 20, 2023 07:0310,494401,313,550346,286,99402,260,992
9Jun 20, 2023 07:0310,501401,992,927346,534,06602,260,992
10Jun 20, 2023 07:0310,512418,207,895346,888,82302,260,992
11Jun 20, 2023 07:0310,567376,765,553344,727,0003,996,0002,310,144
12Jun 20, 2023 07:0310,635374,782,761346,949,0003,999,0002,461,696