The sentence starts with the fact that the roof is leaking. So, there is a need to get it repaired. S is the first part thus. Q is the next one to follow as it mentions that it is impossible to repair the roof when it is raining. R leads the sentence further. P tells that there is no need to repair the roof when the sun shines. SQRP is the correct sequence. Hence, (b) is the correct option.