討論串[問題] 買書自學,結果書的習題都沒答案,碰到 …
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
先寫一個簡單的,提供你參考. #include "stdafx.h". // 上面 這一行可以殺掉,加入需要的 #include 指令. #include <process.h>. // ----------------------------------------------. int is_p
(還有820個字)
內容預覽:
input n= ?. max= 1;. max_old= max;. for i=2 to n step 1 do begin. if (is_prime(i) == 1) then begin. max_old= max;. max= i;. end;. end;. if (max <= 2)
(還有59個字)
首頁
上一頁
1
下一頁
尾頁