HDU1027 Ignatius and the Princess II
题目链接 :http://acm.hdu.edu.cn/showproblem.php?pid=1027
这道题可以使用字典序法求全排列
贴一个链接:http://blog.csdn.net/a510218443/article/details/70552778
#include
#include
int n,m,a[1010];
void perm()
原创
2017-08-16 15:04:48 ·
234 阅读 ·
0 评论