自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

excel's blog

A weak coder

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

原创 常用算法

1. 快速排序#include <iostream>#include <vector>using namespace std; int partition(vector<int> &nums, int low,int high) { int key=nums[low]; while(low<high) { while(low<high && nums[hig

2017-09-16 00:45:24 179

原创 Something learned from leetcode (3)

leetcode (3)

2017-03-14 12:22:15 233

原创 读取控制台输入的数据

Vector:#include <iostream>#include <sstream>#include <vector>using namespace std;int main() { vector<int>numbers; int enterNumber;std::string line;getline(cin, line);istringstream iss(lin

2017-03-12 19:08:49 710

原创 openwrt和srun的两三事

op srun

2016-10-23 16:30:33 1889

原创 Something learned from leetcode (2)

21、string的sort()、compare() Anagram: 字符相同但字母顺序打乱的两个短语class Solution {public: bool isAnagram(string s, string t) { if(s.size()!=t.size()) return false; sort(s.begin(),s.end()

2016-10-15 21:27:36 337

原创 Something learned from leetcode (1)

检索标签1-20

2016-10-01 17:18:38 557

空空如也

空空如也

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

TA关注的人

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