版本比较
题解:AT_arc194_e [ARC194E] Swap 0^X and 1^Y
正文
增加 1 行删除 1 行
109 行未改动全部展开11011111211311411511611711853 行未改动109 行未改动全部展开vector<int> t0, t1;vector<int> s_all, t_all;s0.push_back(0), s1.push_back(0);for (int i = 1; i <= n; ++i) {if (s[i] == '0') s0.push_back(i), s_all.push_back(i);if (s[i] == '1') s1.push_back(i), s_all.push_back(i);}53 行未改动109 行未改动全部展开11011111211311411511611711853 行未改动109 行未改动全部展开vector<int> t0, t1;vector<int> s_all, t_all;s0.push_back(0), s1.push_back(0);for (int i = 1; i <= n; ++i) {if (s[i] == '0') s0.push_back(i), s_all.push_back(i);if (s[i] == '1') s1.push_back(i), s_all.push_back(i);}53 行未改动