PyCharm简介PyCharm是一种Python
IDE,带有一整套可以帮助用户在使用Python语言开发时提高其效率的工具,比如调试、语法高亮、Project管理、代码跳转、智能提示、自动完成、单元测试、版本控制。此外,该IDE提供了一些高级功能,以用于支持Django框架下的专业Web开发。详...
分类:
其他好文 时间:
2014-06-29 13:46:59
阅读次数:
319
原题地址:https://oj.leetcode.com/problems/anagrams/题意:Given
an array of strings, return all groups of strings that are anagrams.Note: All
inputs will be i...
分类:
编程语言 时间:
2014-06-29 13:25:28
阅读次数:
355
[)][\r](?<=\)\r)(?=\s{9}{)\s{9}{作用如:获取红色部分,用于替换
public string UpdateFormula() { } 排除某个单词abcd,ab,d,a\b((?!abcd)\w)+\b...
分类:
其他好文 时间:
2014-06-29 13:11:01
阅读次数:
192
模块是包括python定义和声明的文件。文件名=模块名+".py"。模块名保存在全局变量__name__中。1、模块中的执行语句,只是在导入时执行一次。这些语句通常用于初始化模块。2、被导入的模块被放到全局语义表中。3、import用法
+import moduleName +from modu.....
分类:
编程语言 时间:
2014-06-29 12:34:03
阅读次数:
277
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write
an efficient algorithm that searches for a value in anmxnmatrix. This matrix has
the...
分类:
编程语言 时间:
2014-06-29 07:56:13
阅读次数:
321
上周尝试用opencl求极大值,在网上查到大多是求和,所谓的reduction算法。不过思路是一样的。CPP: int err = 0; unsigned
long int nNumCount = 102400000; int nLocalSize = 256; int nGr...
分类:
其他好文 时间:
2014-06-29 07:47:56
阅读次数:
1793
以下内容
仅供参考!在程序中经常碰到get、set,不甚明白,所以整理下,以学的明白透彻点。有两个类person:public class person{public
string name;}public class person{public string Name{set;get;}}第一个类...
分类:
其他好文 时间:
2014-06-05 14:14:26
阅读次数:
210
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b ="1"Return"100".public class
Solution { /**The program is us...
分类:
其他好文 时间:
2014-06-05 14:08:35
阅读次数:
188
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type:
要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和
delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
分类:
Web程序 时间:
2014-06-05 13:17:56
阅读次数:
447