Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164286 屠思宇 【基础题】长方形面积 C++ Accepted 1 MS 272 KB 203 2026-11-01 16:07:42

Tests(4/4):


Code:

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