Suppose there is a test with $n\geq 2$ questions each of which will receive a score from 0 to $m\geq 1$. Every possible score is obtained by some unique student. Define same$(a,b)$ to be the set of questions that students $a$ and $b$ get the same score on. I need to show that there are some four students $a,b,c,d$, at least three distinct, such that same$(a,b)=$same$(c,d)$. I am also required to show this using the Pigeon Hole Principle.
Now I think I can solve it without the PHP. Some two students must match on all but the last question and differ in the last. Some other student must have exactly opposite scores (i.e. mismatched) on all but the last question, and on the last, have a score call it x. Some fourth student must match the most recent on all but the last question, and on that one, get something other than x. The first two match on the same set as the last two.
But how to do this with the PHP? I know there are $(m+1)^n$ scores and therefore students. The number of sets of matching scores is just the number of subsets of problems, $2^n$. From here I'm not sure what I can infer.