2018年2月21日

POJ1222 熄灯问题 穷举

摘要: 一种poj1222 较短的实现,使用的穷举的算法,可能比高斯消元法容易理解一点 c++ include include using namespace std; void an(bool nob[5][6],int y,int x){ nob[y][x]^=1; if(x 0)nob[y][x 1] 阅读全文

posted @ 2018-02-21 15:04 jsdtxm 阅读(106) 评论(0) 推荐(0)

导航