#include<stdio.h> main() { int i,j,sum1=0/*初始化*/,sum2,a[2][2]; for(i=0;i<2;i++) { for(j=0;j<2;j++) { scanf("%d",&a[i][j]); sum1+=a[i][j]; } printf("%d ",sum1); } }