#include <iostream> #include <iomanip> 
 int main() {     double unitPrice;     int quantity; 
     // 读取商品单价     std::cin >> unitPrice;     // 读取商品数量     std::cin >> quantity; 
     // 计算总金额     int totalAmount = static_cast<int>(unitPrice * quantity); 
     // 输出结果,单价保留两位小数,数量为整数,总金额去掉小数     std::cout << std::fixed << std::setprecision(2) << unitPrice << " " << quantity << " " << totalAmount << std::endl; 
     return 0; }    
/**************************************************************
	Problem: 1703
	User: fuyijun
	Language: C++
	Result: Wrong Answer
****************************************************************/