摘要:
模板题,矩形面积并#include #include #include #include #define maxn 220000#define lson l,m,rt cmp.sign; return y > 1; if(L m) update(L,R,cc,rson);... 阅读全文
摘要:
#include#include#include#includeusing namespace std;const int maxn=200000+10;long long a[maxn],n;long long Min;long long ans;long long b[maxn];int ma... 阅读全文
摘要:
构造#include#include#include#includeusing namespace std;int a[15][1000][1000];int main(){ a[1][1][1]=1; a[1][1][2]=1; a[1][2][1]=1; a[1][2][... 阅读全文
摘要:
#include#include#include#includeusing namespace std;int n,ans;int main(){ while(~scanf("%d",&n)){ ans=0; if(n%2!=0)ans=0; else... 阅读全文