refine the number gen script

This commit is contained in:
2025-04-20 21:19:17 +08:00
parent b378873f09
commit 60326938e3

2
lab2/gen_num.sh Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#!/bin/bash
# This is one-liner copied from chatgpt.
shuf -i 0-1000000 -n 1000000 > numbers.txt
shuf -i 1-1000000 -n 1000000 > numbers.txt