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

如果b、c就满足一个,“再判断学校是否有>=M的队,有的话并且学校队数<3则队数++”,这样条件a有可能会加两次,但事实上每个条件都只能加一次...

Posted by Piao_Polar at 2006-12-09 14:14:31 on Problem 3138
In Reply To:我是先判断是否符合b和c,每符合一个学校队数名额++,再判断学校是否有>=M的队,有的话并且学校队数<3则队数++,最后把所有学校的队加起来 Posted by:arsog at 2006-12-09 10:41:44


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