uva10071-Back to High School Physics

#include<iostream>
#include<cstdio>
#include<cmath>
typedef long long ll;
using namespace std;
int main()
{   ll v,t;
    while(cin>>v>>t)
    {
        cout<<2*v*t<<endl;
    }
    return 0;
}

你可能感兴趣的:(uva10071-Back to High School Physics)