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 |
核心代码while(cuts--){ scanf("%d %d %d %d",&x01,&y01,&x02,&y02); //gonna cut if(x01>x02){ x01=x01^x02; x02=x01^x02; x01=x01^x02; } if(y01>y02){ y01=y01^y02; y02=y01^y02; y01=y01^y02; } for(i=x01;i<x02;i++){ for(j=y01;j<y02;j++){ map[j][i]|=1<<cuts; } } } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator