03 2011 档案
摘要:1 #include 2 usingnamespace std; 3 4 constint max=4; 5 int a[max]; 6 int b[max]={1,2,3,4}; 7 //把十进制转化为二进制 8 void test(int s){ 9 int r,i=0;10 r=...
阅读全文
摘要:1 #include 2 constint size=4; 3 int board[4][4]; 4 5 void ChessBoard(int tr,int tc,int dr,int dc,int size){ 6 int s; 7 if(size==1) 8 return; 9 stat...
阅读全文