HDU 1027 全排列
摘要:
这是一道排列的题目,北大的程序设计书里面有这道题,讲的挺细的,可以去看看,两种方法/** Author:lonelycatcher* Problem:HDU 1027* Type:全排列*///方法一:/*#include<stdio.h>#include<string.h>#include<cstdlib>#include<algorithm>using namespace std;int n,m;int sequence[1010];int main(){setbuf(stdout,NULL);int i,j,k;while(scanf(&q 阅读全文
posted @ 2011-07-29 12:24 lonelycatcher 阅读(1166) 评论(1) 推荐(0)
浙公网安备 33010602011771号