自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (2)
  • 收藏
  • 关注

原创 leetcode---Queue Reconstruction by Height

Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this p

2017-04-28 22:24:09 299

原创 leetcode---Fizz Buzz

Write a program that outputs the string representation of numbers from 1 to n.But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. For n

2017-04-26 21:33:10 372

转载 单纯形法

原博客: http://blog.csdn.net/zhoubin1992/article/details/46916429计算步骤: http://www.doc88.com/p-7495430586060.html http://www.docin.com/p-1260942683.html根据自己的理解加上了注释/*-----------------------------------

2017-04-20 21:51:24 1185

原创 leetcode---Arithmetic Slices

A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.For example, these are arithmetic sequence:1,

2017-04-19 21:15:47 394

原创 Essential Studio 14.0.2.0.26下载 & 注册机号

Essential Studio 14.0.2.0.26下载 http://www.pc0359.cn/downinfo/39642.html注册机号 打开以下链接: https://www.syncfusion.com/support/directtrac/myproducts点击“Unlokc key” 选择版本后,可以得到: 14.0.2.0.26: @31342e322e30dc

2017-04-17 11:33:27 1293 1

原创 leetcode---Third Maximum Number

Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n).Example 1: Input: [3, 2, 1]Outp

2017-04-15 15:13:00 494

转载 ArcGis + VS

https://wenku.baidu.com/view/e7e063c50408763231126edb6f1aff00bed57033.html

2017-04-14 14:54:16 1472

原创 leetcode---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 < 5100. Both num1 and num2 contains only digits 0-9. Both

2017-04-14 08:44:49 642

原创 粒子群算法

原理: http://www.cnblogs.com/hxsyl/p/4521778.html http://www.cnblogs.com/maybe2030/p/5043356.html代码参考: http://blog.csdn.net/breezedust/article/details/12378519#include "iostream"#include "time.h"usi

2017-04-12 22:13:32 631

原创 leetcode--- 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 element

2017-04-12 21:11:31 303

转载 蚁群算法

TSP问题要求: 1、路径限制:每个城市只能访问一次。 2、最后要回到出发的城市。 3、求得的路径为所有路径中最小的路径。原理: http://max.book118.com/html/2016/0421/40996215.shtm代码: http://blog.sina.com.cn/s/blog_6bb1b4b001016pt0.html//蚁群算法关于简单的TSP问题求解//#inc

2017-04-12 10:10:36 859

原创 leetcode---Pacific Atlantic Water Flow---dfs

Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the “Pacific ocean” touches the left and top edges of the matrix and the “Atlantic ocean” touche

2017-04-11 17:57:03 289

转载 模拟退火算法

转自: http://www.cnblogs.com/CsOH/p/6049117.html有 N ( <=20 ) 台 PC 放在机房内,现在要求由你选定一台 PC,用共 N-1 条网线从这台机器开始一台接一台地依次连接他们,最后接到哪个以及连接的顺序也是由你选定的,为了节省材料,网线都拉直。求最少需要一次性购买多长的网线。(说白了,就是找出 N 的一个排列 P1 P2 P3 ..PN 然后 P

2017-04-10 21:38:00 586

原创 leetcode---Reverse Vowels of a String

Write a function that takes a string as input and reverse only the vowels of a string.Example 1: Given s = “hello”, return “holle”.Example 2: Given s = “leetcode”, return “leotcede”.Note: The vowels

2017-04-10 13:54:34 540

原创 leetcode---Reconstruct Itinerary---dfs

Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of the tickets belong to a man who departs from JFK. Thus, the

2017-04-09 19:36:15 562

原创 leetcode---Odd Even Linked List

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes.You should try to do it in plac

2017-04-05 20:35:35 585

Rx_Net35_SP1

.Net 3.5 下使用 System.Threading.Tasks。安装后,在目录 C:\Program Files (x86)\Microsoft Reactive Extensions\Redist\DesktopV2 下找到 System.Threading.dll,添加引用即可

2019-03-13

简单的CNN示例代码,简单的CNN示例代码,

c++ 的简单的CNN示例代码。码。

2017-03-04

空空如也

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

TA关注的人

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