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 21, 2023 17:06matsuoka-601matsuoka-601Score: 10,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2023 17:0610,527419,526,310347,379,79802,260,992
2Jun 21, 2023 17:0610,556412,280,011348,340,31202,256,896
3Jun 21, 2023 17:0610,597421,555,604349,694,92302,256,896
4Jun 21, 2023 17:0610,644373,422,795345,279,0005,987,0002,314,240
5Jun 21, 2023 17:0610,655375,215,969346,617,0004,994,0002,363,392
6Jun 21, 2023 17:0610,656371,249,696347,643,0003,995,0002,514,944
7Jun 21, 2023 17:0610,673376,788,943346,238,0005,986,0002,527,232
8Jun 21, 2023 17:0610,674376,236,609346,251,0005,987,0002,301,952
9Jun 21, 2023 17:0610,726385,127,624348,951,0004,999,0002,445,312
10Jun 21, 2023 17:0610,732383,162,968349,141,0005,002,0002,469,888
11Jun 21, 2023 17:0610,735378,157,501349,270,0004,989,0002,277,376
12Jun 21, 2023 17:0610,802378,580,315351,485,0004,992,0002,461,696