Commit c0bb337e by doszhang

dos

parent cbcbfb70
...@@ -112,7 +112,7 @@ function randomFlag() { ...@@ -112,7 +112,7 @@ function randomFlag() {
function randomFlagArr(length) { function randomFlagArr(length) {
let arr = Array(length); let arr = Array(length);
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
arr[i] = RandomNumBoth(0, length - 1); arr[i] = RandomNumBoth(0, flag.length - 1);
} }
arr.sort(function (a, b) { arr.sort(function (a, b) {
return a - b; return a - b;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment