rt。
我代码打炸了,在大数据 WA 掉了,于是去康题解。
结果产生了疑问:
You want to open the next box as quickly as possible. So, you need to earn at least w stars.
at least w stars
题目的意思是至少 www 颗星星吧。
但是我看的几篇题解的可撤销贪心都是直接:
for(i=1;i<=w;i++)
萌新不太懂,只能求助。