The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2014-08-25 22:27:24
阅读次数:
315
Description
A square root of a number x is a number
r such that r2 = x. A discrete square root of a non-negative integer
x is a non-negative integer
r such that r2
x mod N , 0r <
N , where ...
分类:
其他好文 时间:
2014-08-25 21:10:04
阅读次数:
252
--视图信息 all_viewsselect * from all_views;select text from all_views; --查看view的建立sql--查看oracle版本select * from v$version--查看表结构desc tableName;
分类:
数据库 时间:
2014-08-25 20:46:44
阅读次数:
188
The .Net framework has a number of technologies that allow you to create HTTP services such as Web Service, WCF and now Web API. There are a lot of ar...
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
Java Solutions( Refer to blog
http://blog.csdn.net/mbh_199...
分类:
其他好文 时间:
2014-08-25 19:22:11
阅读次数:
207
http://acm.timus.ru/problem.aspx?space=1&num=1586
题意没看懂,看了别人的翻译。threeprime number的意思是任意三个连续的数组成的一个三位数是素数,注意必须是三位数。给出n,问满足条件的n位数有多少个。
先把三位数的素数筛选出来并标记,设dp[i][j][k]表示到i位为止,最后两位是j和k的满足条件的数的个数。
...
分类:
其他好文 时间:
2014-08-25 19:15:44
阅读次数:
161
Apocalypse Someday
Time Limit: 1000MS
Memory Limit: 131072K
Total Submissions: 1490
Accepted: 686
Description
The number 666 is considered to be the occult “number ...
分类:
其他好文 时间:
2014-08-25 17:07:54
阅读次数:
209
一个XML文件通常包含文件头和文件体两大部分1.文件头XML文件头由XML声明与DTD文件类型声明组成。其中DTD文件类型声明是可以缺少的,关于DTD声明将在后续的内容中介绍,而XML声明是必须要有的,以使文件符合XML的标准规格。在前面的Flowers.xml文件中的第一行代码即为XML声明:&..
分类:
其他好文 时间:
2014-08-25 15:11:25
阅读次数:
259
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-08-25 14:42:24
阅读次数:
138