Hello.
You seem to have an incomplete or a half written question.
I would like to request you to complete your question, so that I can help you with your query.
However, I would like to inform you that ranks are usually based upon the marks scored by all candidates in a descending order in the exam.