if I remeber right horse power is torque/time, But through axles and gear ratio's (also known as transformers) you can increase TQ or HP. But to win a race you need a combo of both, in both cases of alot oh hp and little tq or lot of tq but little hp you won't be going far.
Also in consideration weight of the car, ATX/MTX, driver experience/skill.