The ANSI C rand() function itself does not generate good random numbers. Let's examine a third code snippet: srandom (time (0)); x=random();.
確定! 回上一頁