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

我是菜鸟,提示一点(大牛推公式的不要看了,桑心)

Posted by 2004140022 at 2015-09-10 14:52:44 on Problem 1006
首先说说题意:前3个时间是相对于标准时间0的高潮时间点,而第4个时间是相对于标准时间的当前时间,我们要计算的是当前时间之后还要几天能碰在一起。比如24 29 34 0
当前时间为0,3个高潮点分别为24,29,34,嘿嘿,那么一天后,3个高潮点碰在一起了。
暴力搜索的,许多人错在循环条件吧。从d开始到21252+d,,,

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