提交时间:2025-07-08 11:36:21
运行 ID: 329745
#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; cout<<fixed<<setprecision(1)<<1.0*(a+b)*2.0<<endl; cout<<fixed<<setprecision(3)<<1.0*a*b; return 0; }