Monday, 20 June 2016

Uva - 10071 - Back to High School Physics Problem Solution.


Solution:

#include<bits/stdc++.h>
using namespace std;
/*
    *
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/
int main(){
 
 int v,t;
 
 while(scanf("%d %d",&v,&t) == 2)cout << (v*t*2) << endl;
 return 0; 
}

No comments:

Post a Comment