Compute Roller Coaster Overall Scores (Extensible Rules)
You are given a list of roller coaster description strings. Each string has the format:
<CoasterType> <MaxSpeed> <BumpsPerSecond> <LiftType>
Examples:
"Wooden 4 2 Chain"- `"Steel 20 0 Cable"...
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:
