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:tiger2008 at 2008-05-25 00:36:59 呵呵粗心了! for(j = 1; j <= lenb; j++){ score[0][j] = score[0][j-1] + dict[4][a[j-1]-'0']; } dict[4][a[j-1]-'0']应该是dict[4][b[j-1]-'0'] Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator