{"problem":{"name":"064. Gas Cost","description":{"content":"When using an automobile, one often seeks to understand what they will be expected to pay for the usage of gas resources. The cost of driving a certain distance can be calculated based on the miles pe","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269064"},"statements":[{"statement_type":"Markdown","content":"When using an automobile, one often seeks to understand what they will be expected to pay for the usage of gas resources. The cost of driving a certain distance can be calculated based on the miles per gallon(mpg) of the car, the distance traveled, and the cost per gallon currently. Taking in these three values as input, determine the total cost of the trip.\n\nThe first line contains three space-separated floating point values that represent the miles per gallon, distance, and cost per gallon respectively. \n\nOutput a single floating point value that represents the dollar cost of the designated trip.\n\n## Input\n\nThe first line contains three space-separated floating point values that represent the miles per gallon, distance, and cost per gallon respectively. \n\n## Output\n\nOutput a single floating point value that represents the dollar cost of the designated trip.\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ \\text{mpg} \\in \\mathbb{R}^+ $ denote the fuel efficiency in miles per gallon.  \nLet $ d \\in \\mathbb{R}^+ $ denote the distance traveled in miles.  \nLet $ c \\in \\mathbb{R}^+ $ denote the cost per gallon in dollars.  \n\n**Constraints**  \nAll inputs are positive real numbers.  \n\n**Objective**  \nCompute the total cost $ C $ of the trip:  \n$$ C = \\frac{d}{\\text{mpg}} \\cdot c $$","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269064","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}