• Bio

    https://www.luogu.com.cn/team/107194 表白高2028级球球~

    char *p1, *p2, buf[N];
    #define nc() (p1 == p2 && (p2 = (p1 = buf) +\
    fread(buf, 1, N, stdin), p1 == p2) ? EOF : *p1 ++ )
    LL read()
    {
        LL x = 0, f = 1;
        char ch = nc();
        while (ch < 48 || ch > 57)
        {
            if (ch == '-') f = -1;
            ch = nc();
        }
        while (ch >= 48 && ch <= 57)
            x = (x << 3) + (x << 1) + (ch ^ 48), ch = nc();
        return x * f;
    }
    
    char obuf[N], *p3 = obuf;
    #define putchar(x) (p3 - obuf < N) ? (*p3 ++ = x) :\
    (fwrite(obuf, p3 - obuf, 1, stdout), p3 = obuf, *p3 ++ = x)
    inline void write(LL x)
    {
        if (!x)
        {
            putchar('0');
            return;
        }
        LL len = 0, k1 = x, c[40];
        if (k1 < 0) k1 = -k1, putchar('-');
        while (k1) c[len ++ ] = k1 % 10 ^ 48, k1 /= 10;
        while (len -- ) putchar(c[len]);
    }
    
  • Accepted Problems

  • Recent Activities

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

Problem Tags

系统测试
1