← 返回 openai 的题目列表GPU Credit Calculator
类型:online_judge
Given a list of workloads using GPUs and the GPU time consumed by each workload, calculate the total GPU time consumed. The input is a string formatted as "jobName:time(hours)" with each entry separated by a comma. Output the total GPU time consumed. Assume inputs are correct and without missing values.
Example
Input
job1:2,job2:3.5,job3:1.25