自定义博客皮肤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)
  • 问答 (1)
  • 收藏
  • 关注

原创 258. Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, r

2016-04-30 09:44:21 375

原创 292. Nim Game

You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the

2016-04-30 07:56:09 363

原创 LeetCode345

Write a function that takes a string as input and reverse only the vowels of a string.Example 1: Given s = “hello”, return “holle”.Example 2: Given s = “leetcode”, return “leotcede”.vowel : 元音 0,0思路:

2016-04-26 22:49:50 489

转载 从单调栈到计算1的矩阵

从计算矩形的面积到计算1的矩阵计算矩形的最大面积#include <stdio.h> #include <stack> using namespace std; /** 单调递增栈,就最大矩形的面积 */ struct Node { long long height;//一个高度值 int startIdx; //这个高度值的起始位置 Node(long long _heigh

2016-04-26 20:21:16 439

转载 LeetCode197

Given a Weather table, write a SQL query to find all dates’ Ids with higher temperature compared to its previous (yesterday’s) dates.+---------+------------+------------------+ | Id(INT) | Date(DATE) |

2016-04-26 20:04:58 528

原创 关于安装QT VS2013中我遇到的各种问题

网上有很多了,我查了一天才完成的,其中很多是因为不仔细而浪费时间 ~。~1,首先保证你下载的QT和你的VS版本要一致!!!比如VS2013对应的就是Qt 5.6.0 for Windows 64-bit (VS 2013, 836 MB) 和Visual Studio Add-in 1.2.5 for Qt5 (202 MB) 2,你会发现有很多红色的波浪线解决方法:解决方案中项目右键->属

2016-04-24 18:06:44 5843

空空如也

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

TA关注的人

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