Accepted solution

UVA 10071 - Back to High School Physics Solution in C++

Open original problem
Source code

#include <iostream>

using namespace std;

int main()

{

     int v,t;

    while(cin>>v && cin>>t)

    {

      cout<<v*t*2<<endl;

    }

    return 0;

}
Join the discussion

Add your comment