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:谁能帮忙看看是怎么回事么??官方数据都能过,却WA.....加数据了么!!谢谢......In Reply To:谁能帮忙看看是怎么回事么??官方数据都能过,却WA.....加数据了么!!谢谢...... Posted by:yellowflying at 2006-09-03 20:23:34 int judge(point pa,point qb)//judge的声明改为这样,而且代码相应改一下 /*还有 for(j=0;j<n;j++) if(i!=j) if(judge(i,j)) break; 改为*/ for(j=i+1;j<n;j++) { if(judge(p[i],q[j])) break; if(judge(q[i],p[j])) break; } //就可以ac了,之所以wa可能是因为方向问题吧 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator