Id
1994
Title
Tian Ji -- The Horse Racing
Tags
constructive algorithms
greedy
Brief solution
分别排序,分别用两个指针表示头和尾。在这些指针指向的马中作出贪心选择。
time usage:1.008560