UVa 10071
(Back To High School Physics)
Problem link: https://uva.onlinejudge.org/external/100/10071.pdf
Solution :
#include<bits/stdc++.h>
using namespace std;
int main()
{
int v,t,i;
for(i=1; scanf("%d %d",&v,&t)!=EOF;i++)
{
printf("%d\n",v*(t*2));
}
return 0;
}
No comments:
Post a Comment