• 个人简介

    ![]

    <BITS\STDC++.H>

    花逝爆零人账号密码

    123456 ##都可以登(不破坏即可)

    花逝爆零人???

    wyw QlY 深臣 lck xhz

        int n,q;
    int a[N],c[N];
    int lowbit(int x)
    {
        return x&(-x);
    }   
    //};
    
    void add(int x,int v)
    {
        while(x<=n)
        {
            c[x]+=v;
            x+=lowbit(x);
        }
    }
    int ask1(int x)
    {
        int t=0;
        while(x)
        {
            t+=c[x];
            x-=lowbit(x);
        }
        return t;
    }
    //另一方法:化简为繁"ovo"
    int ask2(int x)
    {
      if(!x)
          return 0;
      return c[x]+ask(x-lowbit(x));
    }
    

    花逝爆零人Ⅱ编者本入

    <bits\stdc++.h>

    哈哈哈,这就是所谓的花逝爆零人吗?到头来只是背弃<bits\stdc++.h>的一位负心汉罢了。只是此刻,众多的爆零人都想争抢着写着那句珍贵的、重要的、花逝的又被破坏的: <BITS\\STDC++.H>!!!

    -----《花逝爆零人Ⅱ》

  • 最近活动

    This person is lazy and didn't join any contests or homework.