Wednesday, July 2, 2014

UVa - 10071 - Back to High School Physics

#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main(){
    int x, y;
    while(cin >> x >> y){
        cout << 2 * x * y << endl;
    }
    return 0;
}

No comments:

Post a Comment