Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <stdio.h>
- #include <algorithm>
- #include <cstring>
- #include <cctype>
- #include <sstream>
- #include <stdlib.h>
- #include <cmath>
- #define LL unsigned long long
- using namespace std;
- int main() {
- int v,t,d;
- while(scanf("%d %d",&v,&t)!=EOF){
- d=2*v*t;
- printf("%d\n",d);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement