题目链接Problem StatementCodenationis sendingNof its employees to a High Profile Business Conference and the goal is to cover maximum number of presentati...
分类:
其他好文 时间:
2015-01-25 16:35:51
阅读次数:
202
题意:反正就是要给的一串01的变成全0 能影响自己和左右 最少需要几步01方程组 异或解 1 int a[300][300]; // 增广矩阵 2 int x[300]; // 解 3 int free_x[300]; // 标记是否为自由未知量 4 5 int n; 6 void...
分类:
其他好文 时间:
2015-01-25 15:01:32
阅读次数:
210
Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s =“eceba”,T is "ece" which ...
分类:
其他好文 时间:
2015-01-25 06:31:56
阅读次数:
141
【HDU】1198Farm Irrigation 基础最小生成树★1598find the most comfortable road 枚举+最小生成树★★1811Rank of Tetris 并查集+拓扑排序★★3926Hand in Hand 同构图★3938Portal 离线+并查集★★248...
分类:
其他好文 时间:
2015-01-24 22:45:59
阅读次数:
208
C -CTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a positive integer N, you should output the most ri...
分类:
其他好文 时间:
2015-01-24 20:04:38
阅读次数:
131
原题地址不妨手动模拟一下,观察是否有规律可寻。假设从位置0开始,我们有一个矩形条向右扩展,我们遇到了第二个矩形条,假设这个矩形条比第一个矮:我们继续向右扩展,直到遇到比第一个矩形条高(或者相等)的矩形条:那么显然,蓝色的部分就是装水的部分,把这部分累加到最终的结果中然后,以新发现的这个矩形条为左边界...
分类:
移动开发 时间:
2015-01-24 15:49:23
阅读次数:
207
/* 描述 Mr. B is a famous music composer. One of his most famous work was his set of preludes. These 24 pieces span the 24 musical keys (there are music...
分类:
其他好文 时间:
2015-01-23 19:52:54
阅读次数:
237
TextView的宽和高都是 match_parent 手机分辨率(720 * 1280)
===widthMode===EXACTLY===heightMode===EXACTLY===widthSize===720===heightSize===1084
===widthMode===EXACTLY===heightMode===EXACTLY===widthSize===720===heig...
分类:
其他好文 时间:
2015-01-23 13:27:17
阅读次数:
177
primitive adj. 原始的; 发展水平低的; 落后的; [生物学]原生的n. 原始人; 早期的艺术家(作品); 单纯的人:不世故的人; 自学的艺术家【网络释义】原始的; 原始; 原语; 早期的复数:primitives比较级:more primitive最高级:most primitive...
分类:
其他好文 时间:
2015-01-23 12:47:23
阅读次数:
179
JavaEE has some excellent built-in security mechanisms, but they don’t come close to covering all the threats that your applications will face. Many c...
分类:
编程语言 时间:
2015-01-23 10:58:41
阅读次数:
182