#include <iostream> using namespace std; int main() { double L, R, V; cin >> L >> R >> V; cout << "Q:" << L * R << endl; cout << "C:" << (L + R) * V; return 0; }
#include<bits/stdc++.h> using namespace std; int main() { double l,r,v; cin>>l>>r>>v; cout<<"Q:"<<l*r<<"\nC:"<<(l+r)*v; return 0; }
注册一个 核OJ_核桃编程 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 核OJ_核桃编程 通用账户