60分到0分
查看原帖
60分到0分
1197566
Andyliu2023楼主2023/12/20 23:09

从开始的60分变成0分,啊!!!

#include<bits/stdc++.h>
using namespace std;
int main(){
	int x,a=0,b=0,c=0,d=0;
	cin>>x;
	if(x%2==0&&4<x&&x<=12)a=1;
	if(x%2==0||(4<x&&x<=12))b=1;
	if((x%2==0&&!x<4&&!x<=12)||(x%2!=0&&x<4&&x<=12))c=1;
	if(x%2!=0&&!4<x&&!x<=12)d=1;
	cout<<a<<" "<<b<<" "<<c<<" "<<d<<endl;
	return 0;
}

谁来救救我!!!

2023/12/20 23:09
加载中...