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 tracyOneTwo at 2010-08-17 16:17:29 on Problem 2593
先说注意事项:
1:用while(scanf())来输入首行,否则会output limit exceeded!
2:判断输入N的范围!!
3:时间复杂度一定要O{n},否则,即使该题通过,2479也不能通过!

测试集:
10 -11 -12

-1 2 -3 4 -5 6 -7 8 -9

-1 -2 -3 -4 -5 -6

-1 2

-1 -2 3 -4 -5
如果都能通过就差不多了。

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