[1.]

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.

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.

View Details

[2.]

Abul and Kuddus are two brothers. Both of them are sell flowers in street. Abul sell the flowers in Mohakhali and Kuddus sell in Shahbag. End of the day Abul earn average 1000 tk. Where Kuddus have only 400. So Kuddus is never earn greater than Abul.

Input

The input contains two numbers in every line. These two numbers in each line denotes the amount of earn Abul and Kuddus or vice versa. The input numbers are not greater than 2^32. Input is terminated by ‘End of File’.

Output

For each line of input, print the difference of amount of Abul and Kuddus. Each output should be in separate line.

View Details

## No comments:

## Post a Comment