Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:哪位大牛给个可以让我检查出错的数据

Posted by flair00 at 2009-06-23 21:39:36 on Problem 2159
In Reply To:Re:哪位大牛给个可以让我检查出错的数据 Posted by:flair00 at 2009-06-23 21:38:28
……
else if(b[j]=='J')d[9]++;
>    else if(b[j]=='K')d[10]++;
……

这段好暴力………………

其实就d[b[j]-'A']++;就可以了啊………………

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator