code of algorithm competition