摘要: 不用真的模拟一个个的蛋糕。直接将一个区间压入栈中即可。取出来时,注意将断的区间一分为二重新塞入。 #include <bits/stdc++.h> using namespace std; #define N 1000010 #define ll long long template <class 阅读全文
posted @ 2022-09-23 11:47 雪之下,树之旁 阅读(56) 评论(0) 推荐(0) 编辑