vj1057 盖房子

vj1057...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//±ÉÈ˵ķ½·¨ //dp //¹ö¶¯Êý×é / //ºÍ¶þά״̬תÒÆÊý×鲻ͬµÄÊÇ µ±´ËµãΪ 0 Òª¸ø״̬תÒÆÊý×鸳ֵ / const maxn=1000; var n,m,tc,ans:integer; tr:array[0. .maxn] of integer; f:array[boolean,0. .maxn] of integer; function min(x,y,z:integer):integer; begin if (x<=y) and (x<=z) then exit(x); if (y<=x) and (y<=z) then exit(y); exit(z);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.
Ask a homework question - tutors are online