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 |
这题开始也让我晕了,一定要看清楚题意,他是给了卖的价格+找的钱,所以第二个案例给的钱是70+20,而不是50块钱,后面的朋友不要看错啊推出来实际是M+C-P-C-N=M-P-N表示顾客给的真钱,减去找给他的钱,再减去物品价值就是顾客所失去的钱数 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator