2019年9月2日
摘要: #include using namespace std;const int MAXN = 5e4 + 10;int T, n, b... 阅读全文
posted @ 2019-09-02 17:42 谁是凶手1703 阅读(48) 评论(0) 推荐(0)
摘要: 题目传送门 有n头奶牛,已知它们的身高为 1~n 且各不相同,但不知道每头奶牛的具体身高。 现在这n头奶牛站成一列,已知第i头牛前面... 阅读全文
posted @ 2019-09-02 17:12 谁是凶手1703 阅读(84) 评论(0) 推荐(0)
摘要: 题目传送门 区间修改用差分数组 区间查询 修改公式 #include using namespace std;#define ... 阅读全文
posted @ 2019-09-02 15:44 谁是凶手1703 阅读(43) 评论(0) 推荐(0)