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

你用一个int表示坏人的数量,再用一个index代表当前的位置,每次进行取余运算就行了

Posted by Elysium at 2006-07-15 20:34:22 on Problem 1012
In Reply To:Re:高手们,你们的本机程序是怎么写的?我想打表但程序慢得无话说 Posted by:Exile_oi at 2006-07-05 10:52:09
但是这个方法比较慢  我打表用了0ms
这样用了343ms~~~建议用这个方法在本地算好然后打表

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