It's your marks that the school sends in. But really, what matters are three things:
1) Your rank
2) the marks between your ranks and those of others
3) School rank
If everyone fails a test but you get first, don't worry; you'd still be in an advantageous position relative to your grade, and...