• 2023-05-24Tallest Cow(最高的牛)poj3263
    题目描述:FJ'sN(1≤N≤10,000)cowsconvenientlyindexed1..Narestandinginaline.Eachcowhasapositiveintegerheight(whichisabitofsecret).YouaretoldonlytheheightH(1≤H≤1,000,000)ofthetallestcowalongwiththeindexIoftha
  • 2023-02-07POJ3263 Tallest Cow 括号技巧
    题目描述FJ'sN(1≤N≤10,000)cowsconvenientlyindexed1..Narestandinginaline.Eachcowhasapositiveintegerheight(whichisabitofsecret).You
  • 2022-11-29POJ-3263 Tallest Cow
    思路分析(摘自这篇博客)这道题目一个核心要点,就是如何处理这些特殊的关系,也就是两头牛互相看见。其实题目中已经告诉我们如何处理,因为我们发现,题目中要求牛的身高最高,那