上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
  2015年2月22日
摘要: #include#includechar in[100][260];int main() { int n,lenMIN=260; scanf("%d",&n); getchar(); //【skill】吸收换行符 for(int i=0 ; i=0 ; --i) ... 阅读全文
posted @ 2015-02-22 15:11 Evence 阅读(139) 评论(0) 推荐(0) 编辑
  2015年2月21日
摘要: #include#includetypedef struct STU{ char mID[15]; char mpass[15]; bool tag;}STU;STU arr[1010];int main(){ memset(arr,0,sizeof(arr)); int n,change... 阅读全文
posted @ 2015-02-21 16:21 Evence 阅读(178) 评论(0) 推荐(0) 编辑
摘要: #include#includechar alp[10][10]={"zero","one","two","three","four","five","six","seven","eight","nine"};char str[1200];int main(){ scanf("%s",str); ... 阅读全文
posted @ 2015-02-21 14:54 Evence 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #includeint main(){ int a,b; scanf("%d%d",&a,&b); int sum=a+b; if(sum=0 ; --j) { printf("%d",arr[j]); if(j!=0 && j%3==0) //【思维】用取余的方法逢... 阅读全文
posted @ 2015-02-21 14:26 Evence 阅读(123) 评论(0) 推荐(0) 编辑
摘要: #includeint main(){ int a,b; scanf("%d%d",&a,&b); int sum=a+b; if(sum1000000) //【思维】,两个数字在:-1000000 1000) printf("%d,%d",sum/1000,sum%... 阅读全文
posted @ 2015-02-21 14:09 Evence 阅读(394) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;char g1[99],g2[99],g3[99],g4[99];char alp[7][5]={"MON","TUE","WED","THU","FRI","SAT","SUN"... 阅读全文
posted @ 2015-02-21 12:51 Evence 阅读(488) 评论(0) 推荐(0) 编辑
  2015年2月20日
摘要: #include#include#includeint main(){ char in[90]; gets(in); char save[90][90]; memset(save,0,sizeof(save)); //【warning】memset一下,让最后是0,才不会一直输出“烫烫... 阅读全文
posted @ 2015-02-20 12:56 Evence 阅读(241) 评论(0) 推荐(0) 编辑
  2015年2月19日
摘要: #include#include#includeint main(){ char str[111]; scanf("%s",str); int len=strlen(str); int sum=0; for(int i=0 ; i=0 ; --i) //再讲结果逆序输出,就是正常的顺序了... 阅读全文
posted @ 2015-02-19 23:32 Evence 阅读(515) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeint main(){ int weight[17]={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; char M[15]={'1','0','X','9','8','7','6','5','4','3','2'}; ... 阅读全文
posted @ 2015-02-19 22:55 Evence 阅读(987) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int main(){ char arr[1011]; memset(arr,0,sizeof(arr)); scanf("%s",arr); int len=strlen(arr); ... 阅读全文
posted @ 2015-02-19 16:08 Evence 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页