- 博客(2)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 leetcode-53.Maximum Subarray 最大子序和
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.Example:Input: [-2,1,-3,4,-1,2,1,-5,4],Output: 6Explanation:...
2018-11-29 22:31:51 103
原创 C++ 11 Vector遍历的几种方式
#include<iostream> #include<vector> using namespace std; int main() { vector<int> v = {1, 2, 3, 4, 5, 6, 7, 8, 10}; // 使用iterator for (vector<int>::const_i...
2018-11-29 22:24:51 428
win10 开机只启动基本加载项后pin密码显示错误不能开机
2016-12-01
TA创建的收藏夹 TA关注的收藏夹
TA关注的人