| ||||||||||
| 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 | |||||||||
Re:没有考虑全是负数的情况In Reply To:哪位大侠帮小辈看看哪里错了?555555~~ Posted by:chenhaifeng at 2006-10-02 08:48:32 用
3
-1 -2 -3
试一下
还有
n--;//去掉
for(i=1;i<=n;i++) // i=1;
scanf("%d",&a[i]);
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator