Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
题目表述可能会引起误解。在计算资金时,不管原始资金时多少,题目意思是直接减去commission,得到的差再乘于rate就行。 题中的举例(100 - 0.39) * 29.75 = 2963.3975原始资金恰好是100,而commission范围也恰好是(10^-2,10^2)。因此我开始理解成了利用commission计算一个扣除比率,比如commission=30,那么扣除率就是30%。真是自作聪明Orz。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator