title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
title:
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?
翻译:
通过列出前6个质数,我们可知第6个质数是13。
那么第10001个质数是...
分类:
其他好文 时间:
2014-06-05 12:28:28
阅读次数:
277
title:
The sum of the squares of the first ten natural numbers is,
12 + 22 + ... + 102 = 385
The square of the sum of the first ten natural numbers is,
(1 + 2 + ... + 10)2 = 552 = 3025
Hence ...
分类:
其他好文 时间:
2014-06-05 12:03:29
阅读次数:
243
1、官网下载jdk-7u45-linux-x64.tar.gz
下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2、tar解压:tar -xzvf jdk-7u45-linux-x64.tar.gz
一般安装在/usr/local/目录下
3、配...
分类:
系统相关 时间:
2014-06-05 12:01:30
阅读次数:
470
python try except else finally 执行顺序详细分析...
分类:
编程语言 时间:
2014-06-05 11:43:56
阅读次数:
305
菜鸟终于搞定了这个小方块
以前在windows下使用eclipse出现乱码现象,首先会想到是不是字符集出现了问题。可是这次在linux下却没有生效,几个字符集改来改去,也没有能够见证奇迹的发生。万万没想到,最后是字体这块出了差错,在linux下西文字体不支持中文显示,可能是windows给惯出的毛病,所以,一开始没有想到这个问题。
出现这种情况,第一步,应该先去更改字体,找一个支持中文的,先别...
分类:
Web程序 时间:
2014-06-05 10:52:59
阅读次数:
280
今天试了好久总算是撞了无数的南墙啊,所以写这篇博客让各位正想给自己linux系统装qq的同志们一个提醒。各位同志们,linux下安装的qq都是烂货啊。要么没法安装,要么就是装完之后它会很开心的告诉你版本过低,无法登入哭,但是你又找不到更新的地方发火。运气好总算是试了各种版本之后给你装上了,并且用上了,结果你会发现功能差就算了,还没整几下就卡死了...
分类:
系统相关 时间:
2014-06-05 10:47:17
阅读次数:
251
This article shows my process of installing and configuring bind9 DNS server on a linux server. I didn't touch every aspects of bind9, but following the process, a DNS server is configured with A/AAAA...
分类:
系统相关 时间:
2014-06-05 08:36:26
阅读次数:
450
一:在软件中心输入codeblocks,然后点击安装,等着装完就行了。
再按ctrl+alt+t 打开终端 输入 sudo apt-get install gcc
而后再输入sudo apt-get install g++
最后打开codeblocks写个 helloworld 试试吧。
二:helloworld小程序写完后,也编译通过了...
分类:
系统相关 时间:
2014-06-05 07:37:11
阅读次数:
391
1、文件描述符
Linux操作系统中,几乎所有的设备都被抽象成为设备文件。因此,当我们想对设备进行操作的时候可以直接去操作其相应的设备文件。设备文件即是文件,要想对文件进行操作,无非就是:打开文件、关闭文件、写入数据、读出数据等,它们分别对应的函数有open(),close(),write(),read(),就以其中的open()函数做一个分析。open函数的作用是打开一个文件。
(1)它的定...
分类:
系统相关 时间:
2014-06-05 06:17:45
阅读次数:
389