- 博客(5)
- 收藏
- 关注
原创 HDU 1051 Wooden Sticks
There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called
2016-08-28 18:52:29 353
原创 HDU 1087 Super Jumping! Jumping! Jumping!
题目描述 Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this game, so I introduce it to you now.
2016-08-19 10:47:09 269
原创 给你一个数N(N<=10^100),让你判断是否能被11整除。。能整除输出YES,否则输出NO。
给你一个数N(N Sample Input 1150645Sample Output YESYESNO思路:因为N是一个很大数,只有用char存成字符串,把奇数位上的数的和减去偶数位数的数如果能被11整除,则原数就能被11整除,否则不行。上代码:#include#include#includeusing namespace std;cha
2016-08-14 10:00:40 696
原创 hdu 1069 Monkey and Banana
Problem DescriptionA group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at the mean time, provide the monkey with som
2016-08-03 09:42:22 295
原创 hdu 1029 Ignatius and the Princess IV
题目描述 "OK, you are not too bad, em... But you can never pass the next test." feng5166 says."I will tell you an odd number N, and then N integers. There will be a special integer among them, you h
2016-08-01 11:14:28 256
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人