題目:
https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=1012
1 2 3 4 5 6 7 8 9 10 11 12
| #include <iostream>
using namespace std;
int main(){ int v, t; while(cin >> v >> t){ cout << 2*v*t << '\n'; } return 0; }
|