跳到正文

Luke_xiao

1542267

我要 7 级(以上)钩! || 私信解封了

这是 2026年10月22日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1542267
抓取

版本

  1. v3当前
  2. v2
  3. v1

工单:https://www.luogu.com.cn/ticket/BCRA811587

https://www.noi.cn/xw/2025-12-23/855378.shtml

NB 功能:https://www.saobby.com/

U701141

青色线段树:P2572 P3178

希望不要被 Unaccpted\color{red}Unaccpted 家族占领。

cdc450f

超快读入输出模板:

C++
namespace FastIO {
    char buf[1 << 21], buf2[1 << 21], a[20], *p1 = buf, *p2 = buf, hh = '\n';
    int p, p3 = -1; 
    void read() {}
    void print() {}      
    inline int getc() {return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 1 << 21, stdin), p1 == p2) ? EOF : *p1++;}
    inline void flush() {fwrite(buf2, 1, p3 + 1, stdout), p3 = -1;}
    template <typename T, typename... T2>
    inline void read(T &x, T2 &...oth) {
        int f = 0;
        x = 0;
        char ch = getc();
        while (!isdigit(ch)) {
            if (ch == '-') f = 1;
            ch = getc();
        }
        while (isdigit(ch)) {
            x = x * 10 + ch - 48;
            ch = getc();
        }
        x = f ? -x : x;
        read(oth...);
    }
    template <typename T, typename... T2>
    inline void print(T x, T2... oth) {  
        if(p3 > 1 << 20) flush();
        if(x < 0) buf2[++p3] = 45, x = -x;  
        do a[++p] = x % 10 + 48;
        while (x /= 10);
        do buf2[++p3] = a[p];
        while (--p);
        buf2[++p3] = hh;  
        print(oth...);
    }
}
#define read FastIO::read
#define write FastIO::print

int main() {
    FastIO::flush();
}