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 listOct 1, 2023 22:27apuxbtapuxbtScore: 18,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2023 22:2717,781608,699,668570,765,00015,993,0002,420,736
2Oct 1, 2023 22:2717,860648,851,019589,393,90602,236,416
3Oct 1, 2023 22:2717,880616,359,129570,054,00020,001,0002,326,528
4Oct 1, 2023 22:2717,891615,952,652570,408,00019,979,0002,441,216
5Oct 1, 2023 22:2717,891621,014,147574,432,00015,984,0002,490,368
6Oct 1, 2023 22:2717,952663,837,095592,406,15802,236,416
7Oct 1, 2023 22:2718,013621,150,304579,443,00014,985,0002,326,528
8Oct 1, 2023 22:2718,043667,416,664595,431,25002,236,416
9Oct 1, 2023 22:2718,048618,983,990581,586,00013,990,0002,322,432
10Oct 1, 2023 22:2718,227625,549,031586,515,00014,987,0002,461,696
11Oct 1, 2023 22:2718,263632,798,451587,695,00014,992,0002,314,240
12Oct 1, 2023 22:2718,319632,288,426592,532,00011,990,0002,400,256