| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
题目真恶心,我说说注意的事项及测试集先说注意事项:
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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator