Reasoning with o1 team: Algorithmics