#include #define MAX_SIZE 100 int permute ( int n, int k, int P[] ) { int i, t, np; if (k == n-1) { for (i=0; i