andy6804tw
7/16/2016 - 9:55 AM

https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=12&problem=1012&mosmsg=Submission+received+

#include<stdio.h>
int main()
{
 int v,t;
 while(scanf("%d%d",&v,&t)!=EOF){ 
 printf("%d\n",2*v*t);
 } 
     return 0;
 
 /* 
    題目:Q10071: Back to High School Physics
    作者:1010
    時間:西元 2016 年 7 月 */
}