137
中级农民
hahazia 发表于 2021-1-8 15:08 我用了个dictionary, 存unitsize, 和boxes. 然后sort一下,再依次加到结果里。
使用道具 举报
FrankZheng 发表于 2021-1-7 16:03 请问楼主fill the truck 这题用priority queue排序的做法能通过所有test cases吗。 谢谢。
本版积分规则 发表回复 回帖后跳转到最后一页