提交时间:2026-02-05 21:20:07
运行 ID: 377521
#include<bits/stdc++.h> using namespace std; int main() { double l,w; cin>>l>>w; double p=2*(l+w); double a=l*w; cout<<fixed<<setprecision(2); cout<<p<<endl; cout<<a<<endl; return 0; }