我们老大给了我三本书,让我学习下perl,昨天看了一天,今天给整理了下,两天的成果展现,没有什么脚本的基础,之前也就是看过python一点点,没用过!还有一些没有测试过,没什么时间了,还得再看看最重要的模式匹配----先上一部分。想想perl毕竟是一门语言,没有实战,还是不行!所以继续努力哦。。。。...
分类:
其他好文 时间:
2014-05-26 15:39:02
阅读次数:
896
模块的搜索路径:When a module namedspamis imported, the
interpreter searches for a file namedspam.pyin the current directory, and then
in the list of director...
分类:
编程语言 时间:
2014-05-26 15:09:11
阅读次数:
367
Given an array S of n integers, are there
elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the
array which gives the sum of ...
分类:
其他好文 时间:
2014-05-26 14:02:27
阅读次数:
263
Given a collection of candidate numbers (C) and
a target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Each number ...
分类:
其他好文 时间:
2014-05-26 13:59:59
阅读次数:
237
Given an arraySofnintegers, are there
elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in
the array which gives the sum of ...
分类:
其他好文 时间:
2014-05-26 13:56:05
阅读次数:
269
Given a set of candidate numbers (C) and a
target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2014-05-26 13:54:25
阅读次数:
282
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261
求给定整数的所有素因子1. 题目:求给定整数的所有素因子2.
要求:输入一个整数,求出其所有素因子,并表现为乘积方式,求因子的算法用子程序来实现。例如,输入480,输出480=2*2*2*2*2*3*5C++代码如下 1
//The program is to find all the prime....
分类:
编程语言 时间:
2014-05-26 13:06:37
阅读次数:
356
一直按网上的方法:1.先安装apt-get install
zlib1g-dev2.重新安装python(3.3):即是./configure 再make再make
install始终没有解决掉问题!最后发现,还需要再链接一次:#ln -s /usr/local/python3.3/bin/pyth...
分类:
编程语言 时间:
2014-05-26 12:35:01
阅读次数:
298
XML文件:2013-6-11ksdjfaljdfasfALEX2012-6-11VVVVVVVVVVVALEX11////
NotesXMLParser.h// XML//// Created by Alex on 13-6-12.// Copyright (c)
2013年Alex. All r...
分类:
移动开发 时间:
2014-05-26 11:18:34
阅读次数:
368