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 30, 2024 14:33Robert BurkeRobert BurkeScore: 7,117Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 14:336,759296,077,944223,034,44302,277,376
2Jun 30, 2024 14:336,768279,705,110223,357,89402,277,376
3Jun 30, 2024 14:336,774283,388,094223,546,45402,269,184
4Jun 30, 2024 14:337,051257,452,974228,697,0003,994,0002,367,488
5Jun 30, 2024 14:337,065268,878,511230,144,0002,988,0002,428,928
6Jun 30, 2024 14:337,102261,074,733229,349,0005,007,0002,285,568
7Jun 30, 2024 14:337,117256,028,821228,874,0005,996,0002,318,336
8Jun 30, 2024 14:337,135259,127,344230,473,0004,988,0002,424,832
9Jun 30, 2024 14:337,143260,514,740230,728,0004,994,0002,379,776
10Jun 30, 2024 14:337,168266,801,731230,552,0005,988,0002,301,952
11Jun 30, 2024 14:337,238260,581,720232,863,0005,996,0002,367,488
12Jun 30, 2024 14:337,310269,559,314235,228,0006,005,0002,371,584