Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65139 欧阳槊远 05求长方形的周长和面积 C++ Accepted 2 MS 272 KB 158 2024-01-24 10:42:24

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,m; scanf("%d%d",&n,&m); int c=(n+m)*2 ,b=n*m; cout<<c<<" "<<b; return 0; }