链接:click here
题意:
描述
大家一定见过这种题目:给你一些数请找出这些数之间的规律,写出下一个满足该规律的数。
比如:2 5 10 17 26,则可以看出这些数符合n*n+1这个通项公式,则下一个数为37。
这种通项公式不只一个,所以答案是不唯一的。但如果已知了N个数,且已知其通项公式是一个次数小于N的多项式,则答案就唯一确定了。
现在给你一个数列,请找出规律...
分类:
其他好文 时间:
2015-02-25 00:45:45
阅读次数:
327
ajax重新加载后的数据对原来的事件不起作用了,好头疼的比如 在 $(function(){ $(".edit").click(fuction(obj){ alert(1) })})如果重新加入.edit样式,点击不会alert这时用JQUERY的另一个函数 on$("#contentbox...
分类:
Web程序 时间:
2015-02-24 22:12:21
阅读次数:
145
链接:click here
题意:
描述 在多媒体数据处理中,数据压缩算法尤为重要。小媛上完课后就想自己发明一个数据压缩算法。她想呀想,终于想到一个方法。在多媒体数据中有很多数据都是重复的,所以她想把连续相同的数据用数据出现的次数和数据本身表示。例如:1 1 1 2 3 3 3 3 3 压缩后及为3 1 1 2 5 3(表示3个1,1个2和5个3)。有想法后小媛就希望把它用代码实现了...
分类:
其他好文 时间:
2015-02-24 21:00:53
阅读次数:
249
jQuery基本动画效果show()用于显示页面元素与之相对应的hide()测试案例:测试 苹果 橘子 菠萝点击显示$('p').bind("click",function(){ $("ul").show();})点击切换效果$('p').toggle(function(){...
分类:
Web程序 时间:
2015-02-24 18:40:11
阅读次数:
197
Jquery中绑定事件有三种方法,下面是三种方式绑定(1)element.click(function(){});(2)element.bind("click",function(){});(3)element.live("click",function(){});注意第一种方式绑定和之前的差不多,...
分类:
Web程序 时间:
2015-02-24 18:37:17
阅读次数:
205
链接:click here~~
题意:
描述
LK has a question.Coule you help her?
It is the beginning of the day at a bank, and a crowd of clients is already waiting for the entrance door to open.
Once the ban...
分类:
编程语言 时间:
2015-02-24 13:52:25
阅读次数:
210
返回顶部的做法有几种,一种是设置锚,其实就是初学html的时候href='#',这种做法效果有点生硬,没有“滑”上去的感觉,最后用js来实现,而js首选jquery这个便捷的开源库,下面贴上代码1 $('#top').click(function(){2 $(document.body).ani.....
分类:
其他好文 时间:
2015-02-24 13:42:20
阅读次数:
222
//向数据库中新增数据 private void button1_Click_1(object sender, EventArgs e) { SqlConnection conn = new SqlConnection("server=.;database...
分类:
数据库 时间:
2015-02-24 13:42:06
阅读次数:
182
链接:click here
题意:
描述
One day,Jiameier is tidying up the room,and find some coins. Then she throws the coin to play.Suddenly,she thinks of a problem ,that if throw n times coin ,how many situati...
分类:
其他好文 时间:
2015-02-23 23:44:15
阅读次数:
396
链接:click here
题意:
A Simple Problem
时间限制:3000 ms | 内存限制:65535 KB
难度:2
描述You know, just as the title imply, this is a simple problem. In a contest, given the team-id, solved, pena...
分类:
编程语言 时间:
2015-02-23 23:40:36
阅读次数:
325