跳到正文

DF_cloud

369421

OI科技树已经退化成链了

在洛谷打开
资料、奖项与版本

资料

编号
369421
抓取

奖项

2022 CSP-J
二等奖

快读与快输模板:

C++
int read() {
  int x = 0, w = 1;
  char ch = 0;
  while (ch < '0' || ch > '9') {
    if (ch == '-') w = -1; 
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + (ch - '0');
    ch = getchar();
  }
  return x * w;
}
inline void write(int x) {
  static int sta[35];
  int top = 0;
  do {
    sta[top++] = x % 10, x /= 10;
  } while (x);
  while (top) putchar(sta[--top] + 48);
}

变强之道,自在其中

蓝题10题祭 2023.7.26

还没有收录这位用户的文章。