2017年2月16日
摘要: #include<iostream>using namespace std;int main(){ char a; int n=5,i,j,k; cin>>a; for(i=1;i<=n;i++)//行数 { for(j=n-i;j>0;j--)//空格数 cout<<" "; for(k=1;k< 阅读全文
posted @ 2017-02-16 17:49 hanlulu 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>using namespace std;int main(){ int a,b,c,m=0,s[3]; for(a=1;a<7&&m==0;a++) for(b=0;b<7&&m==0;b++) for(c=1;c<7&&m==0;c++) if((c+b*7+ 阅读全文
posted @ 2017-02-16 00:08 hanlulu 阅读(121) 评论(0) 推荐(0) 编辑