摘要: #include<stdio.h>#include<iomanip>#include<iostream>#include<cstring>using namespace std;int goback(int);int a[6][6]={{0},{0,0,1,1},{1,1,0,0,1},{0,1,1 阅读全文
posted @ 2016-05-25 16:24 我在四月聆听你的歌声 阅读(192) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>int main(){ int a[6][6]={{0},{0,0,1,1},{1,1,0,0,1},{0,1,1},{1,1,0,1},{0,1,0,0,1}}; int z=0,k=0; for (;k<6;k++) { for (z=0;z<6;z++) pr 阅读全文
posted @ 2016-05-25 15:55 我在四月聆听你的歌声 阅读(102) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>int main(){ bool k[6]={1}; for (int i=0;i<=5;i++) if (k[i]) printf("1"); return 0;} 简单的代码 得知 Bool k 只是最开始的k【0】被赋值给1; 而 其他的均未被赋值 阅读全文
posted @ 2016-05-25 15:40 我在四月聆听你的歌声 阅读(996) 评论(0) 推荐(0) 编辑