Advertisement
juanjo12x

UVA_10071_Back_To_High_School

Aug 5th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. #include <stdio.h>
  4. #include <algorithm>
  5. #include <cstring>
  6. #include <cctype>
  7. #include <sstream>
  8. #include <stdlib.h>
  9. #include <cmath>
  10. #define LL unsigned long long
  11. using namespace std;
  12.  
  13. int main() {
  14.     int v,t,d;
  15.     while(scanf("%d %d",&v,&t)!=EOF){
  16.         d=2*v*t;
  17.         printf("%d\n",d);
  18.     }
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement