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 listJul 24, 2023 14:34matsuoka-601matsuoka-601Score: 10,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2023 14:3410,194396,377,035336,406,47102,248,704
2Jul 24, 2023 14:3410,231394,535,001337,625,64802,256,896
3Jul 24, 2023 14:3410,331374,337,643335,927,0004,998,0002,400,256
4Jul 24, 2023 14:3410,339403,929,541341,172,18702,260,992
5Jul 24, 2023 14:3410,354366,492,843336,693,0004,995,0002,306,048
6Jul 24, 2023 14:3410,406366,332,272339,419,0003,993,0002,465,792
7Jul 24, 2023 14:3410,408367,846,327337,481,0005,990,0002,363,392
8Jul 24, 2023 14:3410,414369,802,686337,683,0005,994,0002,457,600
9Jul 24, 2023 14:3410,417364,665,612339,780,0003,997,0002,285,568
10Jul 24, 2023 14:3410,470369,850,927339,519,0005,991,0002,285,568
11Jul 24, 2023 14:3410,563376,935,960342,589,0005,992,0002,265,088
12Jul 24, 2023 14:3410,621381,095,962344,495,0005,991,0002,445,312