Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161066 Kevin 【基础题】长方形面积 C++ Accepted 1 MS 272 KB 155 2026-09-28 16:07:06

Tests(4/4):


Code:

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