Created
October 26, 2014 04:16
-
-
Save shohan4556/651cb21171ce5115a44a to your computer and use it in GitHub Desktop.
uva 10071
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------*/ | |
//Problem Setter: Shahriar Manzoor | |
//Uva Problem No: 10071 | |
//Problem Name : Back To The High School Physics | |
//Author : Shohanur Rahaman | |
//University : City University | |
//E-mail : [email protected] | |
//N.B: While Submit the code erase all the coments above | |
/*-----------------------------------------------*/ | |
#include<stdio.h> | |
int main() | |
{ | |
int v,t; | |
while(scanf("%d %d",&v,&t)==2){ | |
if(v>=-100 && v<=100 && t>=0 & t<=200){ | |
printf("%d\n",2*v*t); | |
} | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment