UVA 10071

http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1012

回到学校物理,简单的速度乘时间,然后再double,主要要看懂题目

View Code
1 #include<stdio.h>  
2 int main()
3 {
4  int a,b;
5  while(scanf("%d%d",&a,&b)!=EOF)
6      printf("%d\n",2*a*b);
7  return 0;
8 }

 

posted @ 2013-02-19 09:52  执着追求的IT小小鸟  阅读(87)  评论(0编辑  收藏  举报