跳到正文

个人记录

快读快写模板

zhikang约 1 分钟
原文

这是 2025年11月21日 存档的第 1 版,不是当前版本。查看当前版本

文章信息与版本

文章信息

发布
2025年3月15日
收录
2025年12月12日
更新
2026年11月22日
篇幅
约 1 分钟
获赞
1

版本

  1. v2当前
  2. v1
C++
#include <bits/stdc++.h>
using namespace std;

const int LO = 1 << 20;
char buffer[LO], *ss, *tt;
#define getchar() (ss == tt && (tt = (ss = buffer) + fread(buffer, 1, LO, stdin), ss == tt) ? EOF : *ss++)

int read(){
	int x = 0;
	char c = getchar();
	for(;c < '0' || c > '9';) c = getchar();
	for(;c >= '0' && c <= '9';c = getchar()) x = (x << 1) + (x << 3) + (c ^ 48);
	return x;
}

void write(int x){
	int s[10], tp = 0;
	do{
		s[tp++] = x % 10;
		x /= 10;
	}while(x);
	for(;tp;) putchar(s[--tp] + '0');
}

int main(){
	
	return 0;
}