自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Jack_zhuiyi的博客

do what you want to do.

  • 博客(4)
  • 收藏
  • 关注

原创 C - Humble Numbers HDU - 1058

A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, … shows the first 20 humble numbers. Writ

2017-09-16 10:25:25 275

原创 H - Post Office POJ - 1160

There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a single integer coordinate. There ar

2017-09-09 23:51:38 343

原创 G - To the Max POJ - 1050

Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of

2017-09-09 13:01:17 296

原创 湖南省2017省赛A题

题目大意,给你n个数,要求你给出任意一个排列,要求一个数与左右的数的差值的绝对值大小大于d。 直接递推,设第一个数为a,则第二个数显然最大为n,那么可以推出a = n -  d - 1,第三个数为a - 1,第四个数为a + d。 以此可递推出第i个数大小为,分奇偶性,i为奇数时,其为a - (i - 1) / 2,偶数时,a + d - (i - 4) / 2。 考虑到一点,这样递推保证了

2017-09-05 20:13:46 320

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除