output
standard output
On Children's Day, the child got a toy from Delayyy as a present. However, the child is so naughty that he can't wait to destroy the toy.
The toy consists of n parts and
...
分类:
其他好文 时间:
2014-09-23 04:21:23
阅读次数:
220
一般面向过程的写法都是写很多function,坏处:1.代码复用不好 2.函数名称容易重复冲突下面介绍面向对象的写法:在JS中每个函数function都是一个对象。比如,下面这个就是一个对象,我们在使用的时候就可以当作对象来使用。function HelloWorld(){ alert('he...
分类:
Web程序 时间:
2014-09-22 20:45:03
阅读次数:
248
An architecture for an extended multiprocessor (XMP) computer system is provided. The XMP computer system includes multiple SMP nodes. Each SMP node i...
分类:
其他好文 时间:
2014-09-22 20:22:43
阅读次数:
234
实际上是指的是一个名为pie的htc文件,即pie.htc,使用CSS的behavior行为,可以调用此文件,然后让IE也能实现一些常见的 CSS3效果,如圆角(border-radius),盒阴影(box-shadow),背景渐变(gradient),多图片背景(multiple backgrou...
分类:
其他好文 时间:
2014-09-22 19:15:33
阅读次数:
229
忽然发现Chrome浏览器版本 37.0.2062.103 m 不支持showModalDialog模态对话框和无法返回returnValue
项目原先用到的都不能正常执行
找了个折中方案利用window.open代替showModalDialog利用 window.opener.document来操作父页面的元素
window.open("xsp/exesp?todo=13","","he...
分类:
其他好文 时间:
2014-09-22 17:34:32
阅读次数:
167
Problem Description
Once upon a time Matt went to a small town. The town was so small and narrow that he can regard the town as a pivot. There were some skyscrapers in the town, each located at posit...
分类:
其他好文 时间:
2014-09-21 22:18:41
阅读次数:
316
Problem Description
You play a game with your friend. He draws several lines on the paper with n×m square grids (see the left figure). After that, he writes down the number of lines passing through...
分类:
其他好文 时间:
2014-09-21 02:54:39
阅读次数:
381
The new ITone 6 has been released recently and George got really keen to buy it. Unfortunately, he didn't have enough money, so George was going to work as a programmer. Now he faced the following pro...
分类:
其他好文 时间:
2014-09-19 23:56:06
阅读次数:
254
Chapter 10 UINavigationController1. When your application presents multiple screens of information, a UINavigationController maintains a stack of thos...
分类:
其他好文 时间:
2014-09-19 19:06:15
阅读次数:
130
javascript 有三种基本数据类型(字符串string、数值number、布尔boolean ),两种引用数据类型(对象Object、数组Array)和两种特殊数据类型(Null 、Undefined )。var a1;var a2 = true;var a3 = 1;var a4 = "He...
分类:
其他好文 时间:
2014-09-19 17:07:55
阅读次数:
214