在做练习的时候也好,做项目的时候也好,我经常会碰到想要的到一个字符串“”里面的东西的这样的需求。 注意,“”里面的东西可以是任何东西[],number等等 于是有了个大神教我一个绝招: 于是世界圆满了... 其实Function就是js的一个内置对象。 这里有个文章讲的挺好的http://www.....
分类:
Web程序 时间:
2014-09-25 20:02:17
阅读次数:
170
vari:Number=60;
functiondaojishi(event:Event):void{
if(i>0){
i--;
if(i<0){
Time.stop();
}
}
varTime:Time=newTime();
Time.addEventListener(Event.ENTER_FRAME,daojishi);
Time.star()
分类:
其他好文 时间:
2014-09-25 18:01:19
阅读次数:
168
(1).SQLDECLAREi NUMBER;TYPE c_type_wip_entity IS TABLE OF wip_entities%ROWTYPE;c_wip_entity c_type_wip_entity;BEGINSELECT *BULK COLLECT INTO c_wip_ent...
分类:
数据库 时间:
2014-09-25 16:51:37
阅读次数:
222
请编写一个多线程程序,实现两个线程,其中一个线程完成对某个对象int成员变量的增加操作,即每次加1,另一个线程完成对该对象成员变量的减操作,即每次减1,同时要保证该变量的值不会小于0,不会大于1,该变量的初始值为0。class Sample { private int number; p...
分类:
编程语言 时间:
2014-09-25 16:43:59
阅读次数:
754
When a file name is deleted from the directory tree, the file name's connection to the inode number is severed. If the file name is the last "link" to...
分类:
其他好文 时间:
2014-09-25 15:42:39
阅读次数:
177
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
分类:
其他好文 时间:
2014-09-25 15:11:49
阅读次数:
209
Team leaderName:宋天舒Student Number:12061166Interested In:Information safety.Responsible For:Design, codes and document.Team membersName:黄敬博Student Numb...
分类:
其他好文 时间:
2014-09-25 13:57:49
阅读次数:
182
题目描述:Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array [2,3,-2,...
分类:
编程语言 时间:
2014-09-25 13:26:28
阅读次数:
281
这其实是两道非常基础和简单地题。但somehow每隔一段时间我老是会不经意地想起这两个问题,有时候卡克没有一下想起解法还会急的直冒汗...................
言归正传,贴出这两题代码
(1)打印斐波拉契数列
// Java program for Fibonacci number using Loop.
public static int fibonac...
分类:
其他好文 时间:
2014-09-25 10:49:28
阅读次数:
221
题目比较长,题意不大好理解
现在把题意抽象一下,大概是以下意思:
1.给2~20的数字中的几个数组成数组a,其中是你可以选择的数字;
2.选择的规则如下:
(1).如果选择了某个数字x,则数组a中是其倍数的数字将被划去;
(2).假如数字n在数组a中,若n-x 的值并不在数组a中,则划去n;
3.当没有数字可以选取时,则此player失败;
4.让你找出先选的player选择哪个数字...
分类:
其他好文 时间:
2014-09-25 09:07:08
阅读次数:
207