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 |
Re:大神们,给看看吧!!!测试数据没问题,提交时WA。跪求指导In Reply To:大神们,给看看吧!!!测试数据没问题,提交时WA。跪求指导 Posted by:2010302447 at 2012-07-06 11:20:43 问题出在这句:if(c[m]=='0'); 如果code里面有字母,而后面又碰到'0'的话,你的那个sum函数的调用就会有问题。试试"A0"吧。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator