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:120K 32MS 比较和谐的暴力破解……

Posted by PhoeniXszx at 2012-03-12 23:26:18 on Problem 1006
In Reply To:120K 32MS 比较和谐的暴力破解…… Posted by:PhoeniXszx at 2012-03-12 23:13:50
大家可以把上面的核心语句在excel里面进行演示~很直观

三列表示三个高峰期的出现日期(a1,b1,c1分别是离起始日期最近的高峰期与起始日期的间距)
=a1+23         =if(a1-b1>=5,b1+28,b1)      =if(b1-c1>=5,c1+33,c1)


然后再来两列计算三个高峰期的间距
=b1-a1          =c1-b1
再用条件格式标记间距为0的单元格
同一行两个都为0的即所求

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