摘要:
Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(96)
评论(0)
推荐(0)
摘要:
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive intege... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(199)
评论(0)
推荐(0)
摘要:
Remove all elements from a linked list of integers that have valueval.ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 --... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(107)
评论(0)
推荐(0)
摘要:
Description:Count the number of prime numbers less than a non-negative number, n 提示晒数法:http://en.wikipedia.org/wiki/Sieve_of_Eratostheneshttps://p... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(123)
评论(0)
推荐(0)
摘要:
一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看: Basically OpenCV provides 2 methods to calculate a dense disparity map:cvFindStereoCorrespond... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(365)
评论(0)
推荐(0)
摘要:
就是几个动物,自动排列生成什么的class Animal(object): def __init__(self,name,weight): self.name = name self.weight = weight def eat(self): self.weight +=1 def spea... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(1380)
评论(0)
推荐(0)
摘要:
问题来源:http://bbs.csdn.net/topics/390998279?page=1#post-398983061 // Only_once.cpp : 定义控制台应用程序的入口点。////请参考>#include "StdAfx.h"#include #include usi... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(375)
评论(0)
推荐(0)
摘要:
话不多说,上代码: #include #include #include using namespace std;const int DO = 261;const int RE = 293;const int MI = 329;const int FA = 349;const int SO = 39... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(383)
评论(0)
推荐(0)
摘要:
今天听说很多同志们写毕业论文重复率过高的问题,大牛说用图片代替字就行了,我就想用OpenCV实现一下看看能不能搞,果不其然还是可以的!!!主要的难点在于普通格式的图片背景不透明,需要使用背景透明的png格式图片就行。 主要思想和步骤: 1.首先配置好FreeType与Ope... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(499)
评论(0)
推荐(0)
摘要:
转载请注明出处:http://blog.csdn.net/wangyaninglm/article/details/44151213,来自:shiter编写程序的艺术 1.绪论图切割算法是组合图论的经典算法之一。近年来,许多学者将其应用到图像和视频分割中,取得了很好的效果。本文简单介绍了图切算法和交... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(607)
评论(0)
推荐(0)
浙公网安备 33010602011771号