let me try to do this mathematically , ofcourse there are a lot of variables, bear with me. join me on this exciting journey which may lead to a dead end if we arent careful
p students solved A alone
q students solved A and B alone
r students solved A and C alone
s students solved A and B and C
t students solved B alone
u students solved B and C alone
v students solved C alone
we have seperated all possible options here and they are all mutually exclusive. the sum of these should be 25. in other words
p+q+r+s+t+u+v = 25.......................[1]
that is our first equation, now lets see the other clues very carefully
1st HINT : Of all the contestants who didn’t solved problem A, the number who solved B was twice the number who solved C.
which contestants didnt solve A its obviously t+u+v, among these the people who solve B which is t+u will be twice who solved C which is u+v
t+u = 2(u+v)
or
t = u + 2v.......................................[2]
2nd HINT: The number of students who solved only problem A was one more than the number of students who solved A and at least one other problem. pretty simple
p = q+r+s +1..................................[3]
3rd HINT : Of all students who solved just one problem, half didn’t solve problem A.
p = t+v ..........................................[4]
excellent we have 4 equations now we should try to find equations with highest coefficients , this will help us to narrow down the trial method to determine the integer solutions alone.
lets just look at equation [1]
p+q+r+s+t+u+v = 25 substitute eq [3] so we can eliminate 3 variables
2p + t+u+v = 26 use equation [4] to get
3p+u = 26 also p = t+v eq [4] and t = u+2v eq[2] we get p = u+3v lets substitute to get
4u+9v = 26
this is the equation with highest coefficients we could arrive at and this will help us most
we know u and v has integer values, inspection shows that the only two numbers which satisfy these are u =2 and v = 2.
wow , isnt that amazing ? so the problem is solved, we can get the others using this
t = u +2v = 6 the sudents who solved B alone
p = t+v students who solved A alone = 8
hope everything was clear, wish you all the best
let me know