#include<bits/stdc++.h> using namespace std; int main(){ double l,r,v; cin>>l>>r>>v; cout<<"Q:"<<l*r<<endl; cout<<"C:"<<(l+r)*v<<endl; } /************************************************************** Problem: 1958 User: wangyiyang Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/