← 返回 stripe 的题目列表Transaction Fee & Balance Check
类型:online_judge
Given a ledger, traverse and output all unbalanced accounts (balance not equal to zero). Handle transaction fees. Another problem records the list of rejected transactions.
Example
Input
[{'account': 'A', 'amount': 100, 'fee': 1}, {'account': 'B', 'amount': 200, 'fee': 2}]
Output
['A', 'B']