自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小猪爱拱地

勤奋和毅力是通向成功的阶梯

  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 POJ 3253

#include <stdio.h> #define N    20000 int count; int planks[N]; /////////////////////////// int queue[N]; int size; void push(int n) {     int i = size++;     while(i > 0)     {         ...

2018-12-26 16:32:54 1006

原创 POJ 3253 之二

#include <stdio.h> #define N 20000 int count; int planks[N]; long long get_minimum(void) {     long long cost = 0;     while( count > 1)     {         int m1 = 0, m2 = 1;              if...

2018-12-26 01:44:01 147

原创 POJ 3253(Fence Repair)

解法一: #include <stdio.h> #define N    20000 int count; int planks[N]; int partition(int start, int end) {     int i, j;     j = start - 1;     for( i = start; i < end; i++)     {         ...

2018-12-23 11:40:45 194

原创 POJ2431 Expedition

#include <stdio.h> #define N    10000 int dist[N]; int fuel[N]; int cur_distance; int cur_fuel; int count; ///////////////////////////////// int size; int queue[N]; void push(int f) {     i...

2018-12-22 15:14:53 321

空空如也

空空如也

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

TA关注的人

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