略去导航.
主页
The image verification code you entered is incorrect.

hi~,想请问一下,轮叫

hi~,想请问一下,轮叫调度算法流程的模拟程序,貌似只能执行一次,在第5行的意思,应该就是i++,但是这个时候你的while条件就不满足了,所以while 就跳出来了。所以,这个程序或者是将while条件变成永真,或者是初始化j的时候就是j=(j+1)mod n,并且do while里面的j=(j+1)mod n移植到return 之后。
n

回复

  • 允许 HTML标签: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 行和段被自动切分。
  • 你可以用[inline:xx] 标记来内嵌显示上传的文件或者图片。
更多格式化选项信息 Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.