转载请注明出处:http://blog.csdn.net/u012860063题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1171Problem DescriptionNowadays, we all know that Computer Colle...
分类:
其他好文 时间:
2014-07-19 16:27:09
阅读次数:
439
下面讲的是一个意思:The problem is that the next control in the tab order following the last radiobutton of your group must have the WS_GROUP flag set.1:ex:Cont...
分类:
其他好文 时间:
2014-07-19 09:27:10
阅读次数:
176
最近在用jbdc连接数据库,做分页时采用如下sql语句select top ? * from payInfo where id not in (select top ? id from payInfo order by id) order by idps.setInt(1,pageSize);ps....
分类:
其他好文 时间:
2014-07-19 00:09:59
阅读次数:
215
SELECT a.id ,b.order_id,b.attr FROM tourist_order a LEFT JOIN order_attr b ON a.id = b.order_id AND b.attr='order_status' WHERE b.order_id IS NUL...
分类:
数据库 时间:
2014-07-18 18:18:52
阅读次数:
218
Since no order requirement, we can simply swap the target value to the last non-target-value in the array - if the last non-target-value is not behind...
分类:
其他好文 时间:
2014-07-18 17:36:41
阅读次数:
192
Problem DescriptionACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,ma...
分类:
其他好文 时间:
2014-07-18 16:10:11
阅读次数:
233
点击打开链接
题目:在一个N * M 的矩阵草原上,分布着羊和狼,每个格子只能存在0或1只动物。现在要用栅栏将所有的狼和羊分开,问怎么放,栅栏数放的最少,求出个数?
解析:将狼群看作一个集合,羊群看作一个集合。然后设置源点和汇点,将两点至存在动物的点的距离赋值为1,构图,由于求得是栅栏数,从存在动物的位置向四周发散点赋值为1,即该方向放置一个栅栏。然后可以发现变成了求最小割,即求出最大流。...
分类:
其他好文 时间:
2014-07-18 15:10:40
阅读次数:
302
1.How Files Time!(时光飞逝)2.A Fat Cat(暴发户,大款) 个人觉得是重音的位置不同出来的意思不同 用的场合不同意思不同比如你在说一个人 用 a 'fat cat那肯定是说大款 但是如果你说我们家有 a fat 'cat那肯定是说猫了3.A Big Apple (大苹果--...
分类:
其他好文 时间:
2014-07-18 14:29:09
阅读次数:
181
sharepoint admin svc must be running in order to create deployment timer job 若要创建计时器作业,必须运行SVC...
分类:
其他好文 时间:
2014-07-18 11:19:35
阅读次数:
197
原帖地址:http://www.cnblogs.com/yunfeifei/p/3850440.html#undefined1.对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否...
分类:
数据库 时间:
2014-07-17 18:17:16
阅读次数:
338