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 |
被精度恶心到死了for(int i=0;i<n*2;++i) for(int j=0;j<n*2;++j) area+=mark[i][j]*(sortedx[i+1]-sortedx[i])*(sortedy[j+1]-sortedy[j]); 与 for(int i=0;i<n*2;++i) for(int j=0;j<n*2;++j) if(mark[i][j]) area+=(sortedx[i+1]-sortedx[i])*(sortedy[j+1]-sortedy[j]); 有很大差别吗? 一个ac, 一个wa Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator