为什么我的代码的异或用不了?
  • 板块灌水区
  • 楼主Tis员工
  • 当前回复3
  • 已保存回复3
  • 发布时间2022/4/5 11:20
  • 上次更新2023/10/28 04:33:38
查看原帖
为什么我的代码的异或用不了?
430920
Tis员工楼主2022/4/5 11:20
#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-48;ch=getchar();}
	return x*f;
}
int x,n,ans;
int main(){
    ans=1^1;
    cout<<1^1;
    //cout<<ans;这个行,上面的不行
    return 0;
}
}

求解QAQ(本人蒟蒻,大佬轻喷)

2022/4/5 11:20
加载中...