- 浏览: 225778 次
- 性别:
- 来自: 广州
-
最新评论
-
higkoo:
Keepalived在Reload的时候都会提示:Jan 24 ...
open 创建文件并读写的错误--bad file descriptor -
panyanyany:
iminto 写道你忽悠人呢。。。 serial, 明明是po ...
通过 Zend_Db 向 mysql 写入 null 值的问题 -
iminto:
你忽悠人呢。。。 serial, 明明是postgre SQL ...
通过 Zend_Db 向 mysql 写入 null 值的问题 -
基德KID.1412:
y神写得如此的美啊,太特么好勒!特此顶上! ----KIDx
杭电 hdu 1394 Minimum Inversion Number 【线段树 + 详细注释 + 有难度】 -
基德KID.1412:
顶y哥!
【最短路+bfs+剪枝】杭电 hdu 2433 Travel
文章列表
第二次
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=2066
Name : 2066 一个人的旅行
Date : Friday, August 19, 2011
Time St ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=2896
Name : 2896 病毒侵袭
Date : Friday, August 19, 2011
Time Stage : o ...
第二次
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1277
Name : hdu 1277 ( 全文检索 )
Date : Friday, August ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1175
Name : 1175 连连看
Date : Wednesday, August 17, 2011
Time Stage ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=2717
Name : 2717 Catch That Cow
Date :Sunday, August 14, 2011
Time Stage ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1312
Name : 1312 Red and Black
Date :Sunday, August 14, 2011
Time Stage ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1241
Name : 1241 Oil Deposits
Date :Sunday, August 14, 2011
Time Stage : ...
这题有点意思……
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1045
Name : 1045 Fire Net
Date :Saturday, August 13, 2011
Ti ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=2614
Name : 2614 Beat
Date : Saturday, August 13, 2011
Time Stage : 1 ho ...
好吧,没什么难度的,只是要注意那个 ‘0’ 的判断我用了控制台函数……这个不会的可以去查资料,百度之,谷歌之……
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=2181
Name : 2181 哈密顿 ...
嘿嘿,一次AC……哦耶~~~
总得来说不算是难题,不过在处理坐标的时候出了问题,呃,这个代码中会有略微提到,因为比较简单,就不多说了,相信通过自己测试数据,也能理解的。
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproble ...
简单的搜索题,用递归
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1016
Name : 1016 Prime Ring Problem
Date : Wednesday, August ...
此题是二维的背包问题,不会的请先看《背包九讲》(虽然我也没看明白,但还是值得一看),这里再说一句,学算法最好是拿例题来实践,而实践最好是要有大量测试数据,
能过测试数据能够很明确地找出自己的错误来,并且能使人对算法的处理过程有个很明朗的了解。希望各大OJ网站能够高抬贵手,像USCAOG 一样将后台测试数据展现出来,帮助更多在错误中死去活来的 acmer 们走出迷途!
/* THE PROGRAM IS MADE BY PYY */
/*---------------------------------------------------------------------------- ...
这题我也做得很糊涂,主要是没有太多测试数据,哪里错了,怎么错了都不清楚,只能是自己抽象地想像一下它的原理啊什么的,参观一下别人的代码,然后摸着那种若有若无的原理慢慢走……好想有测试数据啊!!!
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn ...
/* THE PROGRAM IS MADE BY PYY */
/*----------------------------------------------------------------------------//
Copyright (c) 2011 panyanyany All rights reserved.
URL : http://acm.hdu.edu.cn/showproblem.php?pid=1277
Name : hdu 1277 ( 全文检索 )
Date :
Time Stage :
...