版本比较
题解:P10279 [USACO24OPEN] The 'Winning' Gene S
正文
增加 1 行删除 1 行
77 行未改动78798081828283848586109 行未改动全部展开77 行未改动 while(!st.empty()&&st.back().second>now) st.pop_back(); st.push_back({i,now}); b.set(st.front().first); } t[b.count()]++; t[b.count()]++; } } for(int i = 1;i<=n;i++) write(t[i],'\n'); return 0;109 行未改动全部展开