| Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Question by Ibrahim Mesecan.
 
 
   Total Distance Traveled Your physics professor is having a problem. 
He wants to see if his odometer is working 
properly. He has taken notes of traveling speeds 
and time traveled with that speed.     Question:
Calculate and show the total 
distance traveled.
  Input specification  You will be first given the number of input (n) where 
0 ≤ n ≤ 5000. Then, in the following n lines, 
you will be given two integers:
 
The time traveled (in minutes) where the time is between 1 and 400The speed (km per hour): an integer between 0 and 200 Output specification  Show a floating point number with two 
digits precision.
 
  | Sample Input 
 
4120 80
 130 40
 35 80
 190 60
 
 | Sample Output 
 
483.33
 |  Explanation:
The car has traveled for (120 minutes) two hours with 
80 km per hour (traveled 160 kms).
Then for 130 minutes, 40 km per hour, etc.
 
 
| Time traveled | Speed | Kms traveled |  | 120 | 80 | 160.0 |  | 130 | 40 | 86.667 |  | 35 | 80 | 46.667 |  | 190 | 60 | 190.0 |  | Total distance | 483.33 | 
 
 Для отправки решений необходимо выполнить вход.
 
 
 |