码迷,mamicode.com
首页 >  
搜索关键字:names    ( 11603个结果
BZOJ2527: [Poi2011]Meteors
补一发题解。。 整体二分这个东西,一开始感觉复杂度不是很靠谱的样子 问了po姐姐,说套主定理硬干。。 1 #include<bits/stdc++.h> 2 #define ll long long 3 #define inf 1e9 4 #define N 300005 5 using names ...
分类:其他好文   时间:2016-06-25 19:08:25    阅读次数:182
my first bash coding
我觉得linux脚本批处理的特性实在太棒了,改文件名就是一例。 #!/bin/bash # change all the names of the sub-folders. for((i=1;i<=5;i=i+1)) do cd /home/sophie/temp aa=$(ls | grep "$ ...
分类:其他好文   时间:2016-06-25 06:12:02    阅读次数:146
Meanshift filter实现简单图片的卡通化效果
利用Meanshift filter和canny边缘检测的效果,可以实现简单的图片的卡通化效果。简单的说,就是用Meanshift filter的结果减去canny算法的结果得到卡通化的效果。 代码如下: #include #include #include #include using names... ...
分类:其他好文   时间:2016-06-24 20:32:01    阅读次数:466
Nginx防盗链
Nginx配置文件 参数说明 none“Referer” 来源头部为空的情况blocked“Referer”来源头部不为空,但是里面的值被代理或者防火墙删除了,这些值都不以http://或者https://开头.server_names“Referer”来源头部包含当前的server_names(当 ...
分类:其他好文   时间:2016-06-23 07:44:07    阅读次数:146
Mysql不乱码思维流程
>不乱码思维流程(1)Linux#修改linux系统字符集#vi/etc/sysconfig/i18nLANG="zh_CN.UTF-8"(2)Mysql#临时设置字符集(方法一)mysql>setnamesutf8;#临时设置字符集(方法二)#mysql-uroot-p--default-character-set=utf8#永久设置字符集#vi/etc/my.cnf[client]{client..
分类:数据库   时间:2016-06-21 21:07:25    阅读次数:234
Mysql不乱码思维流程
>不乱码思维流程(1)Linux#修改linux系统字符集#vi/etc/sysconfig/i18nLANG="zh_CN.UTF-8"(2)Mysql#临时设置字符集(方法一)mysql>setnamesutf8;#临时设置字符集(方法二)#mysql-uroot-p--default-character-set=utf8#永久设置字符集#vi/etc/my.cnf[client]{client..
分类:数据库   时间:2016-06-21 21:06:26    阅读次数:239
ado删除
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; names ...
分类:其他好文   时间:2016-06-21 19:05:57    阅读次数:121
ado添加
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; names ...
分类:其他好文   时间:2016-06-21 19:04:36    阅读次数:126
ado修改
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; names ...
分类:其他好文   时间:2016-06-21 19:02:03    阅读次数:146
[bzoj4292] [PA2015]Równanie
枚举f(n)...检验一下f(f(n)*k)是否等于枚举的值。 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #include<algorithm> 5 #define ll long long 6 using names ...
分类:其他好文   时间:2016-06-18 18:33:59    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!