if they use the same format of the world cup races:
the top 2 of the ranking advance directly to the finals, while the remaining 8 surfers are divided into 2 4-man heats "semifinal round" according to the serpentine system (3rd/6th/7th and 10th in one heat, 4th/5th/8th and 9th in the other heat)
the best ranked surfer in each heat starts with 2 "ghost wins", the 2nd best with 1 and the other 2 surfers with 0
the first to 3 wins in each semifinal group advances to the final round, which has the same format (the no.1 of the qualification races starts with 2 "ghost wins", the 2nd with 1 and the 2 surfers coming from the semis with 0. once again, the first to 3 wins gets the gold medal, then silver and bronze are awarded to the surfers with more wins in the final round and, if tied, the actual result of the last race counts for the final positions)