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 17, 2024 03:01matsuoka-601matsuoka-601Score: 8,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 03:018,225296,253,387247,476,00023,949,0002,387,968
2Jun 17, 2024 03:018,279300,747,911251,185,00022,016,0002,322,432
3Jun 17, 2024 03:018,291296,649,399253,638,00019,971,0002,445,312
4Jun 17, 2024 03:018,314302,923,057253,399,00020,950,0002,510,848
5Jun 17, 2024 03:018,318301,431,262251,550,00022,958,0002,318,336
6Jun 17, 2024 03:018,330298,997,817249,902,00024,990,0002,351,104
7Jun 17, 2024 03:018,338306,937,469256,154,00019,011,0002,314,240
8Jun 17, 2024 03:018,383300,814,408256,653,00019,973,0002,301,952
9Jun 17, 2024 03:018,512346,502,086280,904,68402,244,608
10Jun 17, 2024 03:018,518345,048,117281,106,90502,232,320
11Jun 17, 2024 03:018,525351,014,006281,335,47502,359,296
12Jun 17, 2024 03:018,551306,087,347265,160,00017,010,0002,314,240