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:实在没办法了,一直WA,找不到错误,那位大牛来帮帮忙?

Posted by idonotknow at 2009-05-16 18:06:29 on Problem 1182
In Reply To:实在没办法了,一直WA,找不到错误,那位大牛来帮帮忙? Posted by:idonotknow at 2009-05-13 22:10:40
晕,原来是find函数有一点小问题:
加一个变量s1,然后改为
s1=kind[x];
kind[x]=s;
s=(3-s1+s)%3;
就AC了。。。。

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