|
You can explore and write one by yourself
int rand(int k)//The content in the function can be written casually, give full play to your imagination
{
if(k%2 == 0)
{
int sk = k*231219 + 323;
return sk/23%6000;
}
else
{
int sk = k*2312 + 6323;
return sk/21%6000;
}
}
rand(rand(rand(time(null)))); |
|