> 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:34:52  up 1 day  9:50,  2 users,  load average: 0.40, 0.34, 0.41
This commit is contained in:
tracer-ysyx 2024-01-13 09:34:52 +08:00 committed by xinyangli
parent d3f715fb4f
commit b7dbbaeedc

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;