← 返回题库
高级

实现月度餐费结算计算

未完成

示例

输入
solve()
期望输出
Monthly settlement (first 8 employees):
  陈志远(staff): total=202.0 subsidy=204.0 personal=0 orders=21
  李晓燕(staff): total=145.5 subsidy=150.0 personal=0 orders=15
  王浩然(staff): total=219.0 subsidy=180.0 personal=39.0 orders=19
  张雅丽(staff): total=257.5 subsidy=228.0 personal=29.5 orders=25
  刘思远(staff): total=276.5 subsidy=282.0 personal=0 orders=33
  赵美玲(director): total=283.0 subsidy=645.0 personal=0 orders=29
  孙晓峰(staff): total=293.0 subsidy=234.0 personal=59.0 orders=27
  周慧敏(staff): total=347.0 subsidy=246.0 personal=101.0 orders=28
Python 代码 🔒 登录后使用
🔒

登录后即可练习

注册免费账号,在浏览器中直接运行 Python 代码