| ||||||||||
| 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:帮忙看一下!!!!谢谢了!!!!!!In Reply To:Re:帮忙看一下!!!!谢谢了!!!!!! Posted by:chgsh8089 at 2006-04-15 12:13:42 >
> //第几个数开始相等
> for(i=0;i<clen;i++)
> {
> if(a[0]==c[i]+'0') n=i;//第一个与a[0]相等的数可能不是开始cirle的第一个
> //数,个人观点。
> }
终于AC了,多谢 chgsh8089 和 y05wlm ,我觉得这题大多数WA的可能都是没注意到“第一个与a[0]相等的数可能不是开始cirle的第一个数”。 不过我的代码在 acm.fjnu.edu.cn 还是没过,不知什么原因啊。
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator