题目链接Polya计数入门题10294 Arif in Dhaka (First Love Part 2)Our hero Arif is now in Dhaka (Look at problem 10244 – First Love if you want to know more about
Arif, but that information is not necessary for th...
分类:
其他好文 时间:
2015-05-06 17:43:31
阅读次数:
135
http://acm.hdu.edu.cn/showproblem.php?pid=2296
Problem Description
For the hope of a forever love, Steven is planning to send a ring to Jane with a romantic string engraved on. The string's le...
分类:
其他好文 时间:
2015-05-04 15:37:13
阅读次数:
212
plist处理: NSArray *apps = @[ @{@"name":@"敌法师", @"icon":@"http://dotadb.uuu9.com/UploadFiles/Dota/Hero/dfss.jpg"}, @{@"name":@"火枪", @"icon":@"http://dot...
分类:
其他好文 时间:
2015-04-27 01:58:33
阅读次数:
129
Get Luffy OutTime Limit:2000MSMemory Limit:65536KTotal Submissions:7758Accepted:2969DescriptionRatish is a young man who always dreams of being a hero...
分类:
其他好文 时间:
2015-04-19 21:04:53
阅读次数:
152
题意:Now tell you two nonnegative integer a and b. Find the nonnegative integer X and integer Y to satisfy X*a + Y*b = 1.
而且要满足X是通解中最小的。
注意X可以取0就可以了
//31MS 1808K 761 B G++
#include
#include
#include
...
分类:
其他好文 时间:
2015-04-02 09:13:28
阅读次数:
143
论文写完,感觉头脑好久没被灵感刺激了,前些天室友介绍了个小游戏,我突然来了灵感可以写的简单的android 程序实现自动运行。主要的过会为三步:1,Android 屏幕的获取。因为安全的原因,过程比较麻烦,我目前采用的是开启用户调试模式,利用adb脚本反复循环截图。2,图像分析。这部分代码中有体.....
分类:
移动开发 时间:
2015-03-30 13:06:02
阅读次数:
211
点击打开链接
Romantic Value
Time Limit: 2 Seconds Memory Limit: 65536 KB
Farmer John is a diligent man. He spent a lot of time building roads between his farms. From his point of view, eve...
分类:
其他好文 时间:
2015-03-21 14:04:52
阅读次数:
140
//白底不贴,遍历像素时,若为白色,则忽略,否则将像素值复制到背景上//因为目标图片中可能含有白色点,并且对抠出的图片要求挺高的不然就会出现第二幅图的效果,所以这种方式局限性较大。
Mat hero = imread("2.jpg");
for (int i = 0; i < hero.rows; i++)
{
for (int j = 0; j < hero.cols; j++...
分类:
其他好文 时间:
2015-03-11 01:56:35
阅读次数:
844
Problem Description
For the hope of a forever love, Steven is planning to send a ring to Jane with a romantic string engraved on. The string’s length should not exceed N. The careful Steven knows Jane...
分类:
其他好文 时间:
2015-03-04 16:59:08
阅读次数:
194