Never heard of gen surg being competitive relative to surgical subspecialties.
You can look up the PD rankings of different factors they care about for residency admission. Grades are always on the lower end. Step scores matter much more.
This essentially only applies to former DO programs. Since GS was mentioned I will say you should try to go to a former MD program and your research will be much more important than your rank