#include<iostream>
using namespace std;
int main()
{
char str[50];
double sum,price,n;
sum=0.0;
while(scanf("%s%lf%lf",str,&n,&price)!=EOF)
{
sum=sum+n*price;
}
printf("%.1lf\n",sum);
return 0;
}
hdu 2090 算菜价
最新推荐文章于 2020-01-29 11:33:20 发布