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:这题也可以爆搜的

Posted by vjudge110 at 2016-03-05 23:00:52 on Problem 2718
In Reply To:这题也可以爆搜的 Posted by:mark1989 at 2009-12-01 19:59:07
> 没想到数学方法,就直接搜了,注意细节,避开long long,否则会超时!
> 时间复杂度3*10^6,960ms水过,很危险。

同暴搜。。
复杂度10!,然而329MS。。。

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