- 博客(7)
- 收藏
- 关注
原创 西瓜Codeforces-4A
Problem description One 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
506
原创 HDU-2039 判断三角形能否构成
Problem description 给定三条边,请你判断一下能不能组成一个三角形。 Input 输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中A,B,C <1000; Output 对于每个测试实例,如果三条边长A,B,C能组成三角形的话,输出YES,否则NO。 Sample Input 2 1 2 3 2 2 2 Sample O...
2018-12-09 00:44:47
283
原创 满足条件的房间统计
George and Accommodation George 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
285
原创 ASCII码排序 HDU--2000
Problem Description 输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 Input 输入数据有多组,每组占一行,有三个字符组成,之间无空格。 Output 对于每组输入数据,输出一行,字符中间用一个空格分开。 Sample Input qwe asd Zxc Sample Output e q w a d s c x z 问题分析...
2018-12-07 19:28:22
159
原创 求和A+B。HDU-1000
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in one line. Sample Input 1 1 Sample Outpu...
2018-12-07 09:04:57
223
原创 球球的体积。HDU--2002
Problem Description 根据输入的半径值,计算球的体积。 Input 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。 Output 输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。 Sample Input 1 1.5 Sample Output 4.189 14.137 Hint #define PI 3.14159...
2018-12-07 08:14:24
191
原创 求和后取余。HDU-2101
HDU-2101 Problem Description This 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
332
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅