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 checkoj at 2011-02-27 14:28:24 on Problem 2355
用p1,p2,p3,三个指针维护三种票价的最优点,复杂度O(N)。
然而数据太弱,O(N^2)的算法都能水过。

其次答案应该是longlong类型,但是试了int也过了,还是数据太水。

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