初期: 一、基本算法: (1)枚举(poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法 (4)递推 (5)构造法(poj3295)(这种东西真的只是靠智商) (6)模拟法(poj1068,poj2632,poj1573,poj2993, ...
分类:
其他好文 时间:
2018-12-11 01:42:11
阅读次数:
239
Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27375 Accepted: 16094 Description Let S = s1 s2...s2n be a well-formed string ...
分类:
其他好文 时间:
2017-11-18 16:03:48
阅读次数:
132
Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequence P = p1 p2...pn where pi i ...
分类:
其他好文 时间:
2017-08-19 11:11:44
阅读次数:
185
初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996) ...
分类:
其他好文 时间:
2017-08-04 13:53:32
阅读次数:
141
[poj1068] Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 26686 Accepted: 15645 Description Let S = s1 s2...s2n be a well-form ...
分类:
其他好文 时间:
2017-06-10 00:27:01
阅读次数:
332
初期: 初期: 初期: 一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993 ...
分类:
其他好文 时间:
2017-01-18 01:00:29
阅读次数:
223
#include int b[50]; int a[50]; int w[50]; int main() { int t; scanf("%d",&t); while(t--) { int n; int k=1; int l=0; scanf("%d",&n); for(int i=0;i=0;j-... ...
分类:
其他好文 时间:
2016-12-19 11:19:06
阅读次数:
123
[POJ1068]Parencodings 试题描述 Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequenc ...
分类:
其他好文 时间:
2016-11-26 23:45:04
阅读次数:
207
初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996) ...
分类:
其他好文 时间:
2016-09-19 10:10:05
阅读次数:
192
初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996) ...
分类:
其他好文 时间:
2016-09-09 22:08:13
阅读次数:
236