Problem A
The Most Distant State
Input: standard input
Output: standard output
The 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square is uncovered. Eac...
分类:
其他好文 时间:
2014-09-12 17:16:43
阅读次数:
203
水题保平安
Red and Black
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 22640
Accepted: 12223
Description
There is a rectangular room, covered with square tiles...
分类:
其他好文 时间:
2014-09-09 16:07:49
阅读次数:
256
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:
其他好文 时间:
2014-09-09 11:38:08
阅读次数:
204
题目如下:
Problem A
The Most Distant State
Input: standard input
Output: standard output
The 8-puzzle is a square tray inwhich eight square tiles are placed. The remaining ninth square is uncove...
分类:
其他好文 时间:
2014-09-07 13:35:55
阅读次数:
284
参考:http://www.w3school.com.cn/cssref/pr_list-style-type.asp设置不同的列表样式:ul.circle {list-style-type:circle;}ul.square {list-style-type:square;}ol.upper-ro...
分类:
Web程序 时间:
2014-09-03 09:32:56
阅读次数:
674
Given n integers you cangenerate 2n-1 non-empty subsets from them. Determine for howmany of these subsets the product of all the integers in that is a perfectsquare. For example for the set {4,6,10,15...
分类:
其他好文 时间:
2014-09-02 15:50:45
阅读次数:
247
Expression in parentheses(), square bracket[], and curly braces{}can span multiple lines.A backslash (\) at the end of the line denotes continuation t...
分类:
编程语言 时间:
2014-09-02 05:51:34
阅读次数:
238
Red and Black
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
There is a rectangular room, covered with square tiles. Each tile i...
分类:
其他好文 时间:
2014-09-01 17:43:43
阅读次数:
264
letshabiNumbers=["prime":[2,3,5,7,11,13],"Fibonacci":[1,1,2,3,4,8],"Square":[1,4,9,16,25],]varlargest=0varbigerkind=0vartemp=0vartag=1;vari=0;vars=""for(kind,numbers)inshabiNumbers{/*fornumberinnumbers{ifnumber>largest{largest=number}}*/fornumberinnumber..
分类:
编程语言 时间:
2014-09-01 15:54:43
阅读次数:
173
Square Coins
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 8307 Accepted Submission(s): 5648
Problem Description
People in Sil...
分类:
其他好文 时间:
2014-08-31 17:18:31
阅读次数:
179