参考:http://wiki.openwrt.org/doc/howto/mesh.batman?s[]=batmandThe Better Approach To Mobile Adhoc Networking (B.A.T.M.A.N.) is a routing protocol for mu...
分类:
其他好文 时间:
2015-06-03 11:28:15
阅读次数:
108
C#(.NET)中有关编码的一些建议,原文地址:http://www.codeproject.com/Articles/539179/Some-practices-to-write-better-Csharp-NET-code目录介绍试一试什么是更好的代码?怎样提高代码的可读性?什么是编码规范?开发...
The Zen of Python, by Tim PetersBeautiful is better than ugly.Explicit is better than implicit.Simple is better than complex.Complex is better than co...
分类:
编程语言 时间:
2015-05-30 15:16:19
阅读次数:
187
Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 13500Accepted: 6968DescriptionBulls are so much better at math than the cows. They can multip...
分类:
其他好文 时间:
2015-05-28 12:26:17
阅读次数:
140
把0作为根,然后dp
注意一点 就是以前是选取m个点 现在相当于选取了m+1个点
#include
#include
#include
#include
using namespace std;
int dp[222][222];
vectormp[222];
int val[222];
int vis[222];
int n,m;
void dfs(int u){
...
分类:
其他好文 时间:
2015-05-27 15:55:25
阅读次数:
143
和基本的并查集相比,就是稍微改动了一下。
要求的是每个集合里面人数最多的人数。
就多用一个数组记录这个人数即可。
#include
#define N 10000000
int father[N],num[N];
void initial()
{
int i;
for(i=1;i<=N;i++)
{
father[i]=i;
num[i...
分类:
其他好文 时间:
2015-05-27 13:56:15
阅读次数:
126
ZigZag Conversion
题目:
The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)...
分类:
其他好文 时间:
2015-05-25 14:42:59
阅读次数:
114
感谢朋友支持本博客,欢迎共同探讨交流,由于能力和时间有限,错误之处在所难免,欢迎指正!
如有转载,请保留源作者博客信息。
Better
Me的博客:blog.csdn.net/tantexian
如需交流,欢迎大家博客留言。
fdisk /dev/sda 可以对sda进行分区。
...
分类:
系统相关 时间:
2015-05-21 17:31:36
阅读次数:
243
Message Passing Leads to Better Scalability in Parallel SystemsRussel WinderPROGRAMMERS ARE TAUGHT from the very outset of their study of computing that concurrency—and especially parallelism, a specia...
分类:
其他好文 时间:
2015-05-21 10:53:55
阅读次数:
147