📅  最后修改于: 2022-03-11 15:04:37.195000             🧑  作者: Mango
#include
#include
srand(time(NULL)); // Initialization, should only be called once.
int r = rand(); // Returns a pseudo-random integer between 0 and RAND_MAX.