Cristian%27s algorithm

undefined