摘要: A + B Problem TooTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8687Accepted Submission(s): 6543Problem DescriptionThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For exa 阅读全文
posted @ 2013-03-19 20:52 王文城 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 输入事例:1 2 3 43 4 5 76 4 5 41 5 4 3输出事例:1 3 6 12 4 4 53 5 5 41 5 4 3程序:#include<stdio.h>main(){ int a[100][100],i,j,temp; for(i=0;i<4;i++) for(j=0;j<4;j++) scanf("%d",&a[i][j]); for(i=0;i<4;i++) for(j=i;j<4;j++) { if(a[i][j]!=a[j][i]) { temp=a[i][j]; a[i][j]=a[j][i]; a[ 阅读全文
posted @ 2013-03-19 20:08 王文城 阅读(497) 评论(0) 推荐(0) 编辑