自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

vickey

岁月静和,微笑向暖

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

原创 POJ 3254 Corn Fields

题意:Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. some of the squares are infertile and can't be planted. (1 for fertile,

2014-01-27 12:20:05 1214 4

原创 B. Multitasking CF_384

题意:      Iahub can choose a pair of distinct indices i and j (1 ≤ i, j ≤ m, i ≠ j). Then in each array the values at positions i and j are swapped only if the value at position i is strictly

2014-01-21 19:38:27 611

原创 CF contest/382/B. Number Busters

题解:    设t 分钟时:     c'=c-t;     a'=a- (x*t-b)/w;     c'     整理出来 t>= (a*w-cw-b)/(x-w);    注意题目条件  xw的情况; #include #include #include using namespace std; long long a,b,w,x,c;// 比赛时候一激动竟然定义成int

2014-01-18 14:04:22 1477 10

原创 CF/379/problem/C

记录下好的思路…………^.^ 题意:    有N个值: a1-an; 求一个新序列b1-bn,使得任意bi!=bj且bi>=ai且 b1-bn的和最小    我的思路:       先把ai 按从小到大排序,然后维护一个最大值maxn,          当 ai          当 ai>maxn,说明ai并没有出现过,maxn=b[ai.id]=ai;      #inclu

2014-01-10 21:11:12 669

原创 cf /376/C

题意:题意还是有些问题的!很明显这是一个多组解的题目,但题目并没有注明输出答案之一就可。  注意题目“You have number a, whose decimal representation quite luckily contains digits 1, 6, 8, 9. Rearrange the digits in its decimal representation so

2014-01-10 20:32:27 941

空空如也

空空如也

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

TA关注的人

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