Run ID:126000
提交时间:2025-07-15 17:08:02
#include<iostream> using namespace std; int main() { int N,M; cin>>N>>M; cout<<2*N+2*M<<" "<<N*M; return 0; }