he input file contains several data cases. Each case has many flight records, each per line. The flight record is in the following format: OriginalCity DistanceCity ActualMiles ClassCode Each case ends with a line of one zero.
请先登录再刷题,不会做的题目右上可以查看题解和答案~
he input file contains several data cases. Each case has many flight records, each per line. The flight record is in the following format: OriginalCity DistanceCity ActualMiles ClassCode Each case ends with a line of one zero.
Output the summary of ACMPerk mileages for each test case, one per line. When calculate bonus, be sure you rounded x.5 up to x+1
Beijing Tokyo 1329 F Shanghai Wuhan 433 Y 0
3158
北京大学机考题