O algoritmo está realmente corrigido?