请各位大佬们指出我的基数排序错在哪

学术版

@[Razer_System](/user/766788) sizeof(n) 改成 sizeof(int) * (n+3) 之类的
by fast_proton @ 2024-04-17 21:10:54


` memset(hx,-1,sizeof(n));`
by fast_proton @ 2024-04-17 21:11:06


如果你不怕n比较小的时候时间爆炸可以直接sizeof(hx)
by fast_proton @ 2024-04-17 21:11:25


@[fast_proton](/user/302805) 太谢谢了
by Razer_System @ 2024-04-18 10:45:24


|