我必须要说的是输出时printf("%f", a);而不是%lf那样会wa这是我付出了n个小时得到的教训#include#include#include#include#includeusing namespace std;const int maxa = 1005;struct edge{ int...
分类:
其他好文 时间:
2015-03-06 22:08:40
阅读次数:
130
下载配置编译openwrt
环境:fedora7
1 安装相关工具和库
1.1 安装svn工具
安装svn工具,用于下载openwrt源码(要先保证可以上网):
#yum install subversion
1.2 安装git工具
#yum install git-core
1.3安装依赖的库文件
...
分类:
其他好文 时间:
2015-03-06 17:07:12
阅读次数:
135
//dp[u][k1]=min(dp[u][k1-k2]+dp[v][k2]+edge*k2*(k-k2))
//dp[u][k]表示以u节点为根节点的子树中选k个节点所得的最优解
#include
#include
#include
#include
using namespace std;
const int maxn=2010;
const __int64 inf=1e18;...
分类:
其他好文 时间:
2015-03-06 16:00:36
阅读次数:
122
原文来自(http://www.cnblogs.com/dafozhang/archive/2012/06/28/2567769.html)Subversion有一个很标准的目录结构,是这样的。比如项目是proj,svn地址为svn://proj/,那么标准的svn布局是svn://proj/|+-...
分类:
其他好文 时间:
2015-03-06 15:28:49
阅读次数:
139
-------------------------------------------clearcase: IBM Rational, 商用,贵perforce: P4,免费版支持5个license, 其他商用版cvs: 开源,旧subversion: 中小型公司常用,集中管控git: 开源,分布式...
分类:
其他好文 时间:
2015-03-06 09:56:21
阅读次数:
204
Linux下Subversion(SVN服务器)的搭建:
1、安装Subversion
#查看本机是否已安装subversion
[root@test2 etc]# rpm -qa subversion
[root@test2 etc]#
#卸载旧版
[root@test2 etc]# yum remove subversion
#...
分类:
系统相关 时间:
2015-03-05 17:07:32
阅读次数:
202
1.安装Subversion Server Subversion server binaries maintained by the Ubuntu Project. Packages include the Subversion client, and tools to create a Subversion repository and to make a repository ava...
分类:
系统相关 时间:
2015-03-05 09:24:09
阅读次数:
192
subversion(以下简称svn)是近年来崛起的版本管理工具,是cvs的接班人。 svn服务器有2种运行方式:独立服务器和借助apache。2种方式各有利弊。file:///直接版本库访问(本地磁盘)。http://通过配置Subversion的Apache服务器的WebDAV协议。https:...
分类:
系统相关 时间:
2015-03-03 23:25:59
阅读次数:
360
Navigation DrawerCreating a Navigation DrawerThe navigation drawer is a panel that transitions in from the left edge of the screen and displays the ap...
分类:
移动开发 时间:
2015-03-03 14:55:04
阅读次数:
191
大白书 P314#include #include #include #include #include #include #include using namespace std;typedef long long LL;struct Edge{int u,v; };const int maxn ...
分类:
其他好文 时间:
2015-03-02 18:18:07
阅读次数:
102