完全背包 1 #include 2 #include 3 #include 4 using namespace std; 5 #define maxn 505 //刚开始不小心打成105了、、、只有75,改成505,就100了 6 #define maxm 100005 7 int need[m.....
分类:
其他好文 时间:
2014-08-23 02:19:49
阅读次数:
152
Debian, Mint, Ubuntu, Kubuntu, Xubuntu… ? For?32-bit DEB-systems?you need the?teamviewer_linux.deb?package. For?64-bit DEB-systems without Multiarch?you need the?teamviewer_linux_x64.deb?...
分类:
其他好文 时间:
2014-08-23 01:12:39
阅读次数:
276
net_device->feature| NETIF_F_NO_CSUM: No need to use L4 checksum, it used for loopback device.| NETIF_F_IP_CSUM: the device can compute L4 checksum in...
分类:
系统相关 时间:
2014-08-22 14:26:59
阅读次数:
260
当引用到*.jar文件时,报错“Unable to resolve superclass 。。。”"Just started to get this issue after upgrading to ADT 17.Discovered that external .jar files need to...
分类:
移动开发 时间:
2014-08-21 19:16:04
阅读次数:
204
1.TreeView选择事件执行两次Very often, we need to execute some code inSelectedItemChangeddepending on the selectedTreeViewItem. ButSelectedItemChangedis called...
分类:
其他好文 时间:
2014-08-21 19:12:24
阅读次数:
228
I know cheap ghds this probably sounds really vain but I live in upstate NY and the elements sucks! I ghds am just in need of a few foils to embellish...
分类:
其他好文 时间:
2014-08-21 12:58:04
阅读次数:
202
1. 如果是有parent指针的树,可以转化成 求两个链表第一个公共节点的问题。对于无parent指针普通二叉树(假定这两个节点一定在树中,否则需要先遍历一边树查找是否存在该节点) 1. (剑指offer的解法),先用一定的空间记录从根节点到两个节点各自的路径,然后找这两个路径最后一个相交的节点。....
分类:
其他好文 时间:
2014-08-21 01:29:33
阅读次数:
217
1、添加网络访问权限
2、webview添加全屏支持
developer官方文档关于html5支持视频播放描述如下:In order to support inline HTML5 video in your application, you need to have hardware acceleration turned on, and set a WebChrom...
分类:
移动开发 时间:
2014-08-20 22:41:33
阅读次数:
403
转载请注明出处:http://blog.csdn.net/ns_code/article/details/25915971题目描写叙述:输入一个二叉树,输出其镜像。输入:输入可能包括多个測试例子,输入以EOF结束。对于每一个測试案例,输入的第一行为一个整数n(0#includetypedef str...
分类:
其他好文 时间:
2014-08-20 22:30:33
阅读次数:
360
编程之美之队列中取最大值操作
剑指offer之取栈中最小值操作...
分类:
其他好文 时间:
2014-08-20 19:42:12
阅读次数:
197