Consider my case, for example.
I was elected with 32.7% of the votes. On election night, I beat my closest rival by more than 5,000 votes. Depending on the calculation method, I might not have been declared elected by the Chief Electoral Officer. I imagine that calculation is not done instantly.