太水了。。。簡直可以說是盡次於A+B的水題了。。。
我都不知道如果我WA了我會多丟臉。。。
[cpp]
#include<cstdio>
int main()
{
double sum = 0, m;
while (scanf("%lf", &m) != EOF)
sum += m;
printf("$%.2f\n", sum/12);
return 0;
}
#include<cstdio>
int main()
{
double sum = 0, m;
while (scanf("%lf", &m) != EOF)
sum += m;
printf("$%.2f\n", sum/12);
return 0;
}