签名
增加 1 行删除 1 行
1若没有春天,何必在寒冬苦苦挣扎。1不拿 6 狗不改签
个人介绍
增加 1 行删除 23 行
12345678910111213141516171819202122232425262728602 行未改动全部展开```cpp#include<bits/stdc++.h>using namespace std;long long M,N,jl,ans;int main(){cin>>N>>M;jl=M;while(N--){long long A,B,C;cin>>A>>B>>C;jl+=A;if(jl>=B){jl-=B;ans++;}else{jl+=C;}}cout<<ans;return 0;}```https://www.luogu.com.cn/discuss/1357380https://www.luogu.com.cn/discuss/1395033602 行未改动全部展开123456602 行未改动全部展开https://gpt.lovetoome.com/zh-cnhttps://www.luogu.com.cn/discuss/1357380https://www.luogu.com.cn/discuss/1395033602 行未改动全部展开
奖项
增加 1 行删除 0 行
12026 CSP-J 二等奖