This question is adapted from a maths competition, so can be done with just pen and paper.
So there is still an opportunity for a pen-and-paper solution. In particular, those combinatorial calculations need to be presented.
This question is adapted from a maths competition, so can be done with just pen and paper.
So there is still an opportunity for a pen-and-paper solution. In particular, those combinatorial calculations need to be presented.
Oops didn't notice this is a math contest lol
I thought it was the computer-math series
sorry for bruteforcing the answer ;w;