关于我的某个代码,我有一个愚蠢的问题想问
  • 板块灌水区
  • 楼主Tis员工
  • 当前回复9
  • 已保存回复9
  • 发布时间2024/11/8 15:41
  • 上次更新2024/11/8 19:33:32
查看原帖
关于我的某个代码,我有一个愚蠢的问题想问
430920
Tis员工楼主2024/11/8 15:41

rt

#include<bits/stdc++.h>
using namespace std;
inline int read(){
	int x=0,f=1;char ch=getchar();
	while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
	while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-48;ch=getchar();}
	return x*f;
}
inline void write(int x){
	if(x<0){putchar('-');x=-x;}
	if(x>9)write(x/10);
	putchar(x%10+'0');
}
int main(){
	//freopen(".in","r",stdin);freopen(".out","w",stdout);
    //ios::sync_with_stdio(false);
    write;
    cout<<write<<read;
    return 0;
}

为什么他能跑?

2024/11/8 15:41
加载中...