摘要:
和I一样的。。。不过只输出可能数感觉。。。可能有优化吧。。但是用I的代码过了。。。class Solution {public: bool col[100]; bool d1[100]; // i + j bool d2[100]; // i - j + n int ans; void nque( int n , int dep) { if(dep >= n) { ans ++; return ; } for(int i = 0 ; i < n ; i++... 阅读全文
posted @ 2014-01-11 22:25 1957 阅读(190) 评论(0) 推荐(0)
浙公网安备 33010602011771号