真·简单
#include <bits/stdc++.h> using namespace std; int main() { int a, b; double c, d; cin >> a >> a >> c >> b >> b >> d; printf("VALOR A PAGAR: R$ %.2lf", a * c + b * d); }