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:请问这题除了int64还有陷井嘛?wa到死!In Reply To:请问这题除了int64还有陷井嘛?wa到死! Posted by:044100324 at 2007-07-24 16:00:05 if(hei[p]!=-1) res+=(long long)((long long)mp[rr]-(long long)mp[ll])*(long long)hei[p]; 这个地方中间值一定要转成long long计算,想想为什么 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator