Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
329031 | 孙一铭 | 【C1-3】矩形的面积与周长 | C++ | Accepted | 100 | 2 MS | 240 KB | 137 | 2025-07-08 09:44:36 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; cout<<(a+b)*2<<endl; cout<<a*b; return 0; }