Introduction - If you have any usage issues, please Google them yourself
Scoring talent show is divided into expert judges and the public judges, score [] array inside the store each fight judges scores, judge_type [] in storage and score [] array corresponding to the judges category, judge_type [i] = = 1, which means that expert judges, judge_type [i] == 2, said public judges, n represents the total number of judges. Scoring rules are as follows: expert judges and the public judges scores were taken before an average (mean score rounded), then expert judges score = average* 0.4* 0.6+ public judges, Rounding out. If there is no public judges, the expert judges score = average points score rounding. Function eventually return players to score.