Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
329745 沈悦 【C1-3】矩形的面积与周长 C++ 解答错误 0 4 MS 244 KB 195 2025-07-08 11:36:21

Tests(0/2):


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


测评信息: