正文
增加 1 行删除 1 行
116 行未改动全部展开1171181191201211221231241256 行未改动116 行未改动全部展开else if (opt == 3) {cin >> x;if (pos < x) {cout << "ERROR\n";continue;}int ans = query(1, 1, 1e5, pos - x + 1, pos);if (ans < 0) cout << "OVERFLOW\n";else cout << ans << '\n';6 行未改动116 行未改动全部展开1171181191201211221231241256 行未改动116 行未改动全部展开else if (opt == 3) {cin >> x;if (pos < x) {cout << "ERROR\n";continue;}int ans = query(1, 1, 1e5, pos - x + 1, pos);if (ans < 0) cout << "OVERFLOW\n";else cout << ans << '\n';6 行未改动