求助快读快写
  • 板块灌水区
  • 楼主CQ天神
  • 当前回复5
  • 已保存回复5
  • 发布时间2023/4/21 16:55
  • 上次更新2023/10/23 17:55:10
查看原帖
求助快读快写
959024
CQ天神楼主2023/4/21 16:55

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*10+ch-'0',ch=getchar();
    return x*f;
}
void write(){
	int x;
    if(x<0)
        putchar('-'),x=-x;
    if(x>9)
        write(x/10);
    putchar(x%10+'0');
    return ;
}
int main(){
	
	return 0;
}
2023/4/21 16:55
加载中...