Problem Description:Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in th...
分类:
其他好文 时间:
2014-07-07 16:20:26
阅读次数:
216
一 图像分割之阈值分割: 请参见halcon例程:gray_histo.hdev 此例程中主要用到两个算了: 1.gray_histo(Regions,Image:::AbsoluteHisto,RelativeHisto) 作用:获得图像的某一指定区域内的灰度分布,将数据写入到参数Abs...
分类:
其他好文 时间:
2014-07-07 08:45:54
阅读次数:
235
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-07-06 16:10:55
阅读次数:
138
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-06-30 15:03:43
阅读次数:
209
题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1147
题意:一个10000*10000的矩阵,初始颜色都为1,然后最多2500次涂色,每次涂色将一个矩形的面积涂成某个特定颜色,问涂完之后每种颜色最终的面积。
解法:
代码:/*********************************************...
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-06-28 18:03:06
阅读次数:
238
【题目】
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's in that surrounded region.
For example,
X X X X
X O O X
X X O X
X O X X
After running your function, the board shou...
分类:
其他好文 时间:
2014-06-25 08:02:30
阅读次数:
205
意外发现的文章,等忙完这阵子,准备全都翻译出来!
==============================================
原作者文章链接:http://www.homolog.us/blogs/blog/2011/08/09/de-bruijn-graphs-for-alter...
分类:
其他好文 时间:
2014-05-23 09:15:40
阅读次数:
303
1、
??
Surrounded Regions
Given a 2D board containing 'X' and 'O',
capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's
in that surrounded region.
For e...
分类:
其他好文 时间:
2014-05-11 18:52:32
阅读次数:
293
1.在AndroidSDKToolr19之后,Export的时候遇到xxxisnottranslatedinyyy,zzz的问题。例如说"auto_exit"isnottranslatedinzh,zh_CN.这是因为AndroidSDKTool將ANDROID_LINT_COMPLETE_REGIONS改为了需要检查。临时解决方法:Eclipse>Preference>Android>LintErrorChecking..
分类:
系统相关 时间:
2014-05-06 20:12:38
阅读次数:
479