- 博客(10)
- 收藏
- 关注
原创 HDU 5777 domino 贪心
思路~ 注意1.多米诺骨牌高度至少为1 2.能推倒另一块骨牌高度至少比路径多1(骨牌高度为整数) 排下序,前k-1次推倒k-1个最高的,高度为k-1。最后一次推倒剩余n-(k-1)个,高度为距离和+n-(k-1),设距离和为sum,即sum+n-(k-1)。 总高度 k-1+ sum+n-(k-1) => sum+n注意
2016-07-31 15:00:21 320
原创 HDU 5776 sum (数组前缀和+取模)
sumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 588 Accepted Submission(s): 286Problem DescriptionGiven a sequence, you'
2016-07-31 12:54:03 1239
转载 十分钟理解树状数组
引用请注明出处:http://blog.csdn.net/int64ago/article/details/7429868 写下这个标题,其实心里还是没底的,与其说是写博帖,不如说是做总结。第一个接触树状数组还是两年前,用什么语言来形容当时的感觉呢?……太神奇了!真的,无法表达出那种感觉,她是那么的优雅,10行不到的代码,却把事情干的如此出色!没有了解她原理的前提下即使把代码
2016-07-28 19:00:44 371
转载 《挑战编程:程序设计竞赛训练手册》
PC = Programming Challenges (http://www.programming-challenges.com/)UVa = University of Valladolid Online Judge(http://uva.onlinejudge.org/)《挑战编程:程序设计竞赛训练手册》PDF下载地址(英文版):http://acm.cs.buap.mx/do
2016-07-28 15:06:27 2640
原创 Cow Bowling
Cow BowlingTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluDescription The cows don’t use actual bowling balls when they go bowling. They each take a number (in the range 0..
2016-07-27 20:01:35 397 1
原创 Cow Bowling 数字三角形 初步动态规划
Cow BowlingTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmitStatusPracticePOJ 3176DescriptionThe cows don't use actual bowling balls when they go bowling.
2016-07-27 19:53:00 485
原创 POJ 2253 Frogger
FroggerTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 36805Accepted: 11828DescriptionFreddy Frog is sitting on a stone in the midd
2016-07-27 19:48:43 225
原创 jrMz and angles 暴力
jrMz and anglesTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionjrMz has two types of angles, one type of angle is an interior angle of
2016-07-23 14:46:52 487
原创 苹果笔记本电脑运行win系统时温度过高解决办法
如果大家用的是MacBook Pro系列的笔记本电脑,特别是在Win系统下,一定都会遇到温度过高的问题吧,特别是在运行网络游戏、AE、AutoCAD等大软件时,这个问题尤为突出。但如果在很多搜索网站搜索这个问题,大部分的回答是“温度在**度以下很正常,不影响使用”(个人感觉是扯淡,温度都那么高了,不影响正常使用?不是扯淡是什么。);还有的说“苹果电脑运行Win系统就是这样”(我感觉苹果电脑的用户体
2016-07-20 13:10:07 14278 1
原创 Abandoned country
Abandoned countryTime Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3006 Accepted Submission(s): 346Problem DescriptionAn abandone
2016-07-20 12:52:42 290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人