自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【C++开发中内存问题及常用解决方法】

在C++中,内存泄漏是指程序在动态分配内存后,未能在不再需要时正确释放内存,导致该部分内存不能被操作系统重新分配给其他进程使用。内存泄漏可能会导致程序运行时间越长,占用的内存越多,最终可能导致程序崩溃或系统性能下降。• use after return:caller访问一个指针,该指针指向callee的栈内内存。• read invalid memory:读取非法内存,本质上也属于内存越界。• use after free:内存释放后使用。• wild free:释放内存的参数为非法值。

2024-04-12 17:02:50 127

原创 configure.ac和Makefile.am结合 实现条件编译

configure.ac和Makefile.am结合 实现条件编译

2024-02-27 17:16:05 328

原创 定时器方案 红黑树 时间轮 最小堆

定时器方案 红黑树 时间轮 最小堆。

2024-02-24 22:00:09 299

原创 连接池的相关实现(reids、mysql为例)

111。

2024-02-22 14:29:38 305

原创 Leetcode刷题125-21. 合并两个有序链表(C++详细解法!!!)

题目来源:链接: [https://leetcode-cn.com/problems/merge-two-sorted-lists/].21. 合并两个有序链表1.问题描述2.我的解决方案3.大神们的解决方案4.我的收获1.问题描述Merge two sorted linked lists and return it as a new list. The new list should be...

2019-07-17 20:23:27 263

原创 Leetcode刷题123-137.只出现一次的数字 II(C++详细解法!!!)

题目来源:链接: [https://leetcode-cn.com/problems/single-number-ii/].137.只出现一次的数字 II1.问题描述2.我的解决方案3.大神们的解决方案4.我的收获1.问题描述Given a non-empty array of integers, every element appears three times except for on...

2019-07-13 21:09:14 374

原创 Leetcode刷题121-181. 超过经理收入的员工(MySQL和Oracle解法!!!)

Come from : [https://leetcode-cn.com/problems/employees-earning-more-than-their-managers/]181. Employees Earning More Than Their Managers1.Question2.Answer3.我的收获1.QuestionSQL架构The Employee table ...

2019-07-11 20:38:32 252

原创 Leetcode刷题119-620. 有趣的电影(MySQL解法!!!)

Come from : [https://leetcode-cn.com/problems/not-boring-movies/]620. Not Boring Movies1.Question2.Answer3.我的收获1.QuestionSQL架构X city opened a new cinema, many people would like to go to this cine...

2019-07-09 20:00:53 171

原创 Leetcode刷题118-595. 大的国家(MySQL、Oracle通用解法!!!)

Come from : [https://leetcode-cn.com/problems/big-countries/]595. Big Countries1.Question2.Answer3.我的收获1.QuestionSQL架构There is a table World+-----------------+------------+------------+---------...

2019-07-08 20:46:23 256

原创 Leetcode刷题116-28. 实现strStr()(C++最简单实现详细解法!!!)

Come from : [https://leetcode-cn.com/problems/implement-strstr/]28. Implement strStr(1.Question2.Answer3.大神解答4.我的收获1.QuestionImplement strStr().Return the index of the first occurrence of needle ...

2019-07-06 20:12:32 241

原创 Leetcode刷题115-326. 3的幂(C++最简单实现详细解法!!!)

Come from : [https://leetcode-cn.com/problems/power-of-three/]326. Power of Three1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven an integer, write a function to determine if it is a power of three....

2019-07-05 21:09:16 267

原创 Leetcode刷题114-66. 加一(C++最简单实现详细解法!!!)

Come from : [https://leetcode-cn.com/problems/plus-one/submissions/]66. Plus One1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven a non-empty array of digits representing a non-negative integer, plus...

2019-07-04 21:28:56 264

原创 Leetcode刷题112-69. x的平方根(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/sqrtx/]69. Sqrt[x]1.Question2.Answer3.大神解答4.我的收获1.QuestionImplement int sqrt(int x).Compute and return the square root of x, where x is guaranteed t...

2019-07-02 21:41:55 370 1

原创 Leetcode刷题111-350. 两个数组的交集Ⅱ(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/intersection-of-two-arrays-ii/submissions/]350. Intersection of Two Arrays II1.Question2.Answer3.大神解答4.我的收获1.QuestionGiven two arrays, write a functio...

2019-07-01 21:20:53 216

原创 Leetcode刷题103-232. 用栈实现队列(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/implement-stack-using-queues/submissions/]232. Implement Queue using Stacks1.Question2.Answer3.我的收获1.QuestionImplement the following operations of a q...

2019-06-18 20:31:42 175

原创 Leetcode刷题102-155. 最小栈(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/min-stack/]155. Min Stack1.Question2.Answer3.我的收获1.QuestionDesign a stack that supports push, pop, top, and retrieving the minimum element in constant...

2019-06-17 20:57:44 225

原创 Leetcode刷题101-225. 用队列实现栈(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/implement-stack-using-queues/submissions/]225. Implement Stack using Queues1.Question2.Answer3.我的收获1.QuestionImplement the following operations of a s...

2019-06-16 21:17:38 194

原创 Leetcode刷题100-45. 跳跃游戏 II (C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/jump-game-ii/]45. Jump Game II1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven an array of non-negative integers, you are initially positioned at the fi...

2019-06-12 21:51:01 518

原创 Leetcode刷题99-55. 跳跃游戏(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/jump-game/]55. Jump Game1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven an array of non-negative integers, you are initially positioned at the first in...

2019-06-11 21:58:05 362

原创 Leetcode刷题98-402. 移掉K位数字(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/remove-k-digits/]402. Remove K Digits1.Question2.Answer3.大神的算法4.我的收获1.QuestionGiven a non-negative integer num represented as a string, remove k digit...

2019-06-10 22:16:36 447

原创 Leetcode刷题97-376. 摆动序列(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/assign-cookies/]120. Triangle1.Question2.Answer3.我的收获1.QuestionAssume you are an awesome parent and want to give your children some cookies. But, you ...

2019-06-08 21:37:16 428

原创 Leetcode刷题96-455. 分发饼干(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/assign-cookies/]120. Triangle1.Question2.Answer3.我的收获1.QuestionAssume you are an awesome parent and want to give your children some cookies. But, you ...

2019-06-07 22:20:45 392

原创 Leetcode刷题94-120. 三角形最小路径和(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/longest-common-prefix/]14. Longest Common Prefix1.Question2.Answer3.我的收获1.QuestionWrite a function to find the longest common prefix string amongst an...

2019-06-05 21:33:23 156

原创 Leetcode刷题93-14. 最长公共前缀(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/longest-common-prefix/]14. Longest Common Prefix1.Question2.Answer3.我的收获1.QuestionWrite a function to find the longest common prefix string amongst an...

2019-06-04 15:34:14 330

原创 Leetcode刷题91-53. 最大子序和(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/maximum-subarray/]53. Maximum Subarray1.Question2.Answer3.我的收获1.QuestionGiven an integer array nums, find the contiguous subarray (containing at least...

2019-06-03 09:40:17 216

原创 Leetcode刷题89-70. 爬楼梯(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/climbing-stairs/]70. Climbing Stairs1.Question2.Answer3.我的收获1.QuestionYou are climbing a stair case. It takes n steps to reach to the top.Each time y...

2019-05-28 21:32:17 349

原创 Leetcode刷题86-409. 最长回文串(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/longest-palindrome/]409. Longest Palindrome1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a string which consists of lowercase or uppercase letters...

2019-05-25 21:55:29 200

原创 Leetcode刷题85-191. 位1的个数(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/number-of-1-bits/]191. Number of 1 Bits1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionWrite a function that takes an unsigned integer and return the numb...

2019-05-24 21:58:48 184

原创 Leetcode刷题84-908. 最小差值 I(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/smallest-range-i/submissions/]908. Smallest Range I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array A of integers, for each integer A[i] we ...

2019-05-23 19:59:31 226

原创 Leetcode刷题83-643. 子数组最大平均数 I(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/maximum-average-subarray-i/]643. Maximum Average Subarray I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array consisting of n integers, find t...

2019-05-20 21:21:03 272

原创 Leetcode刷题82-551. 学生出勤记录 I(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/student-attendance-record-i/]551. Student Attendance Record I1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionYou are given a string representing an attend...

2019-05-19 21:25:47 509

转载 MATLAB错误使用 figure 设置 Figure 的 'Number' 属性时: 值必须是双精度标量或空矩阵

1.问题描述:这几天 在跑 目标跟踪的 matlab 代码时候,遇到这种情况:MATLAB错误使用figure设置 Figure 的 ‘Number’ 属性时:值必须是双精度标量或空矩阵2.解决方案:将 ‘Number’ 替换成 ‘UserData’ 即可。...

2019-05-18 15:02:25 3525 1

原创 Leetcode刷题81-383. 赎金信(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/ransom-note/]383. Ransom Note1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an arbitrary ransom note string and another string containing letters f...

2019-05-18 14:52:49 407

原创 Leetcode刷题80-628. 三个数的最大乘积(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/maximum-product-of-three-numbers/]628. Maximum Product of Three Numbers1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an integer array, find three ...

2019-05-16 20:23:52 261

原创 Leetcode刷题79-697. 数组的度(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/degree-of-an-array/]697. Degree of an Array1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a non-empty array of non-negative integers nums, the degr...

2019-05-15 19:56:03 263

原创 Leetcode刷题78-520. 检测大写字母(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/detect-capital/]520. Detect Capital1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven a word, you need to judge whether the usage of capitals in it is ...

2019-05-14 22:12:13 300

原创 Leetcode刷题77-888. 公平的糖果交换(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/fair-candy-swap/]888. Fair Candy Swap1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionAlice and Bob have candy bars of different sizes: A[i] is the size of...

2019-05-13 21:42:20 350

原创 Leetcode刷题76-1033. 移动石子直到连续(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/moving-stones-until-consecutive/]1033. Moving Stones Until Consecutive1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionThree stones are on a number line at...

2019-05-11 20:02:38 341

原创 Leetcode刷题75-896. 单调数列(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/monotonic-array/]896. Monotonic Array1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionAn array is monotonic if it is either monotone increasing or monotone...

2019-05-10 21:21:46 343

原创 Leetcode刷题74-283. 移动零(C++详细解法!!!)

Come from : [https://leetcode-cn.com/problems/move-zeroes/]283. Move Zeroes1.Question2.Answer3.大神们的解决方案4.我的收获1.QuestionGiven an array nums, write a function to move all 0’s to the end of it while ...

2019-05-09 20:35:27 222

aes-cbc-master.rar

## aes-cbc模式加密——密码分组链接模式(Cipher Block Chaining (CBC)) aes-cbc模式加密和解密代码 并配有两张图片帮助 理解 aes 和cbc的加密过程 ##编译和运行 make ./app.out

2020-07-29

卷积神经网络(CNN)的17篇有影响力的论文题目和创新点介绍

整理了从2012年到2017年15篇国际顶级会议的卷积神经网络(CNN)的架构论文,并注明了每篇论文的创新点。需要注意的是:只是整理了论文题目,并没有下载地址,下载者可以根据题目下载对应的论文。

2018-11-29

空空如也

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

TA关注的人

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