vj1314 作业调度方案

Vj1314 作业调度方案

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
//±ÉÈ˵ķ½·¨ //Ä£Äâ //¶Ôÿ¸ö¹¤¼þµÄ¹¤ÐòÕÒËüËùÔÚ»úÆ÷ÄܳÐÊܵÄ×î¿¿Ç°¿ÕÓàʱ¼ä ÌîÊý×é //×¢Òâ»úÆ÷ÊÇ m ¸ö Êý×é±ð¿ª´íÁË / const maxn=20; maxt=8000; var n,m,ans:integer; order:array[0. .maxn*maxn] of integer; last,fin:array[0. .maxn] of integer; time,mac:array[0. .maxn,0. .maxn] of integer; v:array[0. .maxn,0. .maxt] of boolean; procedure init; var i,j:integer; begin readln(m,n); for i:=1 to m*n do read(order[i]); for i:=1 to n do for j:=1 to m do read(mac[i,j]); for i:=1 to n do for j:=1 to m do read(time[i,j]); end; function check(x,k,t:integer):boolean;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Vj1314 作业调度方案

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online