Sara丶YF的博客

# UVA oj 10071 Back to High School Physics（简单数学）

A particle has initial velocity and acceleration. If its velocity after certain time is v then what will its
displacement be in twice of that time?
Input
The input will contain two integers in each line. Each line makes one set of input. These two integers
denote the value of v (−100 ≤ v ≤ 100) and t (0 ≤ t ≤ 200) (t means at the time the particle gains
that velocity)
Output
For each line of input print a single integer in one line denoting the displacement in double of that time.
Sample Input
0 0
5 12
Sample Output
0

120

#include<cstdio>
using namespace std;

int main()
{
int v,t;
while(~scanf("%d%d",&v,&t))
{
printf("%d\n",2*v*t);
}
return 0;
}


#### POJ 3037 Skiing （搜索 或 spfa）

2017-08-02 18:29:17

#### URAL 2099 Space Invader 计算几何、卡精度、好题

2016-07-28 01:50:29

#### UVA - 10071 Back to High School Physics

2014-07-30 10:34:09

#### 算法竞赛入门经典-前四章-UVa10071 - Back to High School Physics-重温高中物理-难度0

2013-12-17 21:29:01

#### 第七周周赛——字典树 + 线段树 + 树状数组等等（去师大比赛前的最后一场）

2016-04-11 22:04:44

#### UVA10071 Back to High School Physics【水题】

2016-08-15 22:40:21

#### UVA OJ: 10071 - Back to High School Physics

2014-04-15 14:54:16

#### 10071 - Back to High School Physics

2013-11-12 21:13:41

#### UVA - 10071 Back to High School Physics（高中物理）

2014-12-25 11:13:10

#### uva 10071 Back to High School Physics

2012-08-29 15:19:24