10071 - Back to High School Physics || UVa Online Judge
Problem name: 10071 - Back to High School Physics
Judge: UVa Online Judge
Problem link: 10071 - Back to High School Physics
Solution on GitHub: 10071 - Back to High School Physics
UVa Online Judge 10071 - Back to High School Physics Solution in C++/Cpp
#include <iostream>
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
cout << 2 * (a * b) << endl;
}
return 0;
}
