自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (6)
  • 收藏
  • 关注

原创 leetcode 日经贴,Cpp code -Majority Element II

Majority Element IIclass Solution {public: vector majorityElement(vector& nums) { int n = nums.size(); if (n <= 1) { return nums; } vector ret;

2015-06-29 11:57:57 533

原创 leetcode 日经贴,Cpp code -Summary Ranges

Summary Rangesclass Solution {public: string i2s(long long n) { string ret, neg; if (n < 0) { neg = "-"; n = -n; } if (n == 0) {

2015-06-27 23:45:50 313

原创 银子交易

又是打跌,3402 割肉 2手

2015-06-26 23:17:12 299

原创 银子交易

今晚大跌,总感觉不还没跌到支撑点,但心里发慌,遂在 3444 卖了一手,至此还有 2 手多仓

2015-06-23 22:44:45 311

转载 python yield keyword

http://pyzh.readthedocs.org/en/latest/the-python-yield-keyword-explained.html

2015-06-23 12:50:44 370

原创 银子交易

TD 下单就被套上涨的时候加在 3530 时加了一手,结果就开跌,在 3516 时候补一手,期待解套

2015-06-19 00:07:09 313

原创 python opencv face detection

just for funerror: OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor ...http://bbs.csdn.net/topics/390944170http://blog.sina.com.cn/s/blog_79496d6b0100qy6t.html尝试安装解码器,

2015-06-14 01:15:27 936

原创 mac install python opencv module

1.下载Homebrew  在Terminal中输入:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"2.安装cmake       在Terminal中输入:brew install cmake开始安装opn

2015-06-13 16:00:27 406

原创 leetcode 日经贴,Cpp code -Invert Binary Tree

Invert Binary Tree/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(N

2015-06-13 12:26:58 294

原创 leetcode 日经贴,Cpp code -Basic Calculator

Basic Calculatorclass Solution {private: char token; int pos, num; stack ops; stack vals; int getpriority(char op) { int ret = 0; switch(op) { case

2015-06-11 18:52:31 357

原创 leetcode 日经贴,Cpp code -Implement Stack using Queues

Implement Stack using Queuesclass Stack { queue q; int topval;public: // Push element x onto stack. void push(int x) { q.push(x); topval = x; } // Removes

2015-06-11 17:22:11 406

原创 传媒板块

2015-06-11 01-03从图上看还处于涨势的股票有歌华有线(600037.SZ)长江传媒(600757.SZ)新华传媒(600825.SZ)中南传媒(601098.SZ)皖新传媒(601801.SZ)凤凰传媒(601928.SZ)吉视传媒(601929.SZ)

2015-06-11 01:06:06 609

原创 银子交易

1,2015-06-10 22:00 挂单交易 买入1手开仓 挂单价格 34902,

2015-06-10 22:08:54 362

原创 中航重机 600765

今天涨停的一只股票,感觉还是上涨趋势,还有很大的上升区间,收盘的股价是 33.84

2015-06-09 22:32:56 1024

原创 bootstrap static modal

modal 显示后,点击空白处不去 hide modal modal × Modal title {backdrop:"stati

2015-06-08 13:50:24 622

原创 leetcode 日经贴,Cpp code -Count Complete Tree Nodes

Count Complete Tree Nodes/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL),

2015-06-08 11:50:39 286

原创 leetcode 日经贴,Cpp code -Maximal Square

Maximal Squareclass Solution {public: int maxhist(vector &hist) { int n = hist.size(); int maxarea = 0; stack > st; st.push(make_pair(-1, -1)); for (in

2015-06-04 18:19:27 325

原创 python re-raise exception

refer http://www.ianbicking.org/blog/2007/09/re-raising-exceptions.htmldef exception(): raise ValueError('A very specific bad thing happend')def callException():# exception() try: except

2015-06-04 11:49:39 1442

原创 leetcode 日经贴,Cpp code -Contains Duplicate III

Contains Duplicate IIIclass Solution {public: long long abs(long long k) { return k>0? k:-k; } bool containsNearbyAlmostDuplicate(vector& nums, int k, int t) { if (k <

2015-06-03 14:20:40 353

原创 where is the chrome exension in my computer

C:\Users\lennovo\AppData\Local\Google\Chrome\User Data\Default\ExtensionsThe default locations of Chrome's profile directory are defined at http://www.chromium.org/user-experience/user-data-

2015-06-03 12:49:43 408

pattern recognition and machine learning

bishop 的经典之作,学机器学习的首先,贝叶斯观点来解读模型

2011-10-08

带权区间图的最短路算法

提出一个带权区间图的最短路问题的O(n*a(n))的时间的新算法,其中n是带树区间图的个数

2009-09-05

简单的表达式求值 支持括号

简易计算器,能够实现对整数表达式进行以下运算, +、-、*、/、%、^并支持‘(’、‘)’。例如:((12-2)*6)/5

2009-09-04

dancing links

中文版的 dancing links,若想快点看懂就下吧,若想看原版就去找 knuth 的原版吧

2009-08-12

组合数学 组合数 整数划分 递推 方程 多项式定理

讲解组合数学的知识,大连理工应用数学系讲义 对学习组数学的朋友有很大的帮助 第二章 多项式定理及其应用

2009-08-03

RealPlayer11GOLD.deb

RealPlayer11GOLD.deb

2008-12-10

空空如也

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

TA关注的人

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