Skip to content

Commit

Permalink
Update linux_rand.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yimianweishi authored Jul 3, 2021
1 parent 5dcc058 commit 1b819b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux_rand.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def myrand(seed):
# const unsigned int MOD = 0x7ffffffff;
# const long long MOD_MAX = (1LL << 32);
# unsigned int r[700];
# r[0] = 2;
# r[0] = 2; //种子
# for (int i = 1; i < 31; i++)
# {
# r[i] = (16807LL * (signed int)r[i - 1]) % 2147483647;
Expand Down

0 comments on commit 1b819b1

Please sign in to comment.