File size: 203 Bytes
c4b0eef
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>

using namespace std;

int main(){
    int v, t;
    while(true){
        cin >> v >> t;
        if(cin.fail()) break;
        cout << v*t*2 << endl;
    }
    return 0;
}