You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
267 B
22 lines
267 B
#include <iostream>
|
|
#include <math.h>
|
|
#include <vector>
|
|
#include <utility>
|
|
|
|
using std::vector;
|
|
using std::cout;
|
|
using std::endl;
|
|
using std::cin;
|
|
|
|
int main()
|
|
{
|
|
int v, t;
|
|
|
|
while(cin >> v && cin >> t)
|
|
{
|
|
cout << 2*v*t << endl;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|