← 返回 capitalone 的题目列表Implement Bank Account Operations
类型:online_judge
Implement a class that includes deposit, withdraw, and transfer functions. Each function should consider edge cases, such as withdrawing or transferring more than the available balance. Write test cases to validate the functions.
Example
Input
100
50
30