1.使用 ifconfig -a 查看mac地址 eg:HWaddr:08:00:29:B2:2B2.vi /etc/sysconfig/network-scripts/ifcfg-eth0将HWaddr改为查看到的mac地址3.rm-rf/etc/udev/rules.d/70-persisten...
分类:
其他好文 时间:
2015-01-15 00:06:34
阅读次数:
153
D. Tennis GamePetya and Gena love playing table tennis. A single match is played according to the following rules: a match consists of multiple sets, ...
分类:
其他好文 时间:
2015-01-14 21:13:03
阅读次数:
180
静态图片js请求同域名下回传输cookie所以需要用到子域:这篇文章对高性能web开发具有参考性:http://developer.yahoo.com/performance/rules.html本文主要描述使用裸域名做网站主域名时,如何用子域名做 cookie-free domains。看站点优化...
分类:
其他好文 时间:
2015-01-14 12:20:00
阅读次数:
156
Merge k Sorted ListsMergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.采用优先队列priority_queue把ListNode放入优先队...
分类:
其他好文 时间:
2015-01-12 23:57:44
阅读次数:
266
科德十二定律(Codd's 12 rules)是由数据库的关系模型的先驱埃德加·科德(Edgar F. Codd)提出的,使数据库管理系统关系化需满足的十三条(从0至12)准则。又称为“黄金十二定律”。全关系系统十二准则全关系系统应该完全支持关系模型的所有特征。关系模型的奠基人埃德加·科德具体地给出...
分类:
其他好文 时间:
2015-01-12 01:38:08
阅读次数:
191
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:
其他好文 时间:
2015-01-09 00:03:00
阅读次数:
259
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42497857
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partiall...
分类:
其他好文 时间:
2015-01-08 21:42:06
阅读次数:
246
css !important的作用是提高指定CSS样式规则的应用优先权。注意:这个不是万能的,在神奇的IE6下仍然有问题,请参见:http://www.w3chtml.com/css3/rules/!important.html
分类:
Web程序 时间:
2015-01-08 17:27:07
阅读次数:
216
上一篇中我们已经成功安装了我们的centos系统,但是我们可能发现我们安装的centos上不了网,所以这一章我们来说说如何配置centos来连接外网和局域网。 我们首先来认识一下linux下部分网络配置文件,我们经常用到的几个网络配置文件分别为 /etc/udev/rules.d/70-persis...
分类:
其他好文 时间:
2015-01-08 15:03:03
阅读次数:
218
题意:
有c有牛,从中选(n-1)/2头,使他们的得分中位数最大且需要的资金援助和不超过f.
分析:
堆的运用大顶堆维护最小和。
代码:
//poj 2010
//sep9
#include
#include
#include
using namespace std;
const int maxN=100024;
int dpl[maxN],dpr[maxN];
priority...
分类:
其他好文 时间:
2015-01-08 13:26:24
阅读次数:
184