自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

大山喵写博客的地方

手撕bug,代码成诗,点点滴滴,便是青春

  • 博客(11)
  • 收藏
  • 关注

原创 C语言 内存布局学习总结

前言C语言内存布局参考链接前言  C语言的内存布局对于理解C语言类型的作用域和声明周期,以及C语言对操作系统资源的使用规则至关重要,因此,理解C语言的内存布局模型,有助于深入理解C语言编程思想,以及高屋建瓴的学习C++内存布局模型。   本文是对C语言内存布局的学习总结。C语言内存布局  一个程序本质上都是由BSS段、data段和text段三部分组成...

2018-08-29 22:19:02 752

原创 C++的类型转换运算符总结

前言1 dynamic_cast2 static_cast3 const_cast4 reinterpret_cast总结参考链接前言  C语言的类型转换比较自由,但也带来了一些问题,这些问题大多由程序员自行控制和解决。对于庞大的C++语言机制而言,这种简单粗暴的类型转换方式显然是个巨大的负担,因此C++引入4种类型转换运算符,更加严格的限制允许的类型转换,...

2018-08-27 17:52:07 2664 1

原创 Git的基本原理简述以及常用指令

0 前言1 Git 系统1. 什么是Git?2. 基本概念和原理2 GitHub以及常用术语2.1 什么是GitHub?2.2 常用术语参考链接0 前言  最近开始使用GitHub来管理自己的代码,但是一直对Git系统的工作原理一直比较懵逼,除了无脑记了一些指令和GUI操作方法外,对内部的工作原理,完全一窍不通。终于抽个时间来吧Git系统的工作原理给...

2018-08-18 22:34:14 860

原创 在GitHub中的README.md文件中添加图片

  有时候需要在GitHub中的README.md文件中添加图片或以优化阅读效果,github.com对README.md文件的预览提供了强大的支持,可以让我们很方便的实现这一功能。   首先需要把自己想要展示的图片上传到GitHub上,比如说:   创建之后,需要点击文件,会得到该图片的预览地址,注意,一定是这个预览地址,不能是代码仓的路径地址。   仔细观察这个地址,会有所不同...

2018-08-18 11:35:30 4832

原创 1022 Digital Library (30)(30 分)

1 题目2 解题思路3 AC代码1 题目A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years. Each book ...

2018-08-08 21:34:39 963 1

原创 1021 Deepest Root (25)(25 分)

1 题目2 解题思路3 AC代码1 题目A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that r...

2018-08-05 21:58:06 468

原创 1023 Have Fun with Numbers (20)(20 分)

1 题目2 解题思路3 AC代码1 题目Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which ha...

2018-08-04 21:11:56 427

原创 1020 Tree Traversals (25)(25 分)

1 题目2 解题思路3 AC代码1 题目Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level...

2018-08-03 21:06:43 1003 2

原创 1019 General Palindromic Number (20)(20 分)

1 题目A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic n...

2018-08-03 15:46:08 372

原创 1018 Public Bike Management (30)(30 分)

1 题目2 解题思路3 AC代码4 总结1 题目There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station ...

2018-08-03 12:04:32 3433

原创 1017 Queueing at Bank (25)(25 分)

1 题目2 解题思路3 AC代码1 题目Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers hav...

2018-08-02 21:22:31 440 2

空空如也

空空如也

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

TA关注的人

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