跳到正文

个人记录

严肃升级代码框架

SilverChariot_R约 2 分钟
原文

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

文章信息与版本

文章信息

发布
2026年4月16日
收录
2026年4月16日
更新
2026年11月16日
篇幅
约 2 分钟

版本

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

#define OpenFile freopen
using LL = long long int;
using ll = long long int;

inline LL read (void) {
	LL s = 0, f = 1;
	char ch = getchar_unlocked ();
	while (ch > '9' || ch < '0') {
		if (ch == '-') f = -f;
		ch = getchar_unlocked ();
	}
	while (ch >= '0' && ch <= '9') {
		s = (s << 3) + (s << 1) + (ch ^ 48);
		ch = getchar_unlocked ();
	}
	return s * f;
}
inline void write (LL num) {
	if (num == 0) {
		putchar_unlocked ('0');
		return;
	}
	if (num < 0) {
		putchar_unlocked ('-');
		num = -num;
	}
	char st[20] = {};
	LL top = 0;
	while (num != 0) {
		st[++ top] = num % 10 | 48;
		num = num / 10;
	}
  	// 手写栈代替 stl 栈
	while (top != 0) {
		putchar_unlocked (st[top --]);
	}
	return;
}

void solve (void) {
	// TODO
	return;
}

signed main (void) {
	solve ();
  	// 现在不用 input (), solve (), output (); 的三体运动了()
	return 0;
}