The final result of the candidate determines the distribution of gold medals, silver medals, bronze medals, and certificates of merit as per their rankings in the exam.