A Cross-country race is any running race that takes place on different types of terrain. Different levels of competition include middle school , high school , collegiate men and , women 5km (3.1 mi) and , amateur, and professional.