自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 POJ1944--Fiber Communications

题目来源:http://poj.org/problem?id=1944 题目内容: Fiber Communications Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 4728 Accepted: 1412 DescriptionFarmer John wants to connect hi

2018-01-04 20:17:05 319

转载 JSP中<%! %>与<% %>的区别

<body> <%! //1、可定义方法 public String outMethod(){ return "outMethod"; } //2、可定义static方法 public static String outStaticMethod(){ return "outStaticMethod"; } //3、可定义static属性 pu

2017-12-27 15:07:52 758

原创 POJ-1157-LITTLE SHOP OF FLOWERS

题目来源:http://poj.org/problem?id=1157 题目内容:LITTLE SHOP OF FLOWERS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 21994 Accepted: 10166 DescriptionYou want to arrange the windo

2017-11-21 23:02:15 119

原创 POJ-1088-滑雪

题目来源:http://poj.org/problem?id=1088 题目内容:滑雪 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 101638 Accepted: 38670 DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,

2017-11-21 21:59:33 404

原创 POJ-1050-To the Max-二维最大子序列和

题目来源:http://poj.org/problem?id=1050 题目内容:To the Max Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 50099 Accepted: 26544 DescriptionGiven a two-dimensional array of positive

2017-11-21 20:55:17 240

原创 POJ-3190-Stall Reservations-优先队列+贪心

题目来源:http://poj.org/problem?id=3190 题目内容:Stall Reservations Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8013 Accepted: 2811 Special Judge DescriptionOh those picky N (1

2017-11-21 19:45:23 171

原创 挑战程序设计竞赛-第四版-3.1.4 最大化平均值

题目内容: 有n个物品的重量和价值分别是wi和vi,从中选出k个物品使得单位重量的价值最大。 输入 n = 3,k = 2; (w,v)={(2,2),(5,3),(2,1)}; 题目分析: 采用二分法做 定义一个函数bool C(x):可以选择使得单位重量的价值不小于x 则选了k个后,单位重量的价值是: ∑i=1kvi/∑i=1kwi\sum_{i=1}^k vi /\sum_{

2017-11-21 16:43:08 172

原创 POJ-2456-Aggressive cows

题目来源:http://poj.org/problem?id=1952 题目内容:BUY LOW, BUY LOWER Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 10554 Accepted: 3698 DescriptionThe advice to “buy low” is half th

2017-11-21 15:24:03 121

原创 POJ-1742-Coins-DP-男人八题

题目来源:http://poj.org/problem?id=1742 题目内容:Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 39405 Accepted: 13359 DescriptionPeople in Silverland use coins.They have coins

2017-11-20 18:13:37 178

原创 POJ-1458-Common Subsequence-经典DP

题目来源:http://poj.org/problem?id=1458 Common Subsequence Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 55804 Accepted: 23228 DescriptionA subsequence of a given sequence is t

2017-11-19 11:54:28 120

转载 刷子表

列表一:经典题目题号:容易: 1018, 1050, 1083, 1088, 1125, 1143, 1157, 1163, 1178, 1179, 1189, 1191,1208, 1276, 1322, 1414, 1456, 1458, 1609, 1644, 1664, 1690, 1699, 1740, 1742, 1887, 1926, 1936, 1952, 1953,

2017-11-15 18:38:18 229

空空如也

空空如也

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

TA关注的人

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