cswork / OA打开练习工作台

PayPayOA #2

Calculate Change

估计简单评测数据准备中,可先阅读题面

考点(AI 标注)贪心调度字符串

Given 2 non-negative double numbers first representing price of product

Example 1

Input:

pp = 230.0
cash = 500.0

Output:

"Fifty,One Hundred,One Hundred,Twenty"

Explanation: :O