自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

转载 leetcode--sum of two integers

原题目网址    https://leetcode.com/problems/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, ret

2016-08-31 15:27:56 146

原创 hackerrank----Flatland Space Stations

原题目网址:   https://www.hackerrank.com/challenges/flatland-space-stations Flatland is a country with  cities,  of which have space stations. Its cities () are numbered from  to , where  city is referred

2016-08-30 09:59:39 678

原创 hackerrank笔记——lisa's workbook

题目链接:Lisa's Workbook Lisa just got a new math workbook. A workbook contains exercise problems, grouped into chapters. There are  chapters in Lisa's workbook, numbered from  to . The -th

2016-08-15 15:11:10 272

原创 c++顺序容器

一 顺序容器类型: deque   双端队列,头尾位置插入删除#include  deque list     双向链表,在任何位置进行插入删除#include  list array   固定大小数组,随机访问不可添加删除,与内置数组不同#include vector  string 二  容器的操作 容器类型成员      vector::iterator it    v

2016-08-11 19:37:34 135

原创 c++标准库类型——vector

一   标准库类型vector表示对象的集合,对象类型相同,需要: #include using namespace std; or using std::vector; 二   定义和初始化vector对象 vector v1;  vector v2(v1); vector v2=v1; vector v3(n,val); \\n个val元素 vector v4(n);\\n个

2016-08-11 15:06:20 277

原创 c++_标准库类型string

一  标准库类型 string 是可变长的字符序列,使用string类型需要: #include using namespace std;  or   using std::string; 二 定义与初始化             直接初始化                             拷贝初始化              string s1;           

2016-08-11 11:01:48 204

空空如也

空空如也

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

TA关注的人

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