构造
文章平均质量分 78
CQU_HYX
软件算法专精
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva 12559 Finding Black Circles 解题报告
I - Finding Black Circles Time Limit:10000MS Memory Limit:0KB 64bit IO Format:%lld & %llu 这道题,刘汝佳书上说了解法很多,我百度之,并没有找到任何题解,然后便一直坑之,最后终于坑出来了。 大致的思路就是,枚举圆心p,然后扫长度len(4个方向),如果该半径延伸到的距离原创 2015-08-06 22:33:27 · 1285 阅读 · 0 评论 -
POJ3590,循环群构造(dfs做法)
The shuffle Problem Description Any case of shuffling of n cards can be described with a permutation of 1 to n. Thus there are totally n! cases of shuffling. Now suppose there are 5 cards, and a case原创 2015-09-17 22:48:04 · 605 阅读 · 0 评论
分享