【郑轻】[1754]Chowhound!Chowhound!!Chowhound!!!

文章字数:99

问题描述

Loading...

问题分析

很简单的一种比较~

cpp
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include<stdio.h>
int main() {
	long int x;
	double a,b;
	scanf("%ld",&x);
	a=(x+x)*0.8;
	b=x+x-10;
	if(a<b)
		printf("1\n");
	else
		printf("2\n");
	return 0;
}

题目地址:【郑轻】[1754]Chowhound!Chowhound!!Chowhound!!!

本文采用 CC BY-NC-SA 4.0协议,如果对您有帮助或存在意见建议,欢迎在下方评论交流。
本页面浏览次数 加载中...
本页面访客数 加载中...

加载中...