钥匙是必须有序,蛇是不要求有序的。所以一个需要状压一个不用
因为时间计算和步数计算不同。所以要遍历整个空间,或者使用优先队列。优先时间短的。
风格就这样了.
#include
#include
#include
#include
#include
#define inf 0x3f3f3f3f
#define maxn 110
using namespace std;
int N,M...
分类:
其他好文 时间:
2014-12-03 23:33:49
阅读次数:
437
Problem DescriptionAlthough winter is far away, squirrels have to work day and night to save beans. They need plenty of food to get through those long...
分类:
其他好文 时间:
2014-11-16 17:09:54
阅读次数:
139
计算几何+SPFA我已经不想看我的提交记录了。。。。HDU 我起码WA了2页。。。。都是浮点数惹的祸。const double eps=1e-4;abs(a-b)#include#include#include#include#include#include#include#includeusing...
分类:
其他好文 时间:
2014-11-12 17:49:36
阅读次数:
255
可以阅读官方文档:http://developer.android.com/reference/android/app/Dialog.html其中有一段:Note: Activities provide a facility to manage the creation, saving and re...
Saving PrincessTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onZJU. Original ID:336964-bit integer IO format:%lld Java class name...
分类:
其他好文 时间:
2014-11-08 21:59:23
阅读次数:
249
In most cases you will need root permission to be able to capture packets on an interface. Using tcpdump (with root) to capture the packets and saving...
分类:
其他好文 时间:
2014-11-03 14:29:58
阅读次数:
355
Loops are an important labor-saving device commonly used in Programming Languages. When you need the same code repeated several times, typing it all o...
分类:
其他好文 时间:
2014-10-28 15:23:56
阅读次数:
199
Saving Tang MonkTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 941Accepted Submission(s): 352Prob...
分类:
其他好文 时间:
2014-10-26 20:59:46
阅读次数:
284
Saving Tang Monk
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 941 Accepted Submission(s): 352
Problem Description
《Journey to t...
分类:
其他好文 时间:
2014-10-21 23:15:29
阅读次数:
391
2013-04-23 13:29:04| 分类: 默认分类 |举报|字号 订阅编写ios 编程--使用代码创建新的相册,是参考http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-f....
分类:
移动开发 时间:
2014-10-20 11:33:25
阅读次数:
296