码迷,mamicode.com
首页 >  
搜索关键字:worstweather ever    ( 3292个结果
POJ2115 C Looooops
1 /* 2 POJ2115 C Looooops 3 http://poj.org/problem?id=2115 4 扩展欧几里得 5 题意:求x, s.t. (a+c*x)=b (mod 1 c*x=b-a (mod 1 9 #include 10 #include 11 #include 1... ...
分类:其他好文   时间:2017-04-13 08:45:02    阅读次数:157
git-本地操作
一、新建git仓库 方式一:git init 这种方式建立一个裸仓 例如我们在d盘新建一个文件夹,然后输入git bash命令 git init practiceOne 我们新建了一个空仓 cd practiceOne/.git/ 进入git配置目录 ls我们可以看到该目录下相关的git配置文件 方 ...
分类:其他好文   时间:2017-04-12 23:36:21    阅读次数:288
Never Go Away
Hey if you ever want to leave it allif you ever want to lose control leave it all escape so far awaymaybe then you will think it is okbut i will tell ...
分类:其他好文   时间:2017-04-12 02:27:56    阅读次数:222
Python -- 循环技巧(Looping Techniques)
1.当想同时得到索引和对应的值时,可以用enumerate()函数 2.要同时循环两个或多个序列,可以与zip()函数配对。 3.要反向循环序列,首先是正向的指定序列,然后调用revers()函数。 4. 要以排序顺序循环序列,请使用sorted()函数,该函数返回一个新的排序序列,而不改原来的序列 ...
分类:编程语言   时间:2017-04-12 02:04:32    阅读次数:142
redis启动时的几个报警错误-redis优化
1)The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128 2)WARNING overcommit_memory ...
分类:其他好文   时间:2017-04-11 17:22:32    阅读次数:13841
C# to IL 4 Keywords and Operators(关键字和操作符)
Code that is placed after the return statement never gets executed. In the first programgiven below, you will notice that there is a WriteLine functio ...
分类:Windows程序   时间:2017-04-11 12:58:25    阅读次数:248
Checksum 一个良好的校验和算法通常会对进行很小的修改的输入数据都会输出一个显著不同的值
w https://en.wikipedia.org/wiki/Checksum https://zh.wikipedia.org/wiki/校验和 A checksum is a small-sized datum derived from a block of digital data for ...
分类:编程语言   时间:2017-04-11 11:17:12    阅读次数:328
PHP常用的表单验证
<?php /** * 页面作用:常用表单验证类 */ class class_post { //验证是否为指定长度的字母/数字组合 function fun_text1($num1,$num2,$str) { return (preg_match("/^[a-zA-Z0-9]{".$num1.", ...
分类:Web程序   时间:2017-04-10 23:18:12    阅读次数:304
python学习第十九天
Django 获取一个项目的多个数据 request.POST.getlist('favor') 上传文件 import os obj =request.FILES.get('') file_path =os.path.join('upload',obj.name) with open(file_p ...
分类:编程语言   时间:2017-04-10 17:08:28    阅读次数:270
HDU 1847 Good Luck in CET-4 Everybody! (sg函数)
Good Luck in CET-4 Everybody! Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9519 Accepted Submi ...
分类:其他好文   时间:2017-04-09 21:08:38    阅读次数:89
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!