#41986: CPP 最簡單 沒有之一


avew.yone@gmail.com (05 5)


簡單 

while (cin >> n) {
        cout << n + n / 2 << endl;
    }
複雜
int a,empty=0;
    while(cin >> a){
        empty=a;
        while(empty/3>0){
            empty-=2;
            a++;
        }
        if(empty==2){
            a++;
        }
        cout << a << endl;
    }