Fastest Average Speed Over Any 1000 Meters

A runner's activity is recorded in consecutive 5-second intervals. You are given an array d, where d[i] is the distance in meters covered during the i-th 5-second interval.

Assume the runner mo...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: