Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2015-10-04 11:06:49
阅读次数:
121
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:
其他好文 时间:
2015-10-04 09:57:49
阅读次数:
170
还是继续延续篇五中前三节的例子,通过对代码的修修补补,把它改成一个可以在连接后就能在Client端执行Server端命令的程序,所以就有点类似于SSH连接程序了。至于还是用前面的例子来改嘛,是因为上课也一直这么干,而且老师也讲得非常不错,自己吸收后也作为一个学习的记录吧,..
分类:
编程语言 时间:
2015-10-04 06:44:05
阅读次数:
269
zw·准专利·高保真二值图细部切分算法 高保真二值图细部切分算法,是中国字体协会项目的衍生作品。 说准专利算法,是因为对于图像算法的标准不了解,虽然报过专利,但不是这方面的,需要咨询专业的专利顾问。 原型是用opencv+python实现的,因为Halcon,对于协会的设计师,门槛太高,所以,...
分类:
编程语言 时间:
2015-10-04 01:34:06
阅读次数:
371
1.在本地新建一个文件夹来存放代码2.用命令行进入这个文件夹3.git init --来创建一个代码仓库3. 配置用户信息:用户名和 邮箱(联系作者本人沟通, 责任到人) git config user.name **** git config user.email *****4. 查看配置的信.....
分类:
其他好文 时间:
2015-10-04 01:30:44
阅读次数:
280
对比一下,CBVS和FBVS,哪个方便?from django.shortcuts import renderfrom django.http import Http404from django.shortcuts import get_object_or_404from django.http i...
分类:
其他好文 时间:
2015-10-04 00:24:13
阅读次数:
144
Your problem probably is that you haven'tinstalledpython. Meaning that, if you are using Windows, you have not downloaded the installer for Windows, t...
分类:
编程语言 时间:
2015-10-04 00:24:07
阅读次数:
295
今天学习python的时候遇到装饰器,文章说跟装饰模式差不多,想到之前看过的装饰模式,现在已经淡然忘却,重拾记忆,搜索装饰模式,自己有C#语法的基础也就找到一篇用C#语法写的,自己之前看到一个孙悟空的例子,结合这次,自己编写一遍.namespace ProTest{ abstract cl...
分类:
其他好文 时间:
2015-10-03 23:04:26
阅读次数:
218
查看表结构DESC emp; 查询所有列SELECT * FROM dept; 切忌动不动就用select * set timing on; 打开显示操作时间的开关,在下面显示查询时间。 CREATE TABLE users(userId VARCHAR2(10), uName VARCHAR2 (...
分类:
数据库 时间:
2015-10-03 23:02:36
阅读次数:
268
Given a string of numbers and operators,return all possible results from computing all the different possible waysto group numbers and operators. The ...
分类:
其他好文 时间:
2015-10-03 21:49:32
阅读次数:
246