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了n次了

Posted by ArXoR at 2005-03-05 23:35:07 on Problem 2231
In Reply To:那位帮看一下吧 到底哪里错了 wa了n次了 Posted by:waternet at 2005-03-05 23:28:24
程序看得没大懂....
指考虑后面的牛往前喊,f[i]就是第i头牛往前喊的贡献
考虑一下f[i]到f[i+1]的递推就行了

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