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:怎么总是wrong ......啊,小弟附上代码,,,飘过的神仙帮俺看看,谢谢啦In Reply To:怎么总是wrong ......啊,小弟附上代码,,,飘过的神仙帮俺看看,谢谢啦 Posted by:qqqymx at 2010-02-18 16:18:26 x=a[i]+a[j]+a[g]; if(x==sum/2) 你的本意是不是应该为“x=a[i] * (i + 1) + a[j] * (j + 1) + a[g] * (g +1)”? 不然的话,x==sum / 2 几乎没有可能成立! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator