solution: /submissions/accepted/sol.cpp
version: 2025-12  # use this version of the generators framework

data:
  sample:
    data:
      - '':
         in: |
           5 3
           1 2 2 3
         ans: |
           2
           1 5
      - '':
          in: |
            6 3
            1 2 3 4 3
          ans: |
            2
            1 3

  secret:
    data:
      - small: gen.py -t random -n 10 -k 3 -seed 101
      - small: gen.py -t random -n 15 -k 1 -seed 102
      # - small: gen.py -t random -n 1 -k 1 -seed 103
      - small: gen.py -t random -n 2 -k 1 -seed 103
      - small: gen.py -t random -n 2 -k 2 -seed 103
      - random: gen.py -t random -n 100000 -k 10 -seed 201
      - random: gen.py -t random -n 100000 -k 500 -seed 202
      - random: gen.py -t random -n 100000 -k 50000 -seed 203
      - line: gen.py -t line -n 100000 -k 5 -seed 301
      - line: gen.py -t line -n 100000 -k 316 -seed 302
      - line: gen.py -t line -n 100000 -k 99999 -seed 303
      - star: gen.py -t star -n 100000 -k 1 -seed 401
      - star: gen.py -t star -n 100000 -k 2 -seed 402
      - star: gen.py -t star -n 100000 -k 42 -seed 403
      - binary: gen.py -t binary -n 100000 -k 10 -seed 501
      - binary: gen.py -t binary -n 100000 -k 200 -seed 502
      - binary: gen.py -t binary -n 100000 -k 3000 -seed 503
      - caterpillar: gen.py -t caterpillar -n 100000 -k 100 -seed 601
      - caterpillar: gen.py -t caterpillar -n 100000 -k 10 -seed 602
      - caterpillar: gen.py -t caterpillar -n 100000 -k 1 -seed 603
      - broom: 
          generate: broom.py 100000 {count}
          count: [1, 2, 49999, 50000]
      - comb: 
          generate: comb.py {seed} 100000 {count}
          count: [1, 2, 3, 311, 520, 99999, 100000]
