标签:
1 2 3
1 1 1
3 2 1
3 7
#include<stdio.h>
int
main()
{
int
a[9];
int
x,y,i;
for
(i=0;i<9;i++)
scanf
(
"%d"
,a+i);
x=a[0]+a[4]+a[8];
y=a[2]+a[4]+a[6];
printf
(
"%d %d\n"
,x,y);
}
标签:
原文地址:http://www.cnblogs.com/SSYYGAM/p/4211295.html