Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
12228 | 徐一喆 | 【基础题】长方形面积 | C++ | Accepted | 2 MS | 812 KB | 146 | 2021-05-20 12:36:16 |
#include<bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; printf("%.2lf\n%.2lf",a*b,(a+b)*2); return 0; }