赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月13日

摘要: #include #include #include using namespace std; char tiles[22][22]; int used[22][22]; int count, w, h; void countstep(int i, int j) { count ++; if (i > 1 && used[i-1][j] == 0) //向上 { used[i-1][j] = 1; countstep(i-1, j); } if (i 0 && used[i][j-1] == 0) //向左... 阅读全文
posted @ 2012-03-13 17:59 赵乐ACM 阅读(277) 评论(0) 推荐(0)