Solution:
The answer is 64. We denote by p1,p2,p3 the scores that a competitor can obtain on problems 1,2,3, respectively. First of all we observe that certainly the number of competitors cannot exceed 64. Indeed, considering just the first two problems, the possible pairs of scores (p1,p2) relative to these two problems are 82=64, and therefore, if we want different competitors to correspond to different pairs, the number of competitors cannot exceed 64.
Secondly, however, with 64 competitors the required result can be achieved. Indeed, imagine that the 64 competitors obtain, on the first two problems, all 64 available pairs (p1,p2) of scores. It is certainly possible, since the scores range between 0 and 7, that all competitors obtain a total score (that is, the sum of the scores p1+p2+p3) divisible by 8. In this case there are no two competitors who have the same score on two different problems. Indeed, if two competitors have, for example, equal scores on problem 1 and on problem 3, then, by difference, they must also have an equal score on problem 2, contradicting the assumption made. A completely analogous argument applies to the case in which two competitors have equal scores on problem 2 and on problem 3.