- 博客(7)
- 收藏
- 关注
原创 西瓜Codeforces-4A
Problem descriptionOne hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and t...
2018-12-09 21:47:41
426
原创 HDU-2039 判断三角形能否构成
Problem description给定三条边,请你判断一下能不能组成一个三角形。Input输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中A,B,C <1000;Output对于每个测试实例,如果三条边长A,B,C能组成三角形的话,输出YES,否则NO。Sample Input21 2 32 2 2Sample O...
2018-12-09 00:44:47
210
原创 满足条件的房间统计
George and AccommodationGeorge has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are moving into ...
2018-12-07 21:31:50
220
原创 ASCII码排序 HDU--2000
Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output对于每组输入数据,输出一行,字符中间用一个空格分开。Sample InputqweasdZxcSample Outpute q wa d sc x z问题分析...
2018-12-07 19:28:22
112
原创 求和A+B。HDU-1000
Problem DescriptionCalculate A + B. InputEach line will contain two integers A and B. Process to end of file. OutputFor each case, output A + B in one line. Sample Input1 1Sample Outpu...
2018-12-07 09:04:57
171
原创 球球的体积。HDU--2002
Problem Description根据输入的半径值,计算球的体积。 Input输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。Output输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。Sample Input11.5Sample Output4.18914.137Hint#define PI 3.14159...
2018-12-07 08:14:24
156
原创 求和后取余。HDU-2101
HDU-2101Problem DescriptionThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output n...
2018-12-06 20:41:40
273
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人