自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

EbowTang的练习场

1,新手需要努力,高手更需要努力。2,性格大于能力。3,解决问题的能力决定未来。

  • 博客(280)
  • 资源 (7)
  • 收藏
  • 关注

原创 <九度 OJ>题目1545:奇怪的连通图

题目描述:已知一个无向带权图,求最小整数k。使仅使用权值小于等于k的边,节点1可以与节点n连通。输入:输入包含多组测试用例,每组测试用例的开头为一个整数n(1 接下去m行,描述图上边的信息,包括三个整数,a(1 输出:输出为一个整数k,若找不到一个整数满足条件,则输出-1。样例输入:3 31 3 51

2016-01-18 15:27:09 1360

原创 <LeetCode OJ> 123. / 188. Best Time to Buy and Sell Stock (III / IV)

123. Best Time to Buy and Sell Stock IIIMy SubmissionsQuestionTotal Accepted: 49478 Total Submissions: 195107 Difficulty: HardSay you have an array for which the ith element is

2016-01-17 17:32:30 1730

原创 <LeetCode OJ> 206. Reverse Linked List

206. Reverse Linked ListMy SubmissionsQuestionTotal Accepted: 74536 Total Submissions: 200484 Difficulty: EasyReverse a singly linked list.click to show more hints.Hint:A

2016-01-17 14:47:18 1896

原创 <LeetCode OJ> 234. Palindrome Linked List

234. Palindrome Linked ListMy SubmissionsQuestionTotal Accepted: 33856 Total Submissions: 129644 Difficulty: EasyGiven a singly linked list, determine if it is a palindrome.F

2016-01-17 12:18:33 1220

原创 <九度 OJ>题目1112:拦截导弹

题目描述:某国为了防御敌国的导弹袭击,开发出一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能高于前一发的高度。某天,雷达捕捉到敌国的导弹来袭,并观测到导弹依次飞来的高度,请计算这套系统最多能拦截多少导弹。拦截来袭导弹时,必须按来袭导弹袭击的时间顺序,不允许先拦截后面的导弹,再拦截前面的导弹。 输入:每组

2016-01-16 14:53:26 3434

原创 <LeetCode OJ> 75. Sort Color

题目翻译:给定一个具有N个元素的数组,且数组只存在三种值0,1,2,分别代表红色,白色或蓝色。现在对其排序,使得相同颜色的物体是相邻的,要求顺序为红、白、蓝。提醒你是不是想利用图书馆的排序解决这个问题。更进一步:一个相当简单的解决方案是使用计数排序算法。首先,迭代数组统计0的,1的,2的个数,然后将0覆盖指定个数的到数组,然后1,其次是2。你能想出一个一

2016-01-15 22:02:59 1196

原创 <LeetCode OJ> 121. /122. Best Time to Buy and Sell Stock(I / II)

121. Best Time to Buy and Sell StockMy SubmissionsQuestionTotal Accepted: 81473 Total Submissions: 234230 Difficulty: MediumSay you have an array for which the ith element is t

2016-01-15 16:12:35 2146

原创 <LeetCode OJ> 69 / 367 Sqrt(x) / Valid Perfect Square

69. Sqrt(x)My SubmissionsQuestionTotal Accepted: 79525 Total Submissions: 325488 Difficulty: MediumImplement int sqrt(int x).Compute and return the square root of x.Sub

2016-01-14 22:23:44 1561

原创 <九度 OJ>题目1028:继续畅通工程

题目描述:    省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。现得到城镇道路统计表,表中列出了任意两城镇间修建道路的费用,以及该道路是否已经修通的状态。现请你编写程序,计算出全省畅通需要的最低成本。输入:    测试输入包含若干测试用例。每个测试用例的第1行给出村庄数目N ( 1    当N为

2016-01-14 15:16:54 1397 1

原创 <九度 OJ>题目1061:成绩排序(多关键字排序)

题目描述:    有N个学生的数据,将学生数据按成绩高低排序,如果成绩相同则按姓名字符的字母序排序,如果姓名的字母序也相同则按照学生的年龄排序,并输出N个学生排序后的信息。输入:    测试数据有多组,每组输入第一行有一个整数N(N    每个学生的数据包括姓名(长度不超过100的字符串)、年龄(整形数)、成绩(小于等于100的正数)。输出:

2016-01-14 10:00:13 4082 3

原创 <九度 OJ>题目1012:畅通工程

题目描述:    某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?输入:    测试输入包含若干测试用例。每个测试用例的第1行给出两个正整数,分别是城镇数目N (     注意:两个城市之

2016-01-14 09:49:21 1733 1

原创 <LeetCode OJ> 179. Largest Number

179. Largest NumberMy SubmissionsQuestionTotal Accepted: 37152 Total Submissions: 208760 Difficulty: MediumGiven a list of non negative integers, arrange them such that they fo

2016-01-13 16:40:00 1242

原创 <LeetCode OJ> 141 / 142 Linked List Cycle(I / II)

141. Linked List CycleMy SubmissionsQuestionTotal Accepted: 88665 Total Submissions: 241622 Difficulty: MediumGiven a linked list, determine if it has a cycle in it.Follow up

2016-01-12 22:07:05 2799

原创 <LeetCode OJ> 26 / 80 Remove Duplicates from Sorted Array(I / II)

26. Remove Duplicates from Sorted ArrayMy SubmissionsQuestionTotal Accepted: 104150 Total Submissions: 322188 Difficulty: EasyGiven a sorted array, remove the duplicates in pla

2016-01-11 21:31:52 1972

原创 <LeetCode OJ> 58. Length of Last Word

58. Length of Last WordMy SubmissionsQuestionTotal Accepted: 78112 Total Submissions: 275441 Difficulty: EasyGiven a string s consists of upper/lower-case alphabets and empty s

2016-01-11 19:00:37 1186

原创 <LeetCode OJ> 112/113. Path Sum(I / II)

112. Path SumMy SubmissionsQuestionTotal Accepted: 85016 Total Submissions: 278387 Difficulty: EasyGiven a binary tree and a sum, determine if the tree has a root-to-leaf path

2016-01-11 11:31:55 1025

原创 <LeetCode OJ> 257. Binary Tree Paths

257. Binary Tree PathsMy SubmissionsQuestionTotal Accepted: 29282 Total Submissions: 113527 Difficulty: EasyGiven a binary tree, return all root-to-leaf paths.For example, gi

2016-01-10 21:43:57 2189

原创 <LeetCode OJ> 242. Valid Anagram

242. Valid AnagramMy SubmissionsQuestionTotal Accepted: 49981 Total Submissions: 125435 Difficulty: Easy给定两个字符串s和t,写一个函数判断是否t是通过移位得到的sGiven two strings s and t, write a functio

2016-01-10 19:42:18 1574

原创 <LeetCode OJ> 3. Longest Substring Without Repeating Characters

219. Contains Duplicate IIMy SubmissionsQuestionTotal Accepted: 40529 Total Submissions: 142658 Difficulty: Easy有一个数组和一个整数,如果数组中两个相同的元素(分别在数组中i和j的位置),如果判断是否|i-j|Given an array

2016-01-09 22:49:26 1169

原创 <LeetCode OJ> 47/46 Permutations (II / I)

47. Permutations IIMy SubmissionsQuestionTotal Accepted: 57990 Total Submissions: 215694 Difficulty: MediumGiven a collection of numbers that might contain duplicates, return a

2016-01-09 21:03:16 1504

原创 <LeetCode OJ> 2. Add Two Numbers

2. Add Two NumbersMy SubmissionsQuestionTotal Accepted: 119449 Total Submissions: 539866 Difficulty: MediumYou are given two linked lists representing two non-negative numbers.

2016-01-09 16:38:21 1205

原创 <LeetCode OJ> 326. Power of Three

326. Power of ThreeMy SubmissionsQuestionTotal Accepted: 1159 Total Submissions: 3275 Difficulty: Easy判断给定整数是否是3的某次方。Given an integer, write a function to determine if it is a

2016-01-08 22:44:49 11508 4

原创 <LeetCode OJ> 62. / 63. Unique Paths(I / II)

63. Unique Paths IIMy SubmissionsQuestionTotal Accepted: 55136 Total Submissions: 191949 Difficulty: MediumFollow up for "Unique Paths":紧接着上一题“唯一路劲”,现在考虑有一些障碍在网格中,无法到达,请重新计算到达目

2016-01-08 22:05:28 2481

原创 <九度 OJ>题目1526:朋友圈

题目描述:假如已知有n个人和m对好友关系(存于数字r)。如果两个人是直接或间接的好友(好友的好友的好友...),则认为他们属于同一个朋友圈,请写程序求出这n个人里一共有多少个朋友圈。Total Accepted: 72806 Total Submissions: 209143 Difficulty: Medium一个机器人定位在m行n列的网格中的最左上角,定义它为“开始”位置,这个机器人可以移动,每次要么往下移动一步,要么往右移动一步,为了能达到终点,有

2016-01-08 16:48:47 1343

原创 <LeetCode OJ> 83. Remove Duplicates from Sorted List

83. Remove Duplicates from Sorted ListMy SubmissionsQuestionTotal Accepted: 94387 Total Submissions: 264227 Difficulty: Easy题目意思:现在有一个已经排好顺序的链表,删除所有重复的节点,使每个节点都只出现一次!Given a

2016-01-08 15:28:25 1317

原创 <LeetCode OJ> 28. Implement strStr()

28. Implement strStr()My SubmissionsQuestionTotal Accepted: 85665 Total Submissions: 360485 Difficulty: EasyImplement strStr().题目意思:找到needle字符串在haystack字符串中第一次出现的下标,返回即可。Re

2016-01-08 09:31:17 1198

原创 数字图像处理,基于小波变换的图像对比度增强算法

小波变换下的图像对比度增强技术实质上是通过小波变换把图像信号分解成不同子带,针对不同子带应用不同的算法来增强不同频率范围内的图像分量,突出不同尺度下的近似和细节,从而达到增强图像层次感的目的。       根据小波的多分辨率分析原理将图像进行多级二维离散小波变换,可以将图像分解成图像近似信号的低频子带和图像细节信号的高频子带。其中,图像中大部分的噪声和一些边缘细节都属于高频子带,而低频

2016-01-07 17:20:43 27337 4

原创 <LeetCode OJ> 171 / 168 Excel Sheet Column Number & Title

171. Excel Sheet Column NumberMy SubmissionsQuestionTotal Accepted: 58671 Total Submissions: 148687 Difficulty: EasyRelated to question Excel Sheet Column TitleGiven a column

2016-01-07 16:05:56 1379

原创 <LeetCode OJ> 55. Jump Game

55. Jump GameMy SubmissionsQuestionTotal Accepted: 65623 Total Submissions: 237785 Difficulty: MediumGiven an array of non-negative integers, you are initially positioned at th

2016-01-06 22:51:18 975

原创 <LeetCode OJ> 152. Maximum Product Subarray

152. Maximum Product SubarrayMy SubmissionsQuestionTotal Accepted: 48484 Total Submissions: 230299 Difficulty: MediumFind the contiguous subarray within an array (containing at

2016-01-06 20:49:25 1057

原创 <LeetCode OJ> 204. Count Primes

204. Count PrimesMy SubmissionsQuestionTotal Accepted: 46354 Total Submissions: 204780 Difficulty: EasyDescription:Count the number of prime numbers less than a non-negative

2016-01-06 15:53:27 1369

原创 <LeetCode OJ> 205. Isomorphic Strings

94. Binary Tree Inorder TraversalMy SubmissionsQuestionTotal Accepted: 102260 Total Submissions: 268492 Difficulty: MediumGiven a binary tree, return the inorder traversal of i

2016-01-05 15:55:21 1202

原创 <LeetCode OJ> 38. Count and Say(测试案例或有错)

38. Count and SayMy SubmissionsQuestionTotal Accepted: 66138 Total Submissions: 243196 Difficulty: EasyThe count-and-say sequence is the sequence of integers beginning as follo

2016-01-05 10:12:52 1123

原创 <LeetCode OJ> 268. Missing Number

268. Missing NumberMy SubmissionsQuestionTotal Accepted: 31740 Total Submissions: 83547 Difficulty: MediumGiven an array containing n distinct numbers taken from 0, 1, 2, ...

2016-01-04 19:22:42 2714 1

原创 <LeetCode OJ> 209. Minimum Size Subarray Sum

209. Minimum Size Subarray SumMy SubmissionsQuestionTotal Accepted: 26840 Total Submissions: 105654 Difficulty: MediumGiven an array of n positive integers and a positive integ

2016-01-04 09:25:40 955

原创 <LeetCode OJ> 31. Next Permutation

31. Next PermutationMy SubmissionsQuestionTotal Accepted: 54346 Total Submissions: 212155 Difficulty: MediumImplement next permutation, which rearranges numbers into the lexico

2016-01-03 13:37:02 1246

原创 <LeetCode OJ> 189. Rotate Array

189. Rotate ArrayMy SubmissionsQuestionTotal Accepted: 55073 Total Submissions: 278176 Difficulty: EasyRotate an array of n elements to the right by k steps.For example, with

2016-01-02 22:26:53 1245

原创 <LeetCode OJ> 27. Remove Element

27. Remove ElementMy SubmissionsQuestionTotal Accepted: 93055 Total Submissions: 285916 Difficulty: EasyGiven an array and a value, remove all instances of that value in place

2016-01-02 17:11:20 901

原创 <LeetCode OJ> 190. Reverse Bits

190. Reverse BitsMy SubmissionsQuestionTotal Accepted: 47719 Total Submissions: 163481 Difficulty: EasyReverse bits of a given 32 bits unsigned integer.For example, given inp

2016-01-02 15:24:02 1069

原创 <LeetCode OJ> 162. Find Peak Element

162. Find Peak ElementMy SubmissionsQuestionTotal Accepted: 56981 Total Submissions: 174002 Difficulty: Medium

2016-01-02 12:20:18 1756

使用NSIS制作的多功能工具,有利于定位问题,辅助解决问题

平时自己办公和处理问题,经常使用todesk远程局点环境,此时往往涉及到如下需求 1,需要特定的工具测试局点网络环境 2,禁用windwos自动更新服务解决问题(在云桌面中会引起很多问题) 3,卸载windows内置应用,以及深度优化系统,比如在和友商PK时 4,启用业务功能上诸多功能 5,分析故障系统各项指标(集成各种分析工具) 6,解析业务上的加密配置文件 7,快速共享本机文件夹(极大的利于定位问题,传递文件) 上述功能需求使用NSIS工具统一制作,并且打包出来的小程序体积很小,有类似需求的可以看看

2022-03-07

小波变换程序

二维的变换实测运算速度很慢,写得很烂,写了很久了,一维的还好!对于这份资源你千万要有自己的思考(结合matlab运行验证验证)。

2017-06-08

MFC类库速查手册

MFC中文版的类库速查手册,囊括了绝大部分MFC类库,可以帮助英语不好的同学,但是个人建议还是最好看英文版的!

2015-01-16

医学图像重建入门

曾更生着,中文版,这本书深入浅出的介绍了一些高深的数学理论,使得读者比较容易接受,通读本书可以对医学重建建立概括性的了解!

2015-01-16

Matlab五种常见铝箔方式去噪能力对比

四种不同噪声下的五种滤波方式去噪能力对比,其中罗列的完整的数据以及一些简单分析,主要还是适合初学者!

2014-11-13

MFC,多线程例子,计算素数

这个例子来源于mfc windows程序设计多线程章节的例子

2014-07-09

空空如也

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

TA关注的人

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