Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
You are not allowed to participate in the mentioned competition since you may be a winner or a loser after paying for the ticket; this is a form of gambling.
Allah knows best.