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 13:48Robert BurkeRobert BurkeScore: 7,328Success
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 13:486,818286,389,675225,004,21702,273,280
2Jun 30, 2024 13:486,891302,278,631227,386,59802,281,472
3Jun 30, 2024 13:486,897289,957,656227,592,46602,269,184
4Jun 30, 2024 13:487,316267,745,289234,434,0006,983,0002,396,160
5Jun 30, 2024 13:487,321270,570,229238,593,0002,994,0002,514,944
6Jun 30, 2024 13:487,321261,097,970236,609,0004,991,0002,363,392
7Jun 30, 2024 13:487,328264,037,275235,819,0005,995,0002,326,528
8Jun 30, 2024 13:487,335267,016,990237,063,0005,001,0002,306,048
9Jun 30, 2024 13:487,350267,685,734238,543,0003,992,0002,371,584
10Jun 30, 2024 13:487,350264,536,317237,565,0004,990,0002,473,984
11Jun 30, 2024 13:487,353266,343,694239,652,0002,995,0002,367,488
12Jun 30, 2024 13:487,387264,468,067240,779,0002,997,0002,510,848