Submission #2650

#TimeUsernameProblemLanguageResultExecution timeMemory
2650domece고기잡이 (KOI13_fish)C11
18 / 18
136 ms1088 KiB
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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...