看板 b96902xxx 關於我們 聯絡資訊
學校規定各系要派出一些同學參加11/15上午的校慶 資工單雙班各要派25位同學 所以... #include<stdio.h> #include<stdlib.h> #include<time.h> int main(){ int tm = time(0); srand((unsigned)tm); printf("%d",(1 + rand() % 67)*2 ); return 0; } 強者麻煩幫我看看有沒有問題 如果沒有的話..就用這個抽了喔 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.241.62
Himax:賓爺無條件優先參加 11/04 16:28
※ 編輯: woptspencil 來自: 140.112.241.62 (11/04 16:44)