摘要: http://poj.org/problem?id=1704看完这个题,一点思路都没有。看的这个blog感觉挺好http://www.cnblogs.com/AndreMouche/archive/2011/03/27/1996762.html把每两个分成一组,每组两个数间的距离看成石子数量,改变这两个石子的距离才会影响局势代码:#include<iostream>#include<cstdio>#include<cstring>#include<cmath>#include<algorithm>#define nMAX 1002us 阅读全文
posted @ 2012-05-09 17:13 快乐. 阅读(137) 评论(0) 推荐(0) 编辑