- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 火车进站出站
#include int cont=1; /*全局变量,用于记录所有可能的出栈序列个数*/ void print(int str[],int n); /*求整数序列 str[]从k到 n 的全排列*/ void perm(int str[],int k,int n) {int i,temp; if (k==n-1) print(str,n); else { for (i=k;i{temp=str[
2010-03-12 14:47:00
477
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人