Dravid walks off, sad but proud
Time Limit: 1 sec
The Problem
Rahul Dravid's retirement from international cricket was announced at his home ground, the Chinnaswamy Stadium, in a function room filled with more than 200 people. Family, team-mates, friends, KSCA members, officials and journalists had gathered - as did fans watching a live broadcast on national television - to mark the end of a remarkable career and a "reassuring presence" in the Indian team.
Batting and fielding averages
|
Mat |
Inns |
NO |
Runs |
HS |
Ave |
BF |
SR |
100 |
50 |
4s |
6s |
Ct |
St |
Tests |
164 |
286 |
32 |
13288 |
270 |
52.31 |
31258 |
42.51 |
36 |
63 |
1654 |
21 |
210 |
0 |
ODIs |
344 |
318 |
40 |
10889 |
153 |
39.17 |
15284 |
71.24 |
12 |
83 |
950 |
42 |
196 |
14 |
T20Is |
1 |
1 |
0 |
31 |
31 |
31.00 |
21 |
147.61 |
0 |
0 |
0 |
3 |
0 |
0 |
First-class |
298 |
497 |
67 |
23794 |
270 |
55.33 |
|
|
68 |
117 |
|
|
353 |
1 |
List A |
449 |
416 |
55 |
15271 |
153 |
42.30 |
|
|
21 |
112 |
|
|
233 |
17 |
Twenty20 |
69 |
62 |
6 |
1605 |
75* |
28.66 |
1369 |
117.23 |
0 |
7 |
178 |
25 |
14 |
0 |
In this problem when you know the Rahul’s number of innings (I), number of not out (N) and total run(R) then you can easily calculate the average run of his career.
The Input
Input file contain a series of line, each line contain 3 integer denotes I, N, and R (1<=I<=497, 0<=N<=67, and 0<=R<=23794). Where I, N, and R denote the number of Innings, number of Not out, and total Run respectively.
The Output
For each line of input you have to print the average run rounded to two decimal digits in a line.
Sample Input
286 32 13288
1 0 31
Sample Output
52.31
31.00
Problem Setter: Shahin ShamS