You really did well, one of the importance of having good friends. A friend in need is a friend indeed.
We all know how painful it is to have a resit or carryover how much more when U prepared so well. Imagine, she got a B and would have come for resit while people who had c or even d would have moved on.
One time I had a similar issue, I didn't even get a chance to see the lecturer not to talk of Searching for my work. I had to just accept my fate and move on.
It's a sad thing to get such and not find ways to solve the issue, especially when the lecturer in charge is a strict one.
Thank you for stopping by