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 1, 2023 03:44matsuoka-601matsuoka-601Score: 10,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2023 03:4410,202398,015,059336,653,25402,252,800
2Jul 1, 2023 03:4410,270366,357,399333,916,0004,998,0002,453,504
3Jul 1, 2023 03:4410,280364,040,515333,254,0005,986,0002,461,696
4Jul 1, 2023 03:4410,299365,487,328335,857,0003,998,0002,387,968
5Jul 1, 2023 03:4410,314404,764,405340,371,61202,248,704
6Jul 1, 2023 03:4410,325365,104,802335,725,0004,995,0002,277,376
7Jul 1, 2023 03:4410,334408,123,602341,005,95602,252,800
8Jul 1, 2023 03:4410,384370,606,722336,666,0005,994,0002,461,696
9Jul 1, 2023 03:4410,400371,569,233338,210,0004,988,0002,289,664
10Jul 1, 2023 03:4410,417367,713,532338,780,0004,996,0002,338,816
11Jul 1, 2023 03:4410,426373,164,225340,042,0004,000,0002,453,504
12Jul 1, 2023 03:4410,464376,504,182340,333,0004,990,0002,457,600