设有如下程序段:
int a[3][3] = {1,0,2,1,0,2,1,0,1},i,j,s = 0; for(i = 0;i < 3;i++) for(j = 0;j < i;j++) s = s + a[i][j];