摘要: 1 #include 2 #include 3 char a[1000][16]; 4 int b[1000]={0}; 5 int main() 6 { 7 int n,i,j,k,max,loc; 8 while(scanf("%d",&n)!=EOF&&n!=0){ 9 ... 阅读全文
posted @ 2014-10-26 14:04 xcw0754 阅读(185) 评论(0) 推荐(0)
摘要: 1 #include 2 int main(){ 3 int i,t,j,n,x; 4 int start,end,temp,max,sum; 5 scanf("%d",&t); 6 for(i=0;i=max){15 ... 阅读全文
posted @ 2014-10-26 13:49 xcw0754 阅读(169) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #define MAX 1009 4 int main() 5 { 6 char a[MAX]={0},b[MAX]={0}; 7 int n,i,len1,len2,j=0,z=0,r=0,k=0; 8 char *p=... 阅读全文
posted @ 2014-10-26 13:42 xcw0754 阅读(161) 评论(0) 推荐(0)
摘要: 1 #include 2 int main(){ 3 int k,sum; 4 while(scanf("%d",&k)!=EOF){ 5 if(k%2==0){ 6 sum=(1+k)*(k/2); 7 ... 阅读全文
posted @ 2014-10-26 13:16 xcw0754 阅读(128) 评论(0) 推荐(0)