- 博客(7)
- 收藏
- 关注
原创 1096. Consecutive Factors (20)
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3*5*6*7, where 5, 6, and 7 are the three consecutive numbers. Now given
2017-03-01 11:37:44 210
原创 1066. Root of AVL Tree (25)
An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than one, rebalancing is
2017-02-10 10:47:28 205
转载 Java去掉字符串中所有的标签,获取纯文本内容
public class Test { /** * @Title: main * @Description: * @param args * @author * @date 2016年2月17日 * 1、去掉字符串中所有的标签,获取纯文本内容 * 2、获取html节点中img的src路径 */ public static void main(String[
2017-02-09 22:38:45 2729
转载 网页不满屏时,如何让footer固定在底部,网页满屏时,随高度走
footer始终居于底部 * { margin:0; padding:0; } body { font:14px/1.8 arial; } html, body, .wrap { height:100%; } .wrap { height:auto; min-height:100%; _height:100%; background:#CCC; c
2017-02-09 00:58:07 2684
原创 1018. Public Bike Management (30)
There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to any other stations in the
2016-11-29 22:34:43 1048
原创 PAT1015. Reversible Primes (20)
#include using namespace std; bool isPrime(int n) { if(n return false; if(n == 2) return true; if(n % 2 == 0) return false; for(int i = 3; i * i { if(n % i == 0) return false; } r
2016-11-25 23:22:48 268
原创 PAT1091. Acute Stroke (30)
One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions are identified in each MRI slice, your job is to ca
2016-11-25 22:38:00 309
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人