自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (1)
  • 收藏
  • 关注

原创 js中,关于使用id和document.getElementById()方法获取dom元素的区别

第一种直接使用id获取dom元素的方法,只能在window这个全局变量中没有以此为名字的属性时才会生效但第二种方法却不会遇到这种问题

2018-05-30 09:29:16 7965

原创 切图中js立即执行函数的引用

如图所示,这是个轮播图,但我没有采用滑的方式显示,我设置了一个定时器,每隔3秒钟切换一次图片,在图片的右下角,有一个说明框,我给说明框里的li标签加了mouseover事件,当鼠标移入时,显示对应图片,并相应文字样式发生变化,为了实现这个功能,我利用立即执行函数,每执行一次都创造一个私有空间,使得每个qie函数都有自己自己相对应的i值,这里要注意qie函数的申明要在立即执行函数里面,这样在每次执行...

2018-05-25 16:44:58 256

原创 from标签使用onsubmit事件进行预判断,满足条件在进行提交操作

页面中的评论提交表单,这里要注意当onsubmit为真是才会提交<form class="comment_form" method="post" action="/HUPU/Showtiezi" onsubmit="return checkSubmit()"> <textarea placeholder="期待你的神评论..." name="p

2018-05-21 16:07:58 1170

原创 再给后台传数据时,时间格式,时分秒的缺失

是因为在给servlet传数据时,没有加双引号

2018-05-19 17:11:59 3471

原创 SQL异常:Operation not allowed after ResultSet closed

一个Statement对象最好对应一个ResultSet对象,否则可能会出现上述错误

2018-05-19 11:02:55 10462 6

原创 C - Function

The shorter, the simpler. With this problem, you should be convinced of this truth.      You are given an array AA of NN postive integers, and MM queries in the form (l,r)(l,r). A function F(l,r) (1≤l...

2018-05-10 23:33:35 276

原创 B - Ball

Jenny likes balls. He has some balls and he wants to arrange them in a row on the table. Each of those balls can be one of three possible colors: red, yellow, or blue. More precisely, Jenny has R red ...

2018-05-10 21:00:40 238

原创 B. Marlin

B. Marlintime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe city of Fishtopia can be imagined as a grid of 44 rows and an odd number of columns. I...

2018-05-09 13:49:47 519 3

原创 Frogger

ZOJ Problem Set - 1942FroggerTime Limit: 2 Seconds      Memory Limit: 65536 KBFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone....

2018-05-08 21:51:50 218

原创 ZOJ Problem Set - 2102 Tables

ZOJ Problem Set - 2102TablesTime Limit: 2 Seconds      Memory Limit: 65536 KBGranny likes dropping around in the neighborhood. She is rather aged so she always carries a stick to assist walking. When ...

2018-05-08 14:44:29 167

原创 D. Colorful Points

D. Colorful Pointstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a set of points on a straight line. Each point has a color assigne...

2018-05-06 19:00:36 219

原创 A-长方体

链接:https://www.nowcoder.com/acm/contest/109/A来源:牛客网长方体时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld题目描述给出共享长方体一个顶点的三个面的面积,求它十二条边的边长和。输入描述:一行三个整数a, b, c表示面积(1 <= a, b, c &lt...

2018-05-05 22:43:44 1408

原创 K - Mahjong Sorting

DreamGrid has just found a set of Mahjong with  suited tiles and a White Dragon tile in his pocket. Each suited tile has a suit (Character, Bamboo or Dot) and a rank (ranging from 1 to ), and there is...

2018-05-04 19:07:03 318

原创 F - Now Loading!!!

Now Loading!!!Time Limit: 1 Second      Memory Limit: 131072 KBDreamGrid has  integers . DreamGrid also has  queries, and each time he would like to know the value offor a given number , where , .Inpu...

2018-05-02 22:59:50 587

原创 A - Peak (第十五届浙江省程序设计竞赛)

A sequence of  integers  is called a peak, if and only if there exists exactly one integer  such that , and  for all , and  for all .Given an integer sequence, please tell us if it's a peak or not.Inp...

2018-05-01 23:29:24 1755

JavaScript权威指南(上)

JavaScript学习宝典,有名的犀牛书,包含详细的js语法

2019-02-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除