// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include #define MAXN 1000 int N, i, j, pieces; int tiling[MAXN][MAXN]; int main() { // uncomment the two following lines if you want to read/write from files // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); assert(1 == scanf("%d", &N)); pieces = 0; // INSERT YOUR CODE HERE printf("%d\n", pieces); for (j = 0; j < N; ++j) { for (i = 0; i < N; ++i) printf("%d ", tiling[j][i]); printf("\n"); } return 0; }