摘要:
#include <iostream>using namespace std;#define M 5#define N 4int a[M][N] = {0,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,1,0,1,0};int b[M] = {};void genLine(int n){ if (n == M) { for (int i = 0; i < M; i++) { cout<<b[i]<<' '; } cout<<endl; } if (n==0) { for (int j = 0; j < N 阅读全文