main.cc 492 B

1234567891011121314151617181920212223242526272829303132
  1. #include <cstdio>
  2. #include <cstring>
  3. using namespace std;
  4. const int H = 11, W = 11;
  5. const int N = 1 << W;
  6. long long dp[2][N];
  7. int h, w;
  8. bool is_match(int i, int j) {
  9. }
  10. int main() {
  11. while (scanf("%d %d", &h, &w) != EOF) {
  12. if (h == 0 && w == 0) break;
  13. memset(dp, 0, sizeof(dp));
  14. dp[0][(1 << w) - 1] = 1;
  15. int cur = 1;
  16. for (int i = 0; i < h; i++) {
  17. for (int j = 0; j < N; j++) {
  18. for (int k = 0; k < N; k++) {
  19. }
  20. }
  21. }
  22. }
  23. return 0;
  24. }