自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (4)
  • 收藏
  • 关注

原创 36. Valid Sudoku

Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partially fille

2017-06-27 10:36:31 225

原创 416. Partition Equal Subset Sum

Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal.Note:Each of the array

2017-06-25 12:03:22 199

原创 华为笔试最高分代码问题

题目就不赘述了,下面贴出来两个代码,一个代码ac 10%,另一个则是100%int main(){    int N,M;    while(cin>>N>>M){        vector stu(N);        int a,b;char c;        for(int i=0;i>stu[i];        for(int j=0;j<M;++j){    

2017-06-23 16:37:59 897

原创 304. Range Sum Query 2D - Immutable

Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2).The above rectangle (with the red bo

2017-06-22 11:29:00 192

原创 125. Valid Palindrome

Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a

2017-06-22 11:03:01 194

原创 慢慢学 动态规划

多做几道题来理解动态规划吧。毕竟代码写出来才能算是真正理解了。A、leetcode 198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only c

2017-06-21 09:51:09 308

原创 40. Combination Sum II

Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each number in C may only be used once in the combina

2017-06-20 11:17:31 199

原创 190. Reverse Bits

Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 001110010

2017-06-19 10:04:05 221

原创 374. Guess Number Higher or Lower

We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Every time you guess wrong, I'll tell you whether the number is h

2017-06-16 11:46:04 221

原创 112. Path Sum

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below binary tree and sum

2017-06-09 16:01:50 199

原创 371. Sum of Two Integers

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.预备知识:整数在计算机中的表示方法(信息存储):有符号数:既包括正数负数零;计算机中表示有

2017-06-09 15:05:42 179

原创 257. Binary Tree Paths

Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->2->5", "1->3"]class S

2017-06-08 09:50:00 203

转载 unix网络编程 环境搭建 环境配置

转自:http://blog.csdn.net/zone_programming/article/details/51050726遇到跟这篇博客一模一样的问题,但是搜索时并没有出现在首页,于是转载并重新起了个题目。学习unp网络编程,树上的例子均存在#include "unp.h",故需要对环境进行配置。1. 到资源页下载unpv13e 2. 解压并将unpv13e

2017-06-07 15:20:43 895

原创 101. Symmetric Tree

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \3 4 4 3

2017-06-07 10:12:48 234

原创 167. Two Sum II - Input array is sorted

Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two number

2017-06-06 09:52:28 209

原创 169. Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element

2017-06-05 10:12:38 182

原创 242. Valid Anagram

Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t = "car", return false.Note:You may ass

2017-06-02 09:53:31 175

原创 136. Single Number

Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using ext

2017-06-02 09:37:52 165

原创 415. Add Strings

Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2.Note:The length of both num1 and num2 is Both num1 and num2 contains only digits 0-

2017-06-01 16:19:31 163

原创 459. Repeated Substring Pattern

Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may assume the given string consists of lowercase Eng

2017-06-01 10:34:48 255

圆拟合, 最小二乘法, IRLS 权重迭代

使用权重迭代的最小二乘拟合圆 需要自己根据实际,调整下权重函数的计算。 其他的应该不需要调整 ------------ 24/1/5 之前的代码中计算函数时,排序改变了对应值的权重,因此看不出IRLS的效果。 现在修改后,重新上传。

2023-12-21

Iterative Reweighted Least Squares

权重迭代最小二乘法 Iterative Reweighted Least Squares

2023-12-20

CUDA C++ Programming Guide

CUDA C++ Programming Guide Release 12.3 CUDA 编程指南

2023-12-19

基于openCv卡尺工具Demo

提取精度目前没有验证,提取到算法是否可靠需要验证 根据《机器视觉算法与应用》实现的Demo

2023-10-09

linemod + icp + subpixel

https://github.com/meiqua/shape_based_matching 开源代码阅读过程中,相关算法流程涉及到的论文,便于理解代码实现

2023-06-20

Wireshark-win64-3.4.0.exe

20201031官网下载的win64安装程序,帮助学习网络协议。 Wireshark是世界上最广泛使用的网络协议分析器。它使您可以从微观角度查看网络中发生的事情

2020-10-31

Opencv4.10.zip

opencv源码4.10, 开源计算机视觉库OpenCV的最新4.10版本的源代码包,由于官网下载速度较慢,特此提供高速下载资源。

2019-09-16

IPP使用手册,intel

Intel IPP库所包含函数的使用说明.  Intel® Integrated Performance Primitives (Intel® IPP) is an extensive library of ready-to-use, domain-specific functions that are highly optimized for diverse Intel® architectures.

2016-07-11

DOG高斯差分

matlab实现的高斯差分滤波,DoG滤波

2016-07-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除