80分,求助大佬,代码如下:
查看原帖
80分,求助大佬,代码如下:
1394732
junbeder楼主2024/8/3 11:31
#include<iostream>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
	int k=0;
	if(a>10) k++;
	if(b>20) k++;
	if(k==1) cout<<"1"<<endl;
	else cout<<"0"<<endl;
	return 0;
}
2024/8/3 11:31
加载中...