Backpack problem: dp[i][j] means if the first i elements can sum up to value j dp[i][j] = dp[i-1][j] || (j>=nums[i-1] && dp[i-1][j-nums[i-1]]) the res ...
分类:
其他好文 时间:
2016-12-03 12:21:14
阅读次数:
125
[root@localhost桌面]#ifconfig
lo:flags=73<UP,LOOPBACK,RUNNING>mtu65536
inet127.0.0.1netmask255.0.0.0
inet6::1prefixlen128scopeid0x10<host>
looptxqueuelen0(LocalLoopback)
RXpackets1888bytes320065(312.5KiB)
RXerrors0dropped0overruns0frame0
TXpacke..
分类:
系统相关 时间:
2016-12-03 02:36:56
阅读次数:
638
h:left,j:down,k:up,l:right.Can't open file for writing:without creat file right,:q!,mkdir cuthead.github.io/windows2003/,touch cuthead.github.io/win ...
分类:
其他好文 时间:
2016-12-03 01:07:37
阅读次数:
155
About LAMP LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. ...
分类:
数据库 时间:
2016-12-02 22:51:58
阅读次数:
543
1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo ...
分类:
其他好文 时间:
2016-12-02 07:57:55
阅读次数:
206
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2016-12-02 07:44:24
阅读次数:
213
1. Two Sum --No Bug Free Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that ...
分类:
其他好文 时间:
2016-12-02 03:25:03
阅读次数:
205
####三.主从DNSDNS加密####1.主从DNS的配置1)配置好两台DNS服务器2)其中从DNS服务器配置如下:vim/etc/named.rfc1912.zones---------------------------------------25zone"westos.com"IN{26typeslave;27masters{172.25.254.100;};28file"slaves/westos.com.zone";29allow-up..
分类:
其他好文 时间:
2016-12-01 23:03:12
阅读次数:
268