- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 山东省赛-博弈-Game
点击打开题目链接 很明显的一道博弈题目,但是在求SG的时候,子状态写错了,一直都没有AC。最后还是水过去的额;比赛后还是自己写了一遍;# include # include # include using namespace std;int sg[1200];int get(int x){ if(x < 0) return 0; if(s
2015-08-13 09:48:51 658
原创 POJ-3537-Crosses and Crosses
点击打开题目链接 # include # include # include # include using namespace std;int sg[2100];inline int dfs(int x){ if(x < 0) return 0; if(sg[x] >= 0) return sg[x]; int mex[2100]
2015-08-11 08:59:30 690
原创 HUNNU-10307-最优分解问题
点击打开题目连接# include # include # include # include # include using namespace std;int v[4] = {1,10,100,1000},a[100000];struct BigNumber{ int d[1000]; BigNumber() { memset(d,0,si
2015-08-10 17:57:56 901
原创 HDU-1285-拓扑排序-确定比赛名次
点击打开题目链接# include # include # include # include # include # include using namespace std;const int maxn = 500 + 5;vector g[maxn];int n,m,du[maxn],l[maxn];void topsort(){ int tot
2015-08-07 09:33:22 672
原创 滑雪
DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14
2015-08-03 20:29:43 502
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人