This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
l,M,x[100],y[100],X,i,c,*P,*Q;main(j,p,q){scanf("%*d%d%d",&l,&M);for(P=x,Q=y;~scanf("%d%d",P++,Q++););for(i=0;i<M;i++){for(j=0;j<M;j++){for(p=1;p<l/2;p++){for(c=q=0;q<M;q++)(x[i]>x[q]||x[q]>x[i]+p||y[j]>y[q]||y[q]>y[j]+l/2-p)||++c>X&&(X=c);}}}printf("%d",X);}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |