摘要:
链接: http://codeforces.com/contest/601/problem/B 题意: For an array , we define it's Lipschitz constant as follows: if n < 2, if n ≥ 2, over all 1 ≤ i < 阅读全文
摘要:
链接: http://codeforces.com/contest/718/problem/C 题意: 维护一个长度为n的数列a,支持下面两个操作: 1 l r x — increase all integers on the segment from l to r by values x; 2 l 阅读全文