POJ 3671
题意:要使序列形成非递减的序列,最少改变几个数;
思路:ans=n-lis();
#include
#include
#include
#include
#include
#include
using namespace std;
int n;
int cow[30010];
vector len; //len[k]=t,表示k长度的序列的最小...
分类:
其他好文 时间:
2014-08-15 17:59:59
阅读次数:
215
Issue的分类和定义:将产品需求进行细粒度拆分,输入到项目部,达到快速开发、验证和交付的目标。
Issue共有5种分类:Story /NewFeather/Task/Sub_Task/Bug...
分类:
其他好文 时间:
2014-08-15 17:59:49
阅读次数:
311
点击打开链接题目链接
Colored Sticks
Time Limit: 5000MS
Memory Limit: 128000K
Total Submissions: 30273
Accepted: 8002
Description
You are given a bunch of wooden sticks. ...
分类:
其他好文 时间:
2014-08-15 17:59:39
阅读次数:
202
HDU 2614 Beat (dfs) 题的难度与做题顺序有关...
分类:
其他好文 时间:
2014-08-15 17:59:29
阅读次数:
177
HDU 4289 Control (网络流-最小割)
题目大意:
先是n,m表示n个城市,m条边,接下来src,sink,表示一个小偷从起点到终点,接下来n行表示每个城市放置警察需要的花费,接下来m行表示m条无向边。问你阻断小偷需要多少花费?
解题思路:
将n个城市拆点构边,根据最小割定理,阻断起点到终点的连同最小割的花费也就是求最大流。...
分类:
其他好文 时间:
2014-08-15 17:59:19
阅读次数:
189
病毒侵袭持续中
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768
K (Java/Others)
Problem Description
小t非常感谢大家帮...
分类:
其他好文 时间:
2014-08-15 17:59:09
阅读次数:
221
Problem Description
Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles,...
分类:
其他好文 时间:
2014-08-15 17:58:59
阅读次数:
240
原题http://acm.hdu.edu.cn/showproblem.php?pid=4950
Monster
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 566 Accepted Submission(s): 231
...
分类:
其他好文 时间:
2014-08-15 17:58:49
阅读次数:
231
赛门铁克VCS(Veritas Cluster Server)双机日常管理...
分类:
其他好文 时间:
2014-08-15 17:58:29
阅读次数:
757
Rescue
Time Limit: 2 Seconds Memory Limit: 65536 KB
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M
Angel's friends want to sa...
分类:
其他好文 时间:
2014-08-15 17:58:19
阅读次数:
221
首先,我们先回答两个个问题:
1、机房收费系统“是什么”?
2、机房收费系统应该“干什么”?
我的回答:
1、机房收费系统顾名思义就是一个收费系统。
2、机房收费系统主要任务流程是:注册——充值——上机——下机——退卡。而其他的功能都是各个部分人员主要负责的功能。
然后...
分类:
其他好文 时间:
2014-08-15 17:58:09
阅读次数:
187
今天又有客户报告说打了补丁后,调用CDHtmlDialog的地方又挂了,查了下,是这个补丁KB2976627的问题!
这里已经有人报告该补丁引起的问题了。
Internet Explorer not working after KB2976627 update
刚刚Google了一下KB2962872,
我之前报告的这个补丁KB2962872已经引起了很多软件的问题了。
...
分类:
其他好文 时间:
2014-08-15 17:57:59
阅读次数:
250
likely和unlikey函数源码分析
看代码的时候常常遇到likely和unlikely这两个函数,大概知道是用来检测返回值的,但是也不知道是什么。今天实在不爽了,就去看源码了。
在内核代码树的 include/linux/compiler.h里
void ftrace_likely_update(struct ftrace_branch_...
分类:
其他好文 时间:
2014-08-15 17:57:29
阅读次数:
233
King
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 9977
Accepted: 3711
Description
Once, in one kingdom, there was a queen and that queen was expecting...
分类:
其他好文 时间:
2014-08-15 17:57:19
阅读次数:
224
分析了RAFT系统中,分布式系统成员变更实现以及失败恢复的过程。...
分类:
其他好文 时间:
2014-08-15 17:57:09
阅读次数:
260
ListView的属性:
1.ListView的XML属性
android:divider//在列表条目之间显示的drawable或color
android:dividerHeight//用来指定divider的高度
android:entries//构成ListView的数组资源的引用。对于某些固定的资源,这个属性提供了比在程序中添加资源更加简便的方式
android:footerDi...
分类:
其他好文 时间:
2014-08-15 17:56:59
阅读次数:
364