标签:包括 vector mis input out double tle 数据包 set
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 25231 Accepted Submission(s): 12966
#include <iostream> #include<math.h> #include <iomanip> #include<cstdio> #include<string> #include<map> #include<vector> #include<list> #include<algorithm> #include<stdlib.h> #include<iterator> #include<sstream> #include<string.h> using namespace std; int main() { string a; double cnt; double money; double res=0; while(cin>>a>>cnt>>money) { res=res+money*cnt; } cout<<fixed<<setprecision(1)<<res<<endl; return 0; }
标签:包括 vector mis input out double tle 数据包 set
原文地址:http://www.cnblogs.com/William-xh/p/6962216.html