蒟蒻AtCoder0分求助
查看原帖
蒟蒻AtCoder0分求助
991607
Wangxiayao楼主2023/7/12 15:09

逻辑都对但就是过不去

本来还想看下题解的思路但发现题解区关了...

#inculde<bits/stdc++.h>
using namespace std;
int main(){
	int N;
	cin>>N;
	if(N>=1 && N<=125){
		cout<<4<<endl;
	}else if(N>=126 && N<=211){
		cout<<6<<endl;
	}else{
		cout<<8<<endl;
	}
}

高桥君你倒是说说我错哪了(蒟蒻无辜)

2023/7/12 15:09
加载中...