求助快读快写(玄关)
  • 板块灌水区
  • 楼主hanshengyuan2024
  • 当前回复10
  • 已保存回复10
  • 发布时间2024/6/14 17:36
  • 上次更新2024/6/14 21:03:33
查看原帖
求助快读快写(玄关)
1287452
hanshengyuan2024楼主2024/6/14 17:36
#include <bits/stdc++.h>
#define ll long long
using namespace std;
inline int read() {
	int x = 0;
	char c = getchar();
	bool f = true;
	while (c < 48 || c > 57) {
		if (c == 45) f = false;
		c = getchar();
	}
	while (c >= 48 && c <= 57) {
		x = (x << 3) + (x << 1) + (c ^ 48);
		c = getchar(); 
	}
	return f ? x : -x;
}
inline void write(int x) {
	if (x < 0) putchar(45), x = -x;
	if (x > 9) write(x / 10);
	putchar(x % 10 + 48);
}
int main() {
	
}

有没有速度比上面的快读快写速度更快的?正在尝试将1.01s变成1.00s。

2024/6/14 17:36
加载中...