提交时间:2025-07-08 11:37:18

运行 ID: 329746

#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; cout<<fixed<<setprecision(10)<<1.0*(a+b)*2.0<<endl; cout<<fixed<<setprecision(10)<<1.0*a*b; return 0; }