码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
数独问题(南阳)
#includeusing namespace std;int begin[9][9];bool check(int x,int y,int k){ for(int i=0;i>t; while(t--) { for(int i=0;i>begin[i][j]; ...
分类:其他好文   时间:2014-05-26 21:05:25    阅读次数:189
python 执行环境
一些函数执行其它非python程序受限执行结束执行操作系统接口相关模块1 一些函数callablecallable()是一个布尔函数,确定一个对象是否可以通过函数操作符(())来调用。如果函数可调用便返回True,否则便是False。 比如:>>> callable(1)False>>> calla...
分类:编程语言   时间:2014-05-26 21:04:06    阅读次数:390
word-break:brea-all;word-wrap:break-word的区别
//form==>http://www.cnblogs.com/2050/archive/2012/08/10/2632256.htmlhaha 555555555555555555555555555555555haha 555555555555555555555555555555555 wor.....
分类:其他好文   时间:2014-05-26 21:02:51    阅读次数:263
类的补充
1.static:静态的,不属于对象,属于全部类的属性。 public:成员变量,不同的new,值不同。class Person{ static $type="小孩"; public $name; public $pwd;}$p1=new Person();$p1->name="zhangsan";...
分类:其他好文   时间:2014-05-26 20:58:18    阅读次数:232
Js 常用小代码
//判断一个汉子等于两个字符function getByteLen(val) { var len = 0; for (var i = 0; i < val.length; i++) { var a = val.charAt(i); if (a.match(/[...
分类:Web程序   时间:2014-05-26 20:47:25    阅读次数:205
openssl生成证书以及获取公钥和私钥
一、RSA方式1. 建立CA根证书 1) 建立目录RSA 2) 创建以下子目录certs, crl, newcerts 3) 在RSA目录下执行以下操作:echo 01 > serialtouch index.txtopenssl req -new -x509 -newkey rsa:1024 -k...
分类:其他好文   时间:2014-05-26 20:46:24    阅读次数:280
[Scala] Pattern Matching(模式匹配)
Scala中的match, 比起以往使用的switch-case有著更強大的功能, 1. 傳統方法 def toYesOrNo(choice: Int): String = choice match { case 1 => "yes" case 0 => "no" case _ => "error"...
分类:其他好文   时间:2014-05-26 20:45:46    阅读次数:285
暂存
字母图形#include #include #include #include #include #include #include using namespace std;int main(){int n, m;scanf("%d%d", &n, &m);for(int i = 1; i <= n...
分类:其他好文   时间:2014-05-26 20:41:43    阅读次数:232
crontab 每月最后一天
0 8 28-31 * * [ `date -d tomorrow +%e` -eq 1 ] && do-something我觉得能想到这种方法的,都是经验丰富的人。程序员们,想当然的就会就写出很复杂的代码。
分类:其他好文   时间:2014-05-26 20:39:23    阅读次数:252
【转】C#中continue、break和return用法
continue和break的用法一样,直接写上这个单词,后面加一个分号就行比如:continue;break;我们先来谈continue看代码 for (int i=0; i<10; i++) { Console.Write(i); }这个程序的意思输出从0...
分类:其他好文   时间:2014-05-26 20:36:46    阅读次数:351
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!