Riley's score is 35 - 3 = <<35-3=32>>32.
Half of Riley's score is 32/2 = <<32/2=16>>16.
So Ofelia's score is 16 + 5 = <<16+5=21>>21.
Hence, Ofelia got 35 - 21 = <<35-21=14>>14 incorrect answers.
Therefore, their team got 3 + 14 = <<3+14=17>>17 incorrect answers.
#### 17