Pabon_SEC

Back to high school physics

Feb 17th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     long long int v,t,s;
  6.  
  7.     while(scanf("%lld%lld",&v,&t)!=EOF)
  8.     {
  9.         s=2*v*t;
  10.         printf("%lld\n",s);
  11.     }
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment