//1、获取和设置样式$("#tow").attr("class")获取ID为tow的class属性$("#two").attr("class","divClass")设置Id为two的class属性。//2、追加样式$("#two").addClass("divClass2")为ID为two的对象...
分类:
Web程序 时间:
2014-07-29 20:45:02
阅读次数:
272
题目:
Product
The Problem
The problem is to multiply two integers X, Y. (0250)
The Input
The input will consist of a set of pairs of lines. Each line in pair contains one mu...
分类:
其他好文 时间:
2014-07-29 18:03:42
阅读次数:
283
Problem Description
Consider a town where all the streets are one-way and each street leads from one intersection to another. It is also known that starting from an intersection and walking through t...
分类:
其他好文 时间:
2014-07-29 15:09:08
阅读次数:
235
Problem Description
Alice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They take turns to pick up the top or bottom card from...
分类:
其他好文 时间:
2014-07-29 15:03:28
阅读次数:
248
一、对象序列化(存储)
FileOutputStream fileStream = new FileOuputStream("file.ser");
ObjectOutputStream os = new ObjectOutputStream(fileStream);
os.writeObject(one);
os.writeObject(two);
os.close();
当对象被序列...
分类:
其他好文 时间:
2014-07-29 14:47:18
阅读次数:
195
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 30449
Accepted: 13232
Description
Flip game is played on a rectangular 4x4 field with two-sided p...
分类:
其他好文 时间:
2014-07-29 14:33:28
阅读次数:
225
Description
Given two positive integers n and k, you are asked to generate a new integer, say m, by changing some (maybe none) digits of n, such that the following properties holds:
m contains n...
分类:
其他好文 时间:
2014-07-29 14:22:18
阅读次数:
225
A very interesting numeric problem. It involves a lot tricks.Linear search (by +\-) is not feasible - too slow. So binary search is a good idea. Also ...
分类:
其他好文 时间:
2014-07-29 14:02:08
阅读次数:
187
Description
Lele now is thinking about a simple function f(x).
If x
If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10);
And ai(0
Now, I will give a0 ~ a9 and two...
分类:
其他好文 时间:
2014-07-29 13:13:36
阅读次数:
205
Laravel & PHPStorm – the best of the two worlds. Laravel is the most popular PHP web framework today. PHPStorm is the best PHP IDE that money can buy....
分类:
Web程序 时间:
2014-07-29 12:42:06
阅读次数:
309