Back to High School Physics
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Some particle starts moving from rest with constant acceleration. After time from the start of the motion, the particle's velocity became . What distance will the particle travel in time ?
Input
Each line is a separate test and contains two integers — the particle's velocity and the time , at which the particle reached this velocity.
Output
For each test, print the distance the particle will move in time on a separate line.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 39%