摘要: You are given an array a consisting of n elements. The imbalance value of some subsegment of this array is the difference between the maximum and mini 阅读全文
posted @ 2019-01-28 22:15 茄子Min 阅读(518) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2019-01-28 20:49 茄子Min 阅读(312) 评论(0) 推荐(0)
摘要: Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent peo 阅读全文
posted @ 2019-01-28 16:09 茄子Min 阅读(385) 评论(0) 推荐(0)
摘要: A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different h 阅读全文
posted @ 2019-01-28 11:35 茄子Min 阅读(279) 评论(0) 推荐(0)