If Alice is 5th from the top and 26th from the bottom in a competition, how many participants were there in total?

Answer: B. 31
The total number of participants can be found by adding Alice's rank from the top and her rank from the bottom, then subtracting 1: 5 + 26 - 1 = 30. Thus, there are 31 participants.