#include #include #include int n; char*** f; int x,y,z; char proper; void jacmat_iteration() { int x1, y1, z1; for(x1=0;x10;k--) { find_zero_cell(); do { jacmat_iteration(); } while(!proper); } } void init() { f = (char***)(malloc(sizeof(char**)*n)); for(x=0;x=3) { sscanf(*++argv,"%d",&n); init(); sscanf(*++argv,"%d",&k); jacmat(k); print(); release(); } else puts ( "Syntax: jacmat \n" "n: the order of Latin square\n" "k: the number of Jacobson-Matthews iterations\n" ); return 0; }