#43649: c++解法和思路


yp11351280@yphs.tp.edu.tw (810-43韓睿哲)


總長=(長+寬)*2

#include<iostream>
using namespace std;
int main(){
    int a,b, c;
    while(cin>>a>>b){
        cout<<(a+b)*2<<endl;
    }
}