依照欲生成的亂數範圍,使用陣列建立表單存放使用資訊(範圍=陣列大小),使用空間換取時間 int main(){ srand(time(NULL)); int i, n, counter[10] = {0}; //將陣列所以 ...
確定! 回上一頁