POJ 3250 Bad Hair Day(单调栈)
传送门
Description
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...
原创
2020-01-08 12:26:02 ·
82 阅读 ·
0 评论