提交时间:2025-07-08 11:35:42

运行 ID: 329744

#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(2)<<1.0*a*b; return 0; }