第一次看完js感觉so easy直接打开jQuery源码想一步到位结果SB了。本来想写个总结,但是看了n遍后感觉还是有很多地方么完全懂!不能一直卡在JS了赶紧把这篇补上,以后一边用一边理解了!1)5个原始类型:null、undefined、number、string、boolean;undeclar...
分类:
其他好文 时间:
2015-04-03 22:29:14
阅读次数:
228
第一次在园子发文:关于js面向对象的理解: 工厂方式是什么?构造函数是什么?原形链?对象的引用?1.对象是什么?在js接触的比较多的就是对象了,比如: 1 var arr = []; 2 3 arr.number = 10; //对象下面的变量:叫做对象的属性 4 5 //alert(...
分类:
编程语言 时间:
2015-04-03 22:25:21
阅读次数:
222
Language: C++ 4.8.2#includeint main(void){ long long int m, n, copy_m; int count = 1; int number = 0; while(1) { scanf("%lld%ll...
分类:
其他好文 时间:
2015-04-03 22:15:29
阅读次数:
213
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the targ...
分类:
其他好文 时间:
2015-04-03 21:08:43
阅读次数:
158
K-th Number
Time Limit: 20000MS
Memory Limit: 65536K
Total Submissions: 40169
Accepted: 13120
Case Time Limit: 2000MS
Description
You are working for Macrohard com...
分类:
其他好文 时间:
2015-04-03 21:07:26
阅读次数:
185
Boring Counting
Time Limit: 3000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
In this problem you are given a number sequence P consisting of N integer and Pi is the ith element in t...
分类:
其他好文 时间:
2015-04-03 21:06:23
阅读次数:
179
命令一: cat 打开输出一个文件的内容,或者拼接两个文件内容并且输出 -n 或 --number 由 1 开始对所有输出的行数编号 -b 或 --number-nonblank 和 -n 相似,只不过对于空白行不编号 -s 或 --squeeze-blank 当遇到有连续两行以上的空白行,...
分类:
系统相关 时间:
2015-04-03 19:07:41
阅读次数:
149
Js中的数据类型:undefined,string,number,boolen,function,object(null,[],{})一、parseInt()和parseFloat()parseInt()方法首先查看位置0处的 字符,判断它是否是个有效数字;如果不是,该方法将返回NaN,不再继续执行...
分类:
编程语言 时间:
2015-04-03 19:02:18
阅读次数:
238
1.mod函数的含义11.mod函数是一个用来求余数函数,返回两数相除的余数。mod函数在Excel中一般不单独使用,经常和其他函数组合起来使用。END2.mod函数的语法格式12.mod函数的语法格式=mod(number,divisor)=mod(被除数,除数)。END3.mod函数基础13.如...
分类:
其他好文 时间:
2015-04-03 18:48:26
阅读次数:
117
ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number
of rows like this: (you may want to display this pattern in a fixed font for better legibility)
...
分类:
其他好文 时间:
2015-04-03 17:31:12
阅读次数:
160