Keeps it intact, and only the handle bar can all be sure to be there. So there is no risk of losing side. After binding to the tool belt and nails can...
分类:
其他好文 时间:
2014-08-25 13:06:44
阅读次数:
243
Problem 34
145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.
Find the sum of all numbers which are equal to the sum of the factorial of their digits.
Note: as 1! = 1 and 2! = 2 are...
分类:
其他好文 时间:
2014-08-25 11:59:14
阅读次数:
243
List与Tuple
Python内置2种有序列表。List是可变数组,Tuple是不可变数组。
List范例:
Girls =['LiuJingjing','ZhangHuixin','YeFei']
-用len()函数获得list元素个数。
-索引位置从0开始,最后一个元素的索引是-1
Girls[-1]...
分类:
编程语言 时间:
2014-08-25 11:56:54
阅读次数:
241
1.背景 最大似然估计是概率论中常常涉及到的一种统计方法。大体的思想是,在知道概率密度f的前提下,我们进行一次采样,就可以根据f来计算这个采样实现的可能性。当然最大似然可以有很多变化,这里实现一种简单的,实际项目需要的时候可以再更改。 博主是参照wiki来学习的,地址请点击我 这里实现的是特别简单的例子如下(摘自wiki的最大似然)离散分布,离散...
分类:
编程语言 时间:
2014-08-25 11:53:54
阅读次数:
1655
别名用来帮助你定义自己的git命令。比如你可以定义git a来运行git add --all。要添加一个别名, 一种方法是打开~/.gitconfig文件并添加如下内容:[alias] co = checkout cm = commit p = push # Show verbose out...
分类:
其他好文 时间:
2014-08-25 11:46:34
阅读次数:
203
集合的概念与数学中的全集、交集、补集的概念是一样的常用的集合运算符集合运算符的作用:把两个查询构造为一个联合查询1. 全集:求连个查询的全集union all:将两个查询的所有数据全部列出,不进行排序,不去掉重复的部分SQL> create table t1 as select * from emp...
分类:
Web程序 时间:
2014-08-25 11:35:34
阅读次数:
308
Last?login:?Mon?Aug?25?09:45:27?2014?from?10.10.15.6
[root@moshi?~]#?vi?/etc/rc.local?
#!/bin/sh
#
#?This?script?will?be?executed?*after*?all?the?other?init?scripts.
#?You...
分类:
系统相关 时间:
2014-08-25 10:14:35
阅读次数:
262
[root@livecdyum.repos.d]#yuminstalllivecd-toolssyslinuxanaconda-runtimeLoadedplugins:fastestmirror,refresh-packagekit,securityLoadingmirrorspeedsfromcachedhostfile*base:centos.ustc.edu.cn*extras:centos.ustc.edu.cn*updates:mirrors.pubyun.comlivecd|951B00:00l..
分类:
编程语言 时间:
2014-08-25 10:09:05
阅读次数:
1348
Problem 36
The decimal number, 585 = 10010010012 (binary), is palindromic in both bases.
Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2.
(Please...
分类:
其他好文 时间:
2014-08-25 10:06:04
阅读次数:
198
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:
编程语言 时间:
2014-08-25 06:33:53
阅读次数:
277