1 #include 2 #include 3 #include 4 #define MAXN 100005 5 #define M 20005 6 typedef __int64 LL ; 7 using namespace std; 8 LL n,max_num ; 9 LL s[M],a[M....
分类:
编程语言 时间:
2015-09-01 01:26:27
阅读次数:
147
#include
using namespace std;
typedef long long ll;
int a[41];
ll dp[3][(1<<20)+100];
int main()
{
int t,kase=1;scanf("%d",&t);
while(t--){
memset(dp,0,sizeof(dp));
int n,m;sca...
分类:
其他好文 时间:
2015-08-31 23:51:48
阅读次数:
180
快乐虾@http://blog.csdn.net/lights_joy/欢迎转载,但请保留作者信息本文适用于opencv3.0.0, vs2013Opencv中提供了高斯滤波函数:/** @brief Blurs an image using a Gaussian filter.
The function convolves the source image with the specified...
分类:
其他好文 时间:
2015-08-31 23:48:13
阅读次数:
355
//n*m的果园 , 种一棵树,收获一个果实
//在一个格子施肥 , 其旁边的果树收获的·果实翻倍
//问最多能收获多少果实
//交叉种树 , 则为最大
#include
#include
#include
using namespace std ;
const int maxn = 110 ;
int map[maxn][maxn] ;
int dx[4] = {0 , 1 , 0 ,-1} ...
分类:
移动开发 时间:
2015-08-31 23:43:56
阅读次数:
176
题目链接:uva 11595 - Crossing Streets EXTREME
对初始平面进行切割,得到所有平面,然后处理出所有边,有公共边的两个平面之间可以到达,对于城市的权值可以加到点上,进出各加一次即可。
#include
#include
#include
#include
#include
#include
#include
using names...
分类:
其他好文 时间:
2015-08-31 23:43:05
阅读次数:
199
1. 编辑/etc/network/interfaces vim /etc/network/interfaces 2.将以下五项添加到/etc/network/interfaces中 Static declaration (using chosen above): iface inet static...
分类:
系统相关 时间:
2015-08-31 23:28:34
阅读次数:
250
DescriptionRain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 2 #include 3 #include 4 using namespace std; 5 #define N ....
分类:
其他好文 时间:
2015-08-31 23:14:10
阅读次数:
331
View@model 知识点.Models.Pig@{ Layout = null;}@using 知识点 Edit @* *@生成表单的方式 @using (Html.BeginForm("...
分类:
Web程序 时间:
2015-08-31 23:12:17
阅读次数:
170
(1)using System.Security.Cryptography; byte[] result = Encoding.Default.GetBytes(yps); //tbPass为输入密码的文本框 MD5 md5 = new MD5CryptoSe...
分类:
其他好文 时间:
2015-08-31 23:08:09
阅读次数:
166
Now in this article I will show how to do Create, Retrieve, Update and Delete (CRUD) operations in MVC4 using AngularJS and WCF REST Services.The foll...
分类:
Web程序 时间:
2015-08-31 23:04:37
阅读次数:
229