Polynomial scaling of QAOA for ground-state preparation of the fully-connected p-spin ferromagnet.