自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 八皇后问题总结

#include #include #include using namespace std; class Solution { public: vector a; //vector > s_total; void init(int n) { a.resize(n); for(int i=0;i<n;i++) { a[i]=-1000; } } /*void pr

2016-04-17 21:38:52 411

原创 归并排序非递归

#include using namespace std; int SR[10]; int TR[10]; void Merge(int i,int m,int n) { int k=0; int low=i; int j=m+1; while(i<=m&&j<=n) { if(SR[i]<SR[j]) { TR[k++]=SR[i++]; } else {

2016-04-15 15:30:29 161

原创 快速排序非递归实现

#include #include #include using namespace std; vector a; class node{ public: int low; int high; }; int parition(int low,int high) { int p=a[low]; int i=low; int j=high; if(j>i) { while(j>

2016-04-15 12:11:48 208

原创 [LeetCode 260] Single Number III 详解

题目给出: Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once. For example: Giv

2016-03-09 18:13:24 205

java实现图像中值滤波

java实现图像中值滤波

2015-04-16

空空如也

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

TA关注的人

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