标签:int style 杭电 code ble amp ice class price
1 //这题是有多水。。。。。。。 2 #include<stdio.h> 3 char s[100]; 4 int main() 5 { 6 double n,price,sum=0; 7 while(~scanf("%s%lf%lf",s,&n,&price)) 8 sum+=n*price; 9 printf("%.1lf\n",sum); 10 }
标签:int style 杭电 code ble amp ice class price
原文地址:http://www.cnblogs.com/qq188380780/p/6071024.html