#include<iostream>
using namespace std;
int main() {
//int arr[4][3] = { 100,90,100,90,50,100,60,70,80,70,70,70 };
//for (int a = 0; a < 3; a++) {
// if (a < 3) {
// int num = arr[0][a];
// cout << num << endl;
// }
//}
//cout << "1的分数=" << arr[0][0] + arr[0][1] + arr[0][2] << endl;
//cout << "2的分数=" << arr[1][0] + arr[1][1] + arr[1][2] << endl;
//cout << "3的分数=" << arr[2][0] + arr[2][1] + arr[2][2] << endl;
//cout << "4的分数=" << arr[3][0] + arr[3][1] + arr[3][2] << endl;
int arr[4][3] = {
{41,20,0},
{50,65,4},
{45,92,72},
{54,60,30}
};
for (int i = 0; i < 4; i++) {
int sum = 0;
for (int j = 0; j < 3; j++) {
sum += arr[i][j];
}cout << "第 " << i + 1 << "个人得总分数=" << sum << endl;
}
return 0;
}