Bad Hair Day POJ - 3250(单调栈)
Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants to count the number of other cows that can see the top of
原创
2017-12-23 21:26:38 ·
390 阅读 ·
0 评论