题解 | #牛牛学矩形#
牛牛学矩形
https://ac.nowcoder.com/acm/contest/18839/1027
#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<(a+b)*2<<endl<<a*b<<endl; }
牛牛学矩形
https://ac.nowcoder.com/acm/contest/18839/1027
#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<(a+b)*2<<endl<<a*b<<endl; }
相关推荐