自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

大洋深处

爱生活,爱算法,爱coding

  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 条款06:若不想使用编译器自动生成的函数,就该明确拒绝,以及C++11在这方面的新标准

在新编准发布以前,类是通过将其拷贝构造函数和拷贝赋值运算符声明为private来阻止的。例如,在房产中介看来,每个房子都是独一无二的,所以不允许复制和拷贝。那么可能会想,如果不希望class支持某一个特定机能,只要不申明对应函数就行,但是这个策略对copy构造函数和copy assignment操作符却不起作用,因为对于这几类函数,如果你不申明他们,当调用的时候,编译器会默认的为你们申明他...

2018-07-30 21:55:44 137

原创 Codeblocks导入编译器

参考自 白羊一只最近换了系统,所以又装回win下比较好用的codeblocks,但是官网下载的codeblocks不带编译器,所以得自己下载编译器,然后自己配置,首先下载一个版本的编译器,在这个网址下载 下载编译器然后就是配置了,在settinngs->compiler 里按照下面的配置好,这个的路径怎么找呢?? 在你下载的那个编译器的 bin目录里。然后就配置好了。...

2018-07-30 20:09:32 1268

原创 Leetcode_30 Substring with Concatenation of All Words

题目:You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in words exactly once a...

2018-07-27 17:41:26 77

原创 Leetcode_28. Implement strStr()

题目: Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack = “hello”, needle = “ll” Output: 2Exa...

2018-07-27 16:16:21 136

原创 Leetcode_18 4Sum

题目: Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum o...

2018-07-27 10:05:09 112

原创 Leetcode26_Remove Duplicates from Sorted Array

题目: Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this by mo...

2018-07-26 21:05:24 92

邮件收发系统

是基于web的邮件收发系统

2016-04-04

空空如也

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

TA关注的人

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