入门赛重现B题WA97pts
  • 板块灌水区
  • 楼主_TCR_
  • 当前回复1
  • 已保存回复1
  • 发布时间2024/3/10 11:16
  • 上次更新2024/3/10 13:38:52
查看原帖
入门赛重现B题WA97pts
483466
_TCR_楼主2024/3/10 11:16

玄一关

提交记录WAon#33#38#44

重现题面

一楼也有题面

CodeCode

#include<iostream>//重现赛无多测
using namespace std;
long long x,y;
int main(){
	ios::sync_with_stdio(false);
	cin>>x>>y;
	long long a=y-x;
	if(a<=24000){
		cout<<"5";
		return 0;
	}
	if(a<=36000){
		cout<<"6";
		return 0;
	}
	if(a<=48000){
		cout<<"8";
		return 0;
	}
	if(a<=84000){
		cout<<"11";
		return 0;
	}
	for(int i=1;i<=12500;i++){
		if(a<=4*i*24000){
			cout<<13*i;
			break;
		}
	}
	return 0;
}
2024/3/10 11:16
加载中...