提交时间:2026-05-10 16:36:56
运行 ID: 440332
#include <bits/stdc++.h> using namespace std; int main() { long long x, y; cin >> x >> y; if ((x + y) % 2 == 0) cout << (x + y) / 2 << endl; else cout << "IMPOSSIBLE" << endl; return 0; }