正文
增加 3 行删除 3 行
162 行未改动全部展开1631641651661671681691701713 行未改动17517617717817918018118218320 行未改动20420520620720820921021121211 行未改动162 行未改动全部展开res = 0;cout << pos << ' ' << ans << now;for(int i = ans.length() + now.size(); i < b; ++i) putchar(op + '0');cout << endl;cin >> opt;res = (opt[0] == 'y');}void solve(vec<int> id) {3 行未改动for(int i = lim + 1; i <= b; ++i) ans = ans + "0";return;}vec<int> stk(0);string cur = "";print(id[0], "0", 1);cur += (res ? "1" : "0");stk.pb(id[0]);for(int i = 1, p, ok; i < id.size(); ++i) {20 行未改动cur.pop_back();}}}ans += cur;solve(stk);}signed main () {11 行未改动162 行未改动全部展开1631641651661671681691701713 行未改动17517617717817918018118218320 行未改动20420520620720820921021121211 行未改动162 行未改动全部展开res = 0;cout << pos << ' ' << ans << now;for(int i = ans.length() + now.size(); i < b; ++i) putchar(op + '0');cout << endl;cin >> opt;res = (opt[0] == 'y');}void solve(vec<int> id) {3 行未改动for(int i = lim + 1; i <= b; ++i) ans = ans + "0";return;}vec<int> stk(0);string cur = "";print(id[0], "0", 1);cur += (res ? "1" : "0");stk.pb(id[0]);for(int i = 1, p, ok; i < id.size(); ++i) {20 行未改动cur.pop_back();}}}ans += cur;solve(stk);}signed main () {11 行未改动