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 tian_xls at 2008-09-09 11:06:01 on Problem 1047
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:
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