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 040540120 at 2006-11-17 15:56:48 on Problem 1282
In Reply To:为什么一直WA?高手请进。 Posted by:Csea at 2006-09-14 15:40:41
算法有问题,假设如果第1个人回到1的周期是6,而他如果他第二天也能回到1
那么就应该是 x== 1 mod 6 或者 x==0 mod 6 二者取其中一种可能性

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