> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 09:32:38  up 1 day  9:48,  2 users,  load average: 0.04, 0.29, 0.41
This commit is contained in:
tracer-ysyx 2024-01-13 09:32:38 +08:00 committed by xinyangli
parent 6988dfddbd
commit 0a571ee71b

View file

@ -47,7 +47,7 @@ void gen_num(void) {
}
void gen_rand_op(void) {
switch(rand() % 4) {
switch(rand() % 3) {
case 0: gen('+'); break;
case 1: gen('-'); break;
case 2: gen('*'); break;