进食后任 if you get 70 pts
查看原帖
进食后任 if you get 70 pts
1414326
pszyh楼主2025/2/8 16:29

检查一下调用.front()之类的函数是有没有判断.size()>0;

ex: ans=max(ans,i-q.front().t+1);(70 pts);

if(q.size()) ans=max(ans,i-q.front().t+1) (100 pts);

2025/2/8 16:29
加载中...