File size: 375 Bytes
c4b0eef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
  >>~~ UVa Online Judge ACM Problem Solution ~~<<

  ID: 10071
  Name: Back to High School Physics
  Problem: https://onlinejudge.org/external/100/10071.pdf
  Language: C++

  Author: Arash Shakery
  Email: [email protected]
*/

#include <stdio.h>
#include <iostream>
using namespace std;

int main(){
    int v, t;
    while(cin>>v>>t)
        cout<<2*v*t<<endl;
}