2016年4月5日
摘要:
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeat
阅读全文
posted @ 2016-04-05 16:52
Beserious
阅读(202)
推荐(0)
摘要:
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "
阅读全文
posted @ 2016-04-05 16:49
Beserious
阅读(206)
推荐(0)
2016年4月3日
摘要:
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all
阅读全文
posted @ 2016-04-03 13:02
Beserious
阅读(185)
推荐(0)
2016年4月2日
摘要:
E. New Reform time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Berland has n cities connec
阅读全文
posted @ 2016-04-02 18:55
Beserious
阅读(239)
推荐(0)
摘要:
D. Bicycle Race time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Maria participates in a b
阅读全文
posted @ 2016-04-02 18:51
Beserious
阅读(234)
推荐(0)
2016年3月30日
摘要:
xiaoxin juju needs help Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1310 Accepted Submission(
阅读全文
posted @ 2016-03-30 20:40
Beserious
阅读(294)
推荐(0)
2016年3月29日
摘要:
C. Bear and Forgotten Tree 3 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Bear and
阅读全文
posted @ 2016-03-29 12:42
Beserious
阅读(272)
推荐(0)
2016年3月28日
摘要:
D. Nested Segments time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given n segme
阅读全文
posted @ 2016-03-28 20:06
Beserious
阅读(214)
推荐(0)
2016年3月26日
摘要:
一个k(1<=k<=80)位的十进制正整数N,就是所谓的大整数.请你设计程序,对于给出的某一个大整数N,找到满足p^3+p^2+3p<=n的p的最大值. 输入格式 输入数据只有一行,是一个K位的大整数N,行首行未无多余空格 输入数据只有一行,是一个K位的大整数N,行首行未无多余空格 输出格式 输出第
阅读全文
posted @ 2016-03-26 20:13
Beserious
阅读(227)
推荐(0)
2016年3月25日
摘要:
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一个N行N列的非负整数方阵,从左上角(1,1)出发,只能向下或向右走,且不能到达值为0的方格,求出一条到达右下角的最佳路径。所谓最佳路径是指途经的
阅读全文
posted @ 2016-03-25 20:21
Beserious
阅读(219)
推荐(0)