Convergents of e
Problem 65
The square root of 2 can be written as an infinite continued fraction.
√2 = 1 +
1
2 +
1
2 +
1
2 +
1
...
分类:
编程语言 时间:
2015-01-31 16:27:32
阅读次数:
178
picasso是Square公司开源的一个Android图形缓存库,地址http://square.github.io/picasso/,可以实现图片下载和缓存功能。仅仅只需要一行代码就能完全实现图片的异步加载:1Picasso.with(context).load("http://i.imgur....
分类:
移动开发 时间:
2015-01-31 14:19:21
阅读次数:
296
Description The left figure below shows a complete 3*3 grid made with 2*(3*4) (=24) matchsticks. The lengths of all matchsticks are one. You can fi...
分类:
其他好文 时间:
2015-01-31 14:13:45
阅读次数:
144
本文主要记述,本人使用Tektronix(泰克)的 AFG3101 型号的任意函数发生器(Arbitrary Function Generator) 和 AWG520 型号的任意波形发生器 (Arbitrary Waveform Generator)的一些经验方法,介绍了自己想到的可行方法。...
分类:
其他好文 时间:
2015-01-30 17:46:24
阅读次数:
306
1627. Join
Time limit: 4.0 second
Memory limit: 64 MB
Businessman Petya recently bought a new house. This house has one floor with
n × m square rooms, placed in rectangular lattice. Some roo...
分类:
其他好文 时间:
2015-01-30 09:16:22
阅读次数:
166
今天测试了下通过局域网远程开机(Wake On LAN,WOL)的功能,这篇文章就是今天测试结果的总结。 一、我的环境 我的实验环境拓扑图(图是用Visio+画图制作的): 共有三台实体机,实体机1-3,实体机1用于开机测试...
分类:
其他好文 时间:
2015-01-29 19:44:45
阅读次数:
446
uva 11520 Fill the Square
In this problem, you have to draw a square using uppercase English Alphabets.
To be more precise, you will be given a square grid with some empty blocks and other...
分类:
其他好文 时间:
2015-01-29 17:49:36
阅读次数:
152
1、quotient、remainder、modulo和sqrt函数quotient用于求商数(quotient)。函数remainder和modulo用于求余数(remainder)。函数sqrt用于求参数的平方根(square root)。以下是一些示例:(quotient73);Value: ...
分类:
其他好文 时间:
2015-01-29 12:33:23
阅读次数:
168
分清几个概念:表达式和语句var square = function(x){ return x*x; } //函数定义表达式P63function square(x){ return x*x; } //函数声明语句,var和function都是声明语句,它们声明或定义变量或函数。P94、95...
分类:
其他好文 时间:
2015-01-28 21:01:09
阅读次数:
139
仅在}之前、一个或多个换行之后和程序输入的结尾被插入也就是说你只能在一行、一个代码块和一段程序结束的地方省略分号。也就是说你可以写如下代码function square(x) { var n = +x return n * n}但是却不可以写的像下面代码一样,这样就报错了哦functio...
分类:
编程语言 时间:
2015-01-28 19:23:03
阅读次数:
196