题目描述
和745的条件相反
样例
#include<stdio.h>
int main()
{
double M[12][12], sum = 0;
char A;
scanf(" %c", &A);
for(int i = 0; i < 12; i ++)
{
for (int j = 0; j < 12; j ++)
{
scanf("%lf", &M[i][j]);
if(j < i)
sum = sum + M[i][j];
}
}
if(A =='S')
printf("%.1lf",sum);
else
printf("%.1lf",sum/66.0);
return 0;
}