摘要: A - Problem A. Ascending Rating 题意:给出n个数,给出区间长度m。对于每个区间,初始值的max为0,cnt为0.遇到一个a[i] > ans, 更新ans并且cnt++。计算 $A = \sum_{i = 1}^{i = n - m +1} (max \oplus i 阅读全文
posted @ 2018-09-04 16:41 Dup4 阅读(213) 评论(0) 推荐(0)