码迷,mamicode.com
首页 >  
搜索关键字:hdu1219 ac me    ( 16537个结果
PCRE安装
最近在学习nginx,nginx rewrite依赖于PCRE库,所以需要在linux系统中编译安装PCRE库。具体步骤如下:1.下载PCRE包首先去官网下载pcre的安装包如果通过FTP的方式,下载地址为:ftp://ftp.csx.cam.ac.uk/pub/software/programmi...
分类:其他好文   时间:2014-08-25 21:03:34    阅读次数:591
cheap ghd straighteners to ladies with shorter hair tar
A person decide cheap ghd straighteners to ladies with shorter hair tar and feather me for stating my Belief on this matter, Ok, i'll offer a catch: A...
分类:其他好文   时间:2014-08-25 14:45:44    阅读次数:249
HDU-1228-A + B
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1228题目不难,就不解释了我的AC代码#include#includeint main(void){ int a,b,k; char s[20]; a=0; b=0; whil...
分类:其他好文   时间:2014-08-25 14:42:14    阅读次数:196
dede时间格试,dede时间标签
dede的日期时间格式[field:pubdate function='strftime("时间",@me'/]这个是固定格式,(利用strftime()函数格式化时间),因些只需将时间换成是时间对应的格式即可,可以参考最下面的字母所对应的时间格式dede常用时间格式及时间调用标签[field:pu...
分类:其他好文   时间:2014-08-25 13:06:14    阅读次数:157
Ubuntu 下 mysql 卸载后重安装时遇到的问题
卸载mysql报错解决方法1dpkg:errorprocessingmysql-server(--configure):dependencyproblems-leavingunconfiguredstart:Jobfailedtostartinvoke-rc.d:initscriptmysql,ac...
分类:数据库   时间:2014-08-25 01:09:33    阅读次数:314
uva 1400 - "Ray, Pass me the dishes!"(线段树)
题目链接:uva 1400 - "Ray, Pass me the dishes!" 题目大意:给定一个长度为n个整数序列,对m次询问作出回答,对于每次询问(a,b),找到两个下标x,y使得x到y的连续和为区间a,b中最大的连续和,如果存在多解优先x小,然后y小。 解题思路:线段树,对于每个节点维护三个线段值: max_sub:区间连续最大和max_prefix:区间连续前缀最大...
分类:其他好文   时间:2014-08-24 23:52:43    阅读次数:405
hdu 1003 Max Sum 简单动态规划
很间的动态规划但ac率低于四分之一了,状态转移方程: dp[i]=max(dp[i-1]+a[i],a[i])注意几点: case 之间有空格 输入的最小负数为-1000 有多组答案找出第一个的意思是,从头便利,得到第一个最大的和就输出被,然后break; /*****************************************************************...
分类:其他好文   时间:2014-08-24 22:20:43    阅读次数:189
HDU-1029-Ignatius and the Princess IV
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1029这题就是一个大水题但应注意读懂题目意思这里不解释了我的AC代码#include#includeint hash[1000000];int main(void){ int n,i,a; wh...
分类:其他好文   时间:2014-08-24 20:41:02    阅读次数:172
latex的资料ftp
ftp://ftp.tex.ac.uk/ctan/tex-archive/ftp ftp.tex.ac.ukanonymousls
分类:其他好文   时间:2014-08-24 19:15:02    阅读次数:117
利用Quztrz2D制作带白色边框的QQ头像
- (void)circleHeadPortrait{ // 1.加载原图 UIImage *oldImage = [UIImage imageNamed:@"me"]; // 2.开启一个和图片一样大小的上下文,也就是开启一个新的图片,新图片大小和原图片一致 UIGraphicsBeginIma....
分类:其他好文   时间:2014-08-24 17:59:22    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!