Editorial for DMOPC '19 Contest 1 P1 - Test Scores
Submitting an official solution before solving the problem yourself is a bannable offence.
One approach is to do some math. Suppose Veshy doesn't solve any of the problems. Therefore, his score would be . Then, for every problem he solves, Veshy effectively gains marks. Therefore, Veshy needs to solve at least problems. If the ceiling of this number is greater than then Veshy cannot get marks.
Another approach is to do binary search and continually guess the number of problems Veshy needs to answer, such that .