- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 python windows whl pip 安装 64 位
1.https://pip.pypa.io/en/latest/user_guide/#installing-from-wheels2.加环境变量D:\install_path\python27\Scripts3.下载whl地址http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyparsing记得下载win32才可以用3的命令4.Windows
2015-10-07 21:57:19
519
原创 leecode 连续数组中和最大路径
#includeusing namespace std;int Largest_Of_Sum_Sequence(int *num,int len){ if(NULL == num || len <= 0) return 0; int *p_2 = num,*p_1 = num; int sum=INT_MIN; int sumcur=0; for(int i=0;i<len;i
2015-04-06 11:50:44
437
原创 产生1-num的随机数,总共产生num组,C++,Python
#include#include#include#include//rand()#include//find()using namespace std;class Solution{public: vector> GetRandomNumber(int max,int num){ vector tmp; vector> result; while(1){ if(t
2015-03-11 21:57:27
444
原创 leetcode 找旋转数组中最小的数
#include#includeusing namespace std;class Solution{public: int shunxu(int A[],int len){ int min=A[0]; for(int i=1;i<len;i++) { if(A[i]<min) min = A[i]; } return min; } int rot(
2014-12-19 15:39:53
555
原创 leetcode_MinStack_题解
#include#includeusing namespace std;class MinStack {public: void push(int x) { St.push(x); if(Min.size()<=0||x<=Min.top()) Min.push(x); } void pop() { if
2014-12-18 16:40:01
554
原创 leetcode Add Two Numbers VS 2010
Add Two Numbers Total Accepted: 31985 Total Submissions: 139983 My Submissions Question Solution You
2014-12-17 20:16:17
397
原创 c++ leetcode 算法题 Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock II Total Accepted: 30687 Total Submissions: 83357My SubmissionsQuestion Solution Say you have an array for which the ith element is the price of a
2014-12-02 10:41:18
501
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人