|
|
вернуться в форумCan you explain sample input? How did we get answer 13? The first man has to go 20 to the second and 10 to the third. Avarage distance is 15. The second man has average distance 15, and the third man has average distance 10. And average distance for all is (int)((15+15+10)/3) = 13. Thanks,now I understood it! |
|
|