下面的例子以灰度图像为例:#include #include #include using
namespace cv;void sharpen(const cv::Mat& img_original, cv::Mat&
img_altered); void sharpen2D(const cv...
分类:
其他好文 时间:
2014-05-26 07:51:53
阅读次数:
283
日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。
问题 F: Graph
时间限制: 1 Sec 内存限制: 128 MB
提交: 30 解决: 5
[提交][状态][论坛]
题目描述
Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:
其他好文 时间:
2014-05-26 05:29:16
阅读次数:
389
Problem Description
Today is Yukari's n-th birthday. Ran and Chen hold a celebration party for her. Now comes the most important part, birthday cake! But it's a big challenge for them to place n ca...
分类:
其他好文 时间:
2014-05-26 04:38:35
阅读次数:
239
题目一:
Given a binary tree containing digits from 0-9 only, each root-to-leaf
path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Fin...
分类:
其他好文 时间:
2014-05-26 04:06:41
阅读次数:
248
-好软件的定义就是它的体积不大不小,功能不多不少,一切都是那么的恰到好处。 -Good
software is neither too big nor too small,neither too Complex nor too
Simple,everything is so right. +点击.....
分类:
其他好文 时间:
2014-05-26 00:54:15
阅读次数:
254
Pick applesTime Limit: 1000MS Memory limit:
165536K题目描写叙述Once ago, there is a mystery yard which only produces three kinds
of apples. The number of ea...
分类:
移动开发 时间:
2014-05-26 00:24:52
阅读次数:
443
题目链接:点击打开链接
题意:有两种操作,合并集合,查询第K大集合的元素个数。(总操作次数为2*10^5)
Treap模板(静态数组)
#include
#include
#include
#include
#include
const int maxNode = 500000 + 100;
const int inf = 0x3f3f3f3f;
struct Tr...
分类:
其他好文 时间:
2014-05-24 23:18:09
阅读次数:
522
It seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 1987 with only distinct digits.
Now you are suggested to solve the f...
分类:
其他好文 时间:
2014-05-24 21:52:34
阅读次数:
320
点击打开链接
题意:
集合S支持一下四种操作:
INSERT(S,x) : 如果S中没有x,则插入x
DELETE(S,x): 如果S中有x,则删除x
K-TH(S): 输出S中第K小的数
COUNT(S,x): 统计S中小于x的数有多少个
一共有Q(1 ≤ Q ≤ 200000)次操作。
Treap模板。。
#i...
分类:
其他好文 时间:
2014-05-24 18:03:11
阅读次数:
213
ROI的用法:1、直接相加;2、掩码法#include #include #include
int main(){ cv::Mat img_original = cv::imread("F:\\images\\boldt.jpg"); cv::Mat
logo = cv::im...
分类:
其他好文 时间:
2014-05-24 09:09:36
阅读次数:
264